Skip to content

Commit 20d27c6

Browse files
committed
seo
1 parent a3dde7d commit 20d27c6

File tree

6 files changed

+79
-28
lines changed

6 files changed

+79
-28
lines changed

app/android-chrome-192x192.png

31 KB
Loading

app/android-chrome-512x512.png

164 KB
Loading

app/apple-touch-icon.png

27.7 KB
Loading

app/favicon.ico

15 KB
Binary file not shown.

app/layout.tsx

Lines changed: 58 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,83 @@
1-
import './globals.css'
2-
import type { Metadata } from 'next'
3-
import { SavedProvider } from './saved/SavedContext'
4-
import Navbar from '@/components/Navbar';
5-
import Footer from '@/components/Footer';
1+
import "./globals.css"
2+
import type { Metadata } from "next"
3+
import { SavedProvider } from "./saved/SavedContext"
4+
import Navbar from "@/components/Navbar"
5+
import Footer from "@/components/Footer"
66
import { Analytics } from "@vercel/analytics/react"
77
import { Toaster } from "@/components/ui/toaster"
88
import { SpeedInsights } from "@vercel/speed-insights/next"
9-
import DiscordPromo from '@/components/DiscordPromo';
9+
import DiscordPromo from "@/components/DiscordPromo"
1010

1111
export const metadata: Metadata = {
12-
title: 'Code Gems',
13-
description: 'Welcome to Code Gems - a community-driven platform for discovering and sharing remarkable GitHub projects! The heart of Code Gems is YOU - developers, designers, and tech enthusiasts who know about amazing open-source projects that deserve more visibility.',
14-
keywords: ['github', 'projects', 'code', 'gems', 'programming'],
12+
title: "Code Gems - Discover Remarkable GitHub Projects",
13+
description:
14+
"Welcome to Code Gems - a community-driven platform for discovering and sharing remarkable GitHub projects! Explore amazing open-source projects curated by developers, designers, and tech enthusiasts.",
15+
keywords: ["github", "projects", "code", "gems", "programming", "open-source", "developer tools"],
16+
authors: [{ name: "Bebedi" }],
17+
creator: "Code Gems",
18+
publisher: "Bebedi",
19+
formatDetection: {
20+
email: false,
21+
address: false,
22+
telephone: false,
23+
},
1524
icons: {
1625
icon: [
26+
{ url: "/favicon.ico", sizes: "any" },
27+
{ url: "/icon.png", type: "image/png", sizes: "32x32" },
28+
],
29+
apple: [{ url: "/apple-touch-icon.png", sizes: "180x180", type: "image/png" }],
30+
},
31+
manifest: "/site.webmanifest",
32+
openGraph: {
33+
type: "website",
34+
url: "https://codegems.xyz",
35+
title: "Code Gems - Discover Remarkable GitHub Projects",
36+
description:
37+
"Explore and share amazing open-source projects on Code Gems, a community-driven platform for developers, designers, and tech enthusiasts.",
38+
siteName: "Code Gems",
39+
images: [
1740
{
18-
url: '/icon.png',
19-
sizes: '32x32',
20-
type: 'image/png',
41+
url: "https://codegems.xyz/icon.png",
42+
width: 1200,
43+
height: 630,
44+
alt: "Code Gems - Discover Remarkable GitHub Projects",
2145
},
2246
],
2347
},
24-
openGraph: {
25-
title: 'Code Gems',
26-
description: 'Welcome to Code Gems - a community-driven platform for discovering and sharing remarkable GitHub projects! The heart of Code Gems is YOU - developers, designers, and tech enthusiasts who know about amazing open-source projects that deserve more visibility.',
27-
type: 'website',
48+
robots: {
49+
index: true,
50+
follow: true,
51+
googleBot: {
52+
index: true,
53+
follow: true,
54+
"max-video-preview": -1,
55+
"max-image-preview": "large",
56+
"max-snippet": -1,
57+
},
2858
},
2959
}
3060

31-
3261
export default function RootLayout({
3362
children,
3463
}: {
3564
children: React.ReactNode
36-
}) {
65+
}) {
3766
return (
3867
<html lang="en">
39-
68+
<head>
69+
<link rel="canonical" href="https://codegems.xyz" />
70+
</head>
4071
<body>
41-
<Navbar />
42-
<SavedProvider>
43-
{children}
44-
</SavedProvider>
45-
<DiscordPromo />
46-
<Footer />
47-
<Toaster />
48-
<Analytics />
49-
<SpeedInsights/>
72+
<Navbar />
73+
<SavedProvider>{children}</SavedProvider>
74+
<DiscordPromo />
75+
<Footer />
76+
<Toaster />
77+
<Analytics />
78+
<SpeedInsights />
5079
</body>
5180
</html>
5281
)
5382
}
83+

app/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Code Gems",
3+
"short_name": "CodeGems",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#ffffff",
17+
"background_color": "#ffffff",
18+
"display": "standalone"
19+
}
20+
21+

0 commit comments

Comments
 (0)