diff options
Diffstat (limited to 'src/pages/_layout.tsx')
-rw-r--r-- | src/pages/_layout.tsx | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 6d227c9..7f6a434 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -1,9 +1,9 @@ -import '../styles.css'; +import "../styles.css"; -import type { ReactNode } from 'react'; +import type { ReactNode } from "react"; -import { Header } from '../components/header'; -import { Footer } from '../components/footer'; +import { Header } from "../components/header"; +import { Footer } from "../components/footer"; type RootLayoutProps = { children: ReactNode }; @@ -14,19 +14,17 @@ export default async function RootLayout({ children }: RootLayoutProps) { <div className="font-['Nunito']"> <meta name="description" content={data.description} /> <link rel="icon" type="image/png" href={data.icon} /> - <Header /> - <main className="m-6 flex items-center *:min-h-64 *:min-w-64 lg:m-0 lg:min-h-svh lg:justify-center"> + <main className="m-6 items-center *:min-h-64 *:min-w-64 lg:m-0 lg:min-h-svh lg:justify-center"> {children} </main> - <Footer /> </div> ); } const getData = async () => { const data = { - description: 'An internet website!', - icon: '/images/favicon.png', + description: "An internet website!", + icon: "/images/favicon.png", }; return data; @@ -34,6 +32,6 @@ const getData = async () => { export const getConfig = async () => { return { - render: 'static', + render: "static", } as const; }; |