diff --git a/app/layout.tsx b/app/layout.tsx index a61a613..b206806 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,6 +3,7 @@ import { Montserrat } from "next/font/google"; import "./globals.css"; import { ThemeProvider } from "@/components/theme-provider"; import { Analytics } from "@vercel/analytics/react" +import { generateSchemaMarkup, generateFAQSchema } from "./schema"; const montserrat = Montserrat({ variable: '--font-montserrat', @@ -10,9 +11,46 @@ const montserrat = Montserrat({ }) export const metadata: Metadata = { - title: "ReChrome | Find chrome versions you need.", - description: "ReChrome is an open-sourced project that displays old versions of chrome, ready to be downloaded for various different operating systems.", - keywords: ['chrome', 'rechrome', 'chrome versions', 'versions', 'version', 'old'], + title: "ReChrome - Download Old Chrome Versions | Chrome Version Archive", + description: "Download old Chrome versions for Windows, macOS, and Linux. Access the complete Chrome version history and archive with easy one-click downloads.", + keywords: ['chrome versions', 'download old chrome', 'chrome version history', 'old chrome versions', 'chrome archive', 'legacy chrome', 'chrome downloads', 'rechrome'], + metadataBase: new URL(process.env.NEXT_PUBLIC_URL || "https://rechrome.vercel.app/"), + openGraph: { + title: "ReChrome - Download Old Chrome Versions", + description: "Find and download any Chrome version you need. Complete archive with one-click downloads for all operating systems.", + url: "/", + siteName: "ReChrome", + type: "website", + images: [ + { + url: "/og-image.png", + width: 1200, + height: 630, + alt: "ReChrome - Download Old Chrome Versions", + }, + ], + }, + twitter: { + card: "summary_large_image", + title: "ReChrome - Download Old Chrome Versions", + description: "Find and download any Chrome version you need. Complete Chrome version archive.", + creator: "@itzcodex24", + images: ["/og-image.png"], + }, + robots: { + index: true, + follow: true, + googleBot: { + index: true, + follow: true, + "max-snippet": -1, + "max-image-preview": "large", + "max-video-preview": -1, + }, + }, + alternates: { + canonical: "/", + }, }; export default function RootLayout({ @@ -22,6 +60,20 @@ export default function RootLayout({ }>) { return ( +
+ + + diff --git a/app/schema.ts b/app/schema.ts new file mode 100644 index 0000000..ed7f1aa --- /dev/null +++ b/app/schema.ts @@ -0,0 +1,73 @@ +export function generateSchemaMarkup() { + return { + "@context": "https://schema.org", + "@type": "WebApplication", + "name": "ReChrome", + "description": "Download old Chrome versions for Windows, macOS, and Linux. Access the complete Chrome version history and archive.", + "url": "https://rechrome.vercel.app/", + "applicationCategory": "UtilityApplication", + "offers": { + "@type": "Offer", + "price": "0", + "priceCurrency": "USD" + }, + "author": { + "@type": "Person", + "name": "itzcodex24", + "url": "https://x.com/itzcodex24" + }, + "creator": { + "@type": "Organization", + "name": "ReChrome Contributors" + }, + "sourceOrganization": { + "@type": "Organization", + "name": "ReChrome", + "url": "https://rechrome.vercel.app/" + }, + "operatingSystem": ["Windows", "macOS", "Linux"], + "inLanguage": "en-US", + "isAccessibleForFree": true + }; +} + +export function generateFAQSchema() { + return { + "@context": "https://schema.org", + "@type": "FAQPage", + "mainEntity": [ + { + "@type": "Question", + "name": "What is ReChrome?", + "acceptedAnswer": { + "@type": "Answer", + "text": "ReChrome is an open-source project that provides easy access to old Chrome versions for download. Stop digging through the internet to find specific Chrome versions." + } + }, + { + "@type": "Question", + "name": "Can I download old Chrome versions?", + "acceptedAnswer": { + "@type": "Answer", + "text": "Yes! ReChrome provides direct downloads to the official Chrome version archive. All download links are public and come from Google's official sources." + } + }, + { + "@type": "Question", + "name": "What operating systems are supported?", + "acceptedAnswer": { + "@type": "Answer", + "text": "ReChrome supports Windows, macOS, and Linux. You can download old Chrome versions for any of these operating systems." + } + }, + { + "@type": "Question", + "name": "Is ReChrome affiliated with Google?", + "acceptedAnswer": { + "@type": "Answer", + "text": "No, ReChrome is not affiliated with Google. It is an open-source project that provides convenient access to Chrome versions from Google's official archive." + } + } + ] + }; +} diff --git a/app/sitemap.ts b/app/sitemap.ts new file mode 100644 index 0000000..e0919d6 --- /dev/null +++ b/app/sitemap.ts @@ -0,0 +1,14 @@ +import { MetadataRoute } from 'next'; + +export default function sitemap(): MetadataRoute.Sitemap { + const baseUrl = process.env.NEXT_PUBLIC_URL || 'https://rechrome.vercel.app/'; + + return [ + { + url: baseUrl, + lastModified: new Date(), + changeFrequency: 'daily', + priority: 1, + }, + ]; +} diff --git a/package.json b/package.json index 18cee82..5278c98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rechrome", - "version": "0.2.0", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev --turbopack", diff --git a/public/og-image.png b/public/og-image.png new file mode 100644 index 0000000..8e27ae6 Binary files /dev/null and b/public/og-image.png differ diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..80e4275 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,43 @@ +# ReChrome - Chrome Version Archive +# https://rechrome.vercel.app/ + +User-agent: * +Allow: / +Disallow: + +# Sitemap +Sitemap: https://rechrome.vercel.app/sitemap.xml + +# Crawl delay (optional - set reasonable delays) +Crawl-delay: 1 + +# Specific bots +User-agent: Googlebot +Allow: / +Crawl-delay: 0 + +User-agent: Bingbot +Allow: / +Crawl-delay: 1 + +User-agent: Slurp +Allow: / + +User-agent: DuckDuckBot +Allow: / + +User-agent: Baiduspider +Allow: / + +User-agent: Yandexbot +Allow: / + +# Block bad bots +User-agent: MJ12bot +Disallow: / + +User-agent: AhrefsBot +Disallow: / + +User-agent: SemrushBot +Disallow: /