CoastalCommitsPastes/client/pages/new.tsx

29 lines
725 B
TypeScript
Raw Normal View History

2022-03-13 01:40:28 -03:00
import styles from '@styles/Home.module.css'
import NewPost from '@components/new-post'
import Header from '@components/header'
import PageSeo from '@components/page-seo'
import { Page } from '@geist-ui/core'
import Head from 'next/head'
2022-03-06 17:41:30 -08:00
const New = () => {
2022-03-06 16:46:59 -08:00
return (
2022-03-24 18:03:57 -07:00
<Page className={styles.wrapper}>
2022-03-13 01:13:35 -03:00
<PageSeo title="Drift - New" />
<Head>
2022-03-30 20:03:57 -07:00
{/* TODO: solve this. */}
{/* eslint-disable-next-line @next/next/no-css-tags */}
<link rel="stylesheet" href="/css/react-datepicker.css" />
</Head>
2022-03-06 17:41:30 -08:00
<Page.Header>
<Header />
2022-03-06 17:41:30 -08:00
</Page.Header>
2022-03-06 16:46:59 -08:00
<Page.Content className={styles.main}>
<NewPost />
2022-03-06 16:46:59 -08:00
</Page.Content>
</Page >
)
}
export default New