2022-03-13 01:40:28 -03:00
|
|
|
import styles from '@styles/Home.module.css'
|
|
|
|
import NewPost from '@components/new-post'
|
2022-03-21 20:30:45 -07:00
|
|
|
import Page from '@geist-ui/core/dist/page'
|
2022-03-13 01:40:28 -03:00
|
|
|
import Header from '@components/header'
|
|
|
|
import PageSeo from '@components/page-seo'
|
2022-03-21 20:30:45 -07:00
|
|
|
import type { ThemeProps } from '@lib/types'
|
2022-03-06 17:41:30 -08:00
|
|
|
|
2022-03-21 01:36:31 -07:00
|
|
|
const New = ({ theme, changeTheme }: ThemeProps) => {
|
2022-03-06 16:46:59 -08:00
|
|
|
return (
|
2022-03-07 18:36:36 -08:00
|
|
|
<Page className={styles.container} width="100%">
|
2022-03-13 01:13:35 -03:00
|
|
|
<PageSeo title="Drift - New" />
|
2022-03-06 16:46:59 -08:00
|
|
|
|
2022-03-06 17:41:30 -08:00
|
|
|
<Page.Header>
|
|
|
|
<Header theme={theme} changeTheme={changeTheme} />
|
|
|
|
</Page.Header>
|
2022-03-06 16:46:59 -08:00
|
|
|
|
2022-03-09 01:33:22 -08:00
|
|
|
<Page.Content paddingTop={"var(--gap)"} width={"var(--main-content-width)"} margin="0 auto" className={styles.main}>
|
2022-03-21 20:30:45 -07:00
|
|
|
<NewPost />
|
2022-03-06 16:46:59 -08:00
|
|
|
</Page.Content>
|
|
|
|
</Page >
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2022-03-21 01:36:31 -07:00
|
|
|
export default New
|