Add a way to login to your account on the website
This commit is contained in:
18
src/app/account/page.tsx
Normal file
18
src/app/account/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
'use client'
|
||||
|
||||
import { HomeButton } from '@/app/components/HomeButton'
|
||||
import { DiscordButton } from '@/app/components/DiscordButton'
|
||||
import { getCookie } from '@/util/cookie'
|
||||
|
||||
export default function AccountLoginPage () {
|
||||
return (
|
||||
<div className='box'>
|
||||
<HomeButton />
|
||||
<DiscordButton />
|
||||
<p className={`px-8 -my-2 text-center`}>
|
||||
Nothing on this page yet! You are logged in as{' '}
|
||||
{getCookie('accountUsername', 'N/A')}.
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user