Update some page titles and descriptions

This commit is contained in:
Jared Schoeny 2025-11-06 10:51:12 -10:00
parent f4f46eec44
commit b0a1ce541f
4 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,14 @@
import Link from "next/link";
import { Suspense } from "react";
import ContactForm from "@/components/Contact/ContactForm";
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Contact",
alternates: {
canonical: "/contact",
},
};
export default function ContactPage() {
return (

View File

@ -2,6 +2,7 @@ import DiscoverBrowser from "@/components/Discover/DiscoverBrowser";
import type { Metadata } from "next";
export const metadata: Metadata = {
description: "Find and download Pokémon romhacks for Game Boy, Game Boy Color, Game Boy Advance, and Nintendo DS.",
alternates: {
canonical: "/discover",
},

View File

@ -40,7 +40,7 @@ export async function generateMetadata({ params }: HackDetailProps): Promise<Met
const author = profile?.username ? `@${profile.username}` : undefined;
const pageUrl = `/hack/${slug}`;
const title = `${hack.title} hack download | A ${baseRomName} ROM fan game`;
const title = `${hack.title} | ROM hack download`;
const description = `Play ${hack.title}, a fan-made Pokémon ROM hack for ${baseRomName}. ${hack.summary}`;
const keywords: string[] = [

View File

@ -19,10 +19,10 @@ const geistMono = Geist_Mono({
export const metadata: Metadata = {
title: {
default: "Hackdex",
default: "Hackdex | Discover and download Pokémon rom hacks",
template: "%s | Hackdex",
},
description: "Discover and download Pokémon rom hacks.",
description: "Use our built-in patcher to download and play Pokémon romhacks for Game Boy, Game Boy Color, Game Boy Advance, and Nintendo DS.",
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL!),
};