add titles and description to pages

This commit is contained in:
2026-06-03 20:31:46 +02:00
parent 9fe1b2043c
commit 70d65cfcfd
4 changed files with 29 additions and 1 deletions
+5
View File
@@ -1,7 +1,12 @@
import { createFileRoute } from "@tanstack/react-router";
import { HOST_URL } from "#/config.ts";
import Chessboard from "#/pages/Chessboard.tsx";
export const Route = createFileRoute("/chessboard")({
head: () => ({
meta: [{ title: "ChessScribe | Chessboard" }],
links: [{ rel: "canonical", href: `${HOST_URL}/chessboard` }],
}),
component: RouteComponent,
});