feat: add BreadcrumbList JSON-LD to game, games, and devices pages (Task 9)
This commit is contained in:
@@ -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) }}
|
||||
/>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: JSON.stringify(
|
||||
buildBreadcrumbList([
|
||||
{ name: "Home", url: "https://deckyvault.xyz" },
|
||||
{ name: "Devices", url: "https://deckyvault.xyz/devices" },
|
||||
]),
|
||||
),
|
||||
}}
|
||||
/>
|
||||
<DevicesPageClient devices={devices} />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user