Skip to content

Commit e23c56c

Browse files
committed
add author, description, canonical, open graph & twitter meta information
1 parent 8137ce3 commit e23c56c

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

components/Heading.tsx

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,46 @@ import Head from "next/head";
33
export default function Heading() {
44
return (
55
<Head>
6-
<title>EditorSetup</title>
7-
<link rel="icon" href="/favicon.ico" />
6+
{/* Meta */}
7+
<meta charSet="UTF-8" />
8+
<meta name="author" content="Ahmed Abu Qahf" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
810
<meta
911
name="description"
1012
content="Explore multiple font and theme pairings for Visual Studio Code that
1113
just work!"
1214
/>
15+
<meta name="keywords" content="VS Code, Theme, Font" />
16+
<meta name="robots" content="index, follow" />
17+
18+
{/* Links */}
19+
<link rel="icon" href="/favicon.ico" />
20+
<link rel="canonical" href="https://editorsetup.vercel.app" />
21+
22+
{/* Open Graph */}
23+
<meta property="og:title" content="EditorSetup" />
24+
<meta
25+
property="og:description"
26+
content="Explore multiple font and theme pairings for Visual Studio Code that
27+
just work!"
28+
/>
29+
<meta property="og:url" content="https://editorsetup.vercel.app" />
30+
<meta property="og:image" content="/img/og-image.png" />
31+
32+
{/* Twitter */}
33+
<meta name="twitter:card" content="summary_large_image" />
34+
<meta name="twitter:site" content="https://editorsetup.vercel.app" />
35+
<meta name="twitter:creator" content="Ahmed Abu Qahf" />
36+
<meta name="twitter:title" content="EditorSetup" />
37+
<meta
38+
name="twitter:description"
39+
content="Explore multiple font and theme pairings for Visual Studio Code that
40+
just work!"
41+
/>
42+
<meta name="twitter:image" content="/img/og-image.png" />
43+
44+
{/* Title */}
45+
<title>EditorSetup</title>
1346
</Head>
1447
);
1548
}

0 commit comments

Comments
 (0)