mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-09-19 11:03:52 +00:00
16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
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,
|
|
});
|
|
|
|
function RouteComponent() {
|
|
return <Chessboard />;
|
|
}
|