feat: create basic layout for new new event page
This commit is contained in:
parent
e372cf6e90
commit
f69d5696a5
4 changed files with 160 additions and 12 deletions
18
src/app/home/new-event/page.tsx
Normal file
18
src/app/home/new-event/page.tsx
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { ThemePicker } from '@/components/user/theme-picker';
|
||||
import { Card, CardContent, CardHeader } from '@/components/ui/card';
|
||||
import EventForm from '@/components/user/event-form';
|
||||
|
||||
export default function NewEvent() {
|
||||
return (
|
||||
<div className='flex flex-col items-center justify-center h-screen'>
|
||||
<div className='absolute top-4 right-4'>{<ThemePicker />}</div>
|
||||
<Card className='w-[80%] max-w-screen p-0 gap-0'>
|
||||
<CardHeader className='p-0 m-0 gap-0' />
|
||||
|
||||
<CardContent>
|
||||
<EventForm />
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue