diff --git a/TODO b/TODO index 2ee3fbe..1f4eb85 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -- favicon and page titles - SEO related things +- favicon / og / json-sd - rearrange buttons / header space - collapse on smaller screens - Lichess login - logger @@ -6,3 +6,4 @@ - bring sections headers on all pages other than home page further up (reduce top margin / padding) - set game current position on game load to ply 0 and whatever the FEN is (starting position probably, but could be custom position) - privacy policy - have no access to anything you generate, only keep a count of success/failed pdf generations with timestamp and error message +- fix SSR related console errors etc diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index a11777c..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..f9ad529 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,44 @@ + + + + + + + + + diff --git a/public/logo192.png b/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/public/logo192.png and /dev/null differ diff --git a/public/logo512.png b/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/public/logo512.png and /dev/null differ diff --git a/public/manifest.json b/public/manifest.json deleted file mode 100644 index 078ef50..0000000 --- a/public/manifest.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "short_name": "TanStack App", - "name": "Create TanStack App Sample", - "icons": [ - { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", - "type": "image/png", - "sizes": "192x192" - }, - { - "src": "logo512.png", - "type": "image/png", - "sizes": "512x512" - } - ], - "start_url": ".", - "display": "standalone", - "theme_color": "#000000", - "background_color": "#ffffff" -} diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 6960b21..13602f5 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -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, diff --git a/src/routes/index.tsx b/src/routes/index.tsx index b092352..1c6ba17 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -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,