From d4ff5a26a6ac16a3c225966b526e4a2b82a3ff88 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 25 May 2026 19:39:43 +0800 Subject: [PATCH] feat: add BreadcrumbList JSON-LD to game, games, and devices pages (Task 9) --- app/devices/page.tsx | 12 ++++++++++++ app/game/[id]/page.tsx | 14 +++++++++++++- app/games/page.tsx | 12 ++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/app/devices/page.tsx b/app/devices/page.tsx index 3c7839a..d1753a8 100644 --- a/app/devices/page.tsx +++ b/app/devices/page.tsx @@ -1,6 +1,7 @@ import { db } from "@/lib/db/index" import { hardware, performanceEntries, gameVersions, games } from "@/lib/db/schema" import { eq, sql, desc } from "drizzle-orm" +import { buildBreadcrumbList } from "@/lib/utils/seo" import { DevicesPageClient } from "./page-client" import type { Metadata } from "next" @@ -126,6 +127,17 @@ export default async function DevicesPage() { type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} /> +