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,20 +1,7 @@
import Head from "next/head";
import { CustomPage } from "@/pages/_app";
const Home: CustomPage = () => {
return (
<>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<h1>Hello world.</h1>
</>
);
return <h1>Hello world.</h1>;
};
export default Home;