feat: coming soon

This commit is contained in:
Divlo
2021-10-24 05:48:06 +02:00
parent 21123c4477
commit 33bd2bb6bf
176 changed files with 36858 additions and 22133 deletions

View File

@ -1,24 +0,0 @@
import { Head } from 'components/Head'
import { authenticationFromServerSide } from 'utils/authentication'
import { Application, ApplicationProps } from 'components/Application'
const ApplicationPage: React.FC<ApplicationProps> = (props) => {
return (
<>
<Head title='Thream | Application' />
<Application authentication={props.authentication} guilds={props.guilds}>
<p>Main Content</p>
</Application>
</>
)
}
export const getServerSideProps = authenticationFromServerSide({
shouldBeAuthenticated: true,
fetchData: async (api) => {
const { data } = await api.get('/guilds')
return { guilds: data }
}
})
export default ApplicationPage