Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improved SEO #1851

Merged
merged 5 commits into from
Jul 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<head>
<meta name="title" content="ProjectHut-Learn.Build.Share" />
parasss19 marked this conversation as resolved.
Show resolved Hide resolved
<meta
name="description"
content="ProjectsHut is an open source web app that enables users to freely publish their projects and create user profiles within the platform "
parasss19 marked this conversation as resolved.
Show resolved Hide resolved
/>
<meta name="language" content="en" />
<meta name="keywords" content="ProjectHut, projects, educational resources, wide range of projects, high-quality projects, React, Nodejs , javascript, open source, contribution , learners" />
<meta name="author" content="Priyankar Pal" />
<meta name="robots" content="index, follow" />
<meta name="revisit-after" content="7 days" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{/* Open Graph meta tags for website preview */}
<meta property="og:title" content={metadata.title} />
<meta property="og:description" content={metadata.description} />
<meta property="og:url" content="https://projectshut.vercel.app/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="ProjectHut" />
{/* Twitter meta tags for website preview */}
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content={metadata.title} />
<meta property="twitter:description" content={metadata.description} />
<meta property="twitter:image" content="" /> {/* Replace with the actual preview image URL */}
parasss19 marked this conversation as resolved.
Show resolved Hide resolved
</head>
<body className={inter.className} suppressHydrationWarning={true}>
<Navbar />

Expand Down
Loading