Skip to content

Commit

Permalink
Add blog link to NavBar and update SEO tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dishant0406 committed Apr 8, 2024
1 parent b54a942 commit e514229
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
5 changes: 5 additions & 0 deletions lazyweb-landing-page/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const NavBar = (props: Props) => {
element?.scrollIntoView({ behavior: "smooth" })
}

const handleGoToBlog = () => {
window.location.href = "https://lazyweb.rocks/blog"
}


return (
<div className="w-[100vw] z-[10] sticky top-0 flex justify-center">
Expand All @@ -23,6 +27,7 @@ const NavBar = (props: Props) => {
<div className="md:flex hidden gap-[2rem]">
<p onClick={() => handleClick('feature')} className="text-white cursor-pointer">Features</p>
<p onClick={() => handleClick('services')} className="text-white cursor-pointer">Services</p>
<p onClick={() => handleGoToBlog()} className="text-white cursor-pointer">Blog</p>
</div>
<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>
</div>
Expand Down
5 changes: 5 additions & 0 deletions lazyweb-landing-page/components/SEO/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ export default function SEO({
name="twitter:image"
content="https://opengraph.b-cdn.net/production/documents/d77cfe8a-7bf5-493e-ae45-e24b06d49180.png?token=XqhxH33yqZ2mus4WtYg-dXQLZZqPTOKJ_5wkQ9HZRNo&height=628&width=1200&expires=33246160075"
/>
{/* conical tag */}
<link rel="canonical" href="https://lazyweb.rocks" />
{/* robots */}
<meta name="robots" content="index, follow" />

</>


Expand Down
17 changes: 11 additions & 6 deletions lazyweb-landing-page/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@

<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">
<url>
<loc>https://lazyweb.rocks/</loc>
<changefreq>daily</changefreq>
<lastmod> 2023-12-26</lastmod>
</url>
</urlset>
<url>
<loc>https://lazyweb.rocks/</loc>
<changefreq>daily</changefreq>
<lastmod>2023-12-26</lastmod>
</url>
<url>
<loc>https://lazyweb.rocks/blog</loc>
<changefreq>daily</changefreq>
<lastmod>2024-04-08</lastmod>
</url>
</urlset>

0 comments on commit e514229

Please sign in to comment.