Skip to content

Commit bac9519

Browse files
committed
Add blog link to NavBar and update SEO tags
1 parent 11bea23 commit bac9519

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const NavBar = (props: Props) => {
1313
element?.scrollIntoView({ behavior: "smooth" })
1414
}
1515

16+
const handleGoToBlog = () => {
17+
window.location.href = "https://lazyweb.rocks/blog"
18+
}
19+
1620

1721
return (
1822
<div className="w-[100vw] z-[10] sticky top-0 flex justify-center">
@@ -23,6 +27,7 @@ const NavBar = (props: Props) => {
2327
<div className="md:flex hidden gap-[2rem]">
2428
<p onClick={() => handleClick('feature')} className="text-white cursor-pointer">Features</p>
2529
<p onClick={() => handleClick('services')} className="text-white cursor-pointer">Services</p>
30+
<p onClick={() => handleGoToBlog()} className="text-white cursor-pointer">Blog</p>
2631
</div>
2732
<button onClick={handleGoto} className="bg-white md:flex items-center justify-center hidden font-medium text-gray rounded-lg px-[20px] h-[40px] whitespace-nowrap">Launch App</button>
2833
</div>

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

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ export default function SEO({
5454
name="twitter:image"
5555
content="https://opengraph.b-cdn.net/production/documents/d77cfe8a-7bf5-493e-ae45-e24b06d49180.png?token=XqhxH33yqZ2mus4WtYg-dXQLZZqPTOKJ_5wkQ9HZRNo&height=628&width=1200&expires=33246160075"
5656
/>
57+
{/* conical tag */}
58+
<link rel="canonical" href="https://lazyweb.rocks" />
59+
{/* robots */}
60+
<meta name="robots" content="index, follow" />
61+
5762
</>
5863

5964

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11

22
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
3-
<url>
4-
<loc>https://lazyweb.rocks/</loc>
5-
<changefreq>daily</changefreq>
6-
<lastmod> 2023-12-26</lastmod>
7-
</url>
8-
</urlset>
3+
<url>
4+
<loc>https://lazyweb.rocks/</loc>
5+
<changefreq>daily</changefreq>
6+
<lastmod>2023-12-26</lastmod>
7+
</url>
8+
<url>
9+
<loc>https://lazyweb.rocks/blog</loc>
10+
<changefreq>daily</changefreq>
11+
<lastmod>2024-04-08</lastmod>
12+
</url>
13+
</urlset>

0 commit comments

Comments
 (0)