diff options
author | polwex <polwex@sortug.com> | 2025-05-29 15:54:51 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-29 15:54:51 +0700 |
commit | 7de09570c0d7907424c30f492207e80ff69e4061 (patch) | |
tree | 5f0971b9eeac9e1cc6506954843093b6b77ebd63 /src/pages/_layout.tsx | |
parent | 84c5b778039102a77b7fda2ddcab2bbf70085bdc (diff) |
very pretty
Diffstat (limited to 'src/pages/_layout.tsx')
-rw-r--r-- | src/pages/_layout.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 7f6a434..c19c1fb 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -1,9 +1,7 @@ import "../styles.css"; import type { ReactNode } from "react"; - -import { Header } from "../components/header"; -import { Footer } from "../components/footer"; +import { getContextData } from "waku/middleware/context"; type RootLayoutProps = { children: ReactNode }; @@ -11,10 +9,10 @@ export default async function RootLayout({ children }: RootLayoutProps) { const data = await getData(); return ( - <div className="font-['Nunito']"> + <div className="font-sans antialiased"> <meta name="description" content={data.description} /> <link rel="icon" type="image/png" href={data.icon} /> - <main className="m-6 items-center *:min-h-64 *:min-w-64 lg:m-0 lg:min-h-svh lg:justify-center"> + <main className="min-h-screen"> {children} </main> </div> |