Skip to content

Commit

Permalink
line height fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nivedin committed Oct 22, 2021
1 parent 730e2ad commit 17f71ea
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
22 changes: 11 additions & 11 deletions components/HeadTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ import Head from "next/head";
const HeadTag = ({ title }) => {
return (
<Head>
<link rel="manifest" href="/manifest.json" />
<meta
name="theme-color"
media="(prefers-color-scheme: light)"
content="#fff"
/>
<meta
name="theme-color"
media="(prefers-color-scheme: dark)"
content="#111"
/>
<title>{title ? `${title} | Nivedin` : "Nivedin"}</title>
<meta
name="description"
Expand Down Expand Up @@ -40,17 +51,6 @@ const HeadTag = ({ title }) => {
<link rel="apple-touch-icon" href="/favicon.ico" />
<meta property="og:image" content="/nivedin_image-min.jpg" />
<meta name="twitter:image" content="/nivedin_image-min.jpg" />
<link rel="manifest" href="/manifest.json" />
<meta
name="theme-color"
media="(prefers-color-scheme: light)"
content="#fff"
/>
<meta
name="theme-color"
media="(prefers-color-scheme: dark)"
content="#111"
/>
</Head>
);
};
Expand Down
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const path = require("path");
module.exports = withPWA({
pwa: {
dest: "public",
disable: false,
register: true,
skipWaiting: true,
},
sassOptions: {
includePaths: [path.join(__dirname, "styles")],
Expand Down
22 changes: 11 additions & 11 deletions pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ class MyDocument extends Document {
return (
<Html>
<Head>
<link rel="manifest" href="/manifest.json" />
<meta
name="theme-color"
media="(prefers-color-scheme: light)"
content="#fff"
/>
<meta
name="theme-color"
media="(prefers-color-scheme: dark)"
content="#111"
/>
<meta
name="description"
content="✌️ Hey, I'm Nivedin P Suryan a Front End Developer working remotely for Digital Vault having 1.5 years of experience in web development,
Expand All @@ -37,17 +48,6 @@ class MyDocument extends Document {
<link rel="apple-touch-icon" href="/favicon.ico" />
<meta property="og:image" content="/nivedin_image-min.jpg" />
<meta name="twitter:image" content="/nivedin_image-min.jpg" />
<link rel="manifest" href="/manifest.json" />
<meta
name="theme-color"
media="(prefers-color-scheme: light)"
content="#fff"
/>
<meta
name="theme-color"
media="(prefers-color-scheme: dark)"
content="#111"
/>
</Head>
<body>
<Main />
Expand Down
5 changes: 5 additions & 0 deletions styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ a {
margin-left: 0;
}
}
.animated-text-2 {
@media (max-width: 600px) {
margin-bottom: 16px;
}
}

.text-letters-1:hover {
transform: translateY(-10px) !important;
Expand Down

1 comment on commit 17f71ea

@vercel
Copy link

@vercel vercel bot commented on 17f71ea Oct 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.