feat: add seo title and favicon respecting basePath

This commit is contained in:
Mathias Schopmans
2024-02-13 11:44:03 +01:00
committed by Mathias Schopmans
parent 57d7e85331
commit 554607a58d
7 changed files with 36 additions and 21 deletions

View File

@@ -1,14 +1,13 @@
import Head from "next/head";
import { formatTitle } from "@/lib/format";
import { CustomPage } from "@/pages/_app";
const HelpAndAbout: CustomPage = () => {
return (
<>
<Head>
<title>Help and About</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<title>{formatTitle("Help and About")}</title>
</Head>
<h1>Help and about</h1>