CoastalCommitsPastes/client/pages/mine.tsx

27 lines
856 B
TypeScript
Raw Normal View History

2022-03-06 19:46:59 -05:00
import Head from 'next/head'
import styles from '../styles/Home.module.css'
import { Page } from '@geist-ui/core'
import Header from '../components/header'
import MyPosts from '../components/my-posts'
const Home = ({ theme, changeTheme }: { theme: "light" | "dark", changeTheme: () => void }) => {
return (
2022-03-07 21:36:36 -05:00
<Page className={styles.container} width="100%">
2022-03-06 19:46:59 -05:00
<Head>
<title>Drift</title>
<meta name="description" content="A self-hostable clone of GitHub Gist" />
<link rel="icon" href="/favicon.ico" />
</Head>
<Page.Header>
<Header theme={theme} changeTheme={changeTheme} />
</Page.Header>
<Page.Content paddingTop={"var(--gap)"} width={"var(--main-content-width)"} margin="0 auto" className={styles.main}>
2022-03-09 20:11:37 -05:00
<MyPosts />
2022-03-06 19:46:59 -05:00
</Page.Content>
</Page >
)
}
export default Home