From a2e94ca328a49a4310754a1038dfe6250cea6588 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 25 May 2026 19:31:38 +0800 Subject: [PATCH] fix: add metadata exports for /compare and /profile pages (Task 4) --- app/compare/layout.tsx | 12 ++++++++++++ app/profile/layout.tsx | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 app/compare/layout.tsx create mode 100644 app/profile/layout.tsx diff --git a/app/compare/layout.tsx b/app/compare/layout.tsx new file mode 100644 index 0000000..96d239c --- /dev/null +++ b/app/compare/layout.tsx @@ -0,0 +1,12 @@ +import type { Metadata } from "next" + +export const metadata: Metadata = { + title: "Compare Games", + description: + "Compare Steam Deck game benchmarks side by side. See FPS, settings, and performance data across multiple titles on DeckyVault.", + alternates: { canonical: "https://deckyvault.xyz/compare" }, +} + +export default function CompareLayout({ children }: { children: React.ReactNode }) { + return children +} \ No newline at end of file diff --git a/app/profile/layout.tsx b/app/profile/layout.tsx new file mode 100644 index 0000000..bf46aa1 --- /dev/null +++ b/app/profile/layout.tsx @@ -0,0 +1,12 @@ +import type { Metadata } from "next" + +export const metadata: Metadata = { + title: "Profile", + description: + "Your DeckyVault profile — saved games, benchmark contributions, and performance history.", + robots: { index: false, follow: false }, +} + +export default function ProfileLayout({ children }: { children: React.ReactNode }) { + return children +} \ No newline at end of file