mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
395 B
TypeScript
22 lines
395 B
TypeScript
"use client"
|
|
|
|
import Header from "@components/header"
|
|
import { Page } from "@geist-ui/core/dist"
|
|
import styles from "@styles/Home.module.css"
|
|
|
|
export default function PageWrapper({
|
|
children
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<Page width={"100%"}>
|
|
<Page.Header>
|
|
<Header />
|
|
</Page.Header>
|
|
|
|
<Page.Content className={styles.main}>{children}</Page.Content>
|
|
</Page>
|
|
)
|
|
}
|