Skip to content

Commit 9740cce

Browse files
committed
Update SEO metadata in index.tsx
1 parent 2404e7b commit 9740cce

File tree

1 file changed

+41
-38
lines changed

1 file changed

+41
-38
lines changed

lazyweb-landing-page/components/SEO/index.tsx

+41-38
Original file line numberDiff line numberDiff line change
@@ -14,47 +14,50 @@ export default function SEO({
1414
title = 'Lazyweb Rocks: The ultimate resource for developers',
1515
}: Props) {
1616
const metaData = [
17-
{
18-
name: `description`,
19-
content: 'Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things.',
20-
},
21-
{
22-
property: `og:title`,
23-
content: 'Lazyweb Rocks: The ultimate resource for developers',
24-
},
25-
{
26-
property: `og:description`,
27-
content: 'Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things.',
28-
},
29-
{
30-
property: `og:type`,
31-
content: `website`,
32-
},
33-
{
34-
name: `twitter:card`,
35-
content: `summary`,
36-
},
37-
{
38-
name: `twitter:creator`,
39-
content: 'Dishant Sharma',
40-
},
41-
{
42-
name: `twitter:title`,
43-
content: 'Lazyweb Rocks: The ultimate resource for developers',
44-
},
45-
{
46-
name: `twitter:description`,
47-
content: 'Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things.',
48-
},
17+
4918
].concat(meta);
5019
return (
5120
<Head>
52-
<title>{title}</title>
53-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
54-
<meta charSet="utf-8" />
55-
<link rel="icon" href="assets/favicon.ico" />
56-
<link rel="preconnect" href="https://fonts.googleapis.com" />
57-
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="use-credentials" />
21+
22+
<>
23+
<title>Lazyweb Rocks: The ultimate resource for developers</title>
24+
<meta
25+
name="description"
26+
content="Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things."
27+
/>
28+
<meta property="og:url" content="https://lazyweb.rocks" />
29+
<meta property="og:type" content="website" />
30+
<meta
31+
property="og:title"
32+
content="Lazyweb Rocks: The ultimate resource for developers"
33+
/>
34+
<meta
35+
property="og:description"
36+
content="Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things."
37+
/>
38+
<meta
39+
property="og:image"
40+
content="https://opengraph.b-cdn.net/production/documents/d77cfe8a-7bf5-493e-ae45-e24b06d49180.png?token=XqhxH33yqZ2mus4WtYg-dXQLZZqPTOKJ_5wkQ9HZRNo&height=628&width=1200&expires=33246160075"
41+
/>
42+
<meta name="twitter:card" content="summary_large_image" />
43+
<meta property="twitter:domain" content="lazyweb.rocks" />
44+
<meta property="twitter:url" content="https://lazyweb.rocks" />
45+
<meta
46+
name="twitter:title"
47+
content="Lazyweb Rocks: The ultimate resource for developers"
48+
/>
49+
<meta
50+
name="twitter:description"
51+
content="Find all the tools, libraries, and code snippets you need for your next big project at Lazyweb Rocks. Our collection of useful resources is constantly updated to help you save time and focus on building great things."
52+
/>
53+
<meta
54+
name="twitter:image"
55+
content="https://opengraph.b-cdn.net/production/documents/d77cfe8a-7bf5-493e-ae45-e24b06d49180.png?token=XqhxH33yqZ2mus4WtYg-dXQLZZqPTOKJ_5wkQ9HZRNo&height=628&width=1200&expires=33246160075"
56+
/>
57+
</>
58+
59+
60+
5861
{metaData.map(({ name, content }, i) => (
5962
<meta key={i} name={name} content={content} />
6063
))}

0 commit comments

Comments
 (0)