mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 09:56:57 +00:00
add titles and description to pages
This commit is contained in:
+18
-1
@@ -1,7 +1,24 @@
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import { HOST_URL } from "#/config.ts";
|
||||
import Home from "#/pages";
|
||||
|
||||
export const Route = createFileRoute("/")({ component: App });
|
||||
export const Route = createFileRoute("/")({
|
||||
head: () => ({
|
||||
meta: [
|
||||
{ title: "ChessScribe | Home" },
|
||||
{
|
||||
name: "description",
|
||||
content: "Create PDFs of your chess games from a PGN file",
|
||||
},
|
||||
{
|
||||
name: "keywords",
|
||||
content: "chess, pgn, pdf, chess games, chess notation",
|
||||
},
|
||||
],
|
||||
links: [{ rel: "canonical", href: HOST_URL }],
|
||||
}),
|
||||
component: App,
|
||||
});
|
||||
|
||||
function App() {
|
||||
return <Home />;
|
||||
|
||||
Reference in New Issue
Block a user