-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.tsx
89 lines (82 loc) · 2.94 KB
/
config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
* Header
*
*/
import Head from 'next/head'
const title = 'React Next.js Starter'
const url = 'https://nextjs-alex-template.vercel.app/'
const description =
'The easiest and fastest way to configrue your Next.js project from scratch!'
const author = 'Alex-DG'
const Header = () => {
return (
<>
<Head>
{/* Recommended Meta Tags */}
<meta charSet="utf-8" />
<meta name="language" content="english" />
<meta httpEquiv="content-type" content="text/html" />
<meta name="author" content={author} />
<meta name="designer" content={author} />
<meta name="publisher" content={author} />
{/* Search Engine Optimization Meta Tags */}
<title>{title}</title>
<meta name="description" content={description} />
<meta
name="keywords"
content="Software Engineer,Computer Scientist,Frontent,Next.js,Vercel,Typescript,Jest,styled-components,prettier,eslint"
/>
<meta name="robots" content="index,follow" />
<meta name="distribution" content="web" />
{/*
Facebook Open Graph meta tags
documentation: https://developers.facebook.com/docs/sharing/opengraph */}
<meta name="og:title" content={title} />
<meta name="og:type" content="site" />
<meta name="og:url" content={url} />
<meta name="og:image" content={'/icons/share.png'} />
<meta name="og:site_name" content={title} />
<meta name="og:description" content={description} />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png" />
<link
rel="apple-touch-icon"
sizes="16x16"
href="/icons/favicon-16x16.png"
/>
<link
rel="apple-touch-icon"
sizes="32x32"
href="/icons/favicon-32x32.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/icons/apple-touch-icon.png"
/>
<link rel="manifest" href="/manifest.json" />
<link
rel="mask-icon"
color="#000000"
href="/icons/safari-pinned-tab.svg"
/>
<link rel="apple-touch-startup-image" href="/startup.png" />
{/* Meta Tags for HTML pages on Mobile */}
{/* <meta name="format-detection" content="telephone=yes"/>
<meta name="HandheldFriendly" content="true"/> */}
<meta
name="viewport"
content="width=device-width, minimum-scale=1, initial-scale=1.0"
/>
<meta name="theme-color" content="#000" />
<link rel="shortcut icon" href="/icons/favicon.ico" />
{/*
Twitter Summary card
documentation: https://dev.twitter.com/cards/getting-started
Be sure validate your Twitter card markup on the documentation site.
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@alex_dg_uk" /> */}
</Head>
</>
)
}
export default Header