updated login/signup form to shadcn
This commit is contained in:
@@ -24,9 +24,9 @@ export default function EventInfo({ event }: EventProps) {
|
||||
<Card className='py-0'>
|
||||
<CardContent className='p-4'>
|
||||
<h2 className='text-xl font-semibold'>Event Info</h2>
|
||||
<p className='text-sm mt-2'>Nmae: {event.name}</p>
|
||||
<p className='text-sm mt-2'>Name: {event.name}</p>
|
||||
<p className='text-sm'>Date: {event.date ? event.date.toDateString() : 'Upcoming'}</p>
|
||||
<p className='text-sm'>Location: {event.location ? event.location : 'No location yet'}</p>
|
||||
<p className='text-sm'>Location: {event.location ? event.location.name : 'No location yet'}</p>
|
||||
{daysLeft !== null && (
|
||||
<p className='text-sm mt-2 font-medium text-brand-primary-400'>
|
||||
{daysLeft} days until this event!
|
||||
|
||||
Reference in New Issue
Block a user