add favicon, update root layout with meta description etc

This commit is contained in:
2026-06-03 20:39:21 +02:00
parent 70d65cfcfd
commit ad4d9ab12c
8 changed files with 59 additions and 37 deletions
+12
View File
@@ -21,12 +21,24 @@ export const Route = createRootRoute({
{
title: "ChessScribe",
},
{
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: "stylesheet",
href: appCss,
},
{
rel: "icon",
href: "/favicon.svg",
},
],
}),
shellComponent: RootDocument,
+1 -11
View File
@@ -4,17 +4,7 @@ import Home from "#/pages";
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",
},
],
meta: [{ title: "ChessScribe | Home" }],
links: [{ rel: "canonical", href: HOST_URL }],
}),
component: App,