theming and structure

This commit is contained in:
briannelson95
2025-06-23 16:38:52 -04:00
parent 1ec8d444f5
commit 23c8f468fe
14 changed files with 123 additions and 109 deletions

View File

@@ -0,0 +1,21 @@
import { queries } from '@/lib/queries'
import Link from 'next/link'
import React from 'react'
export default async function EventsPage() {
const allEvents = await queries.fetchEvents()
console.log(allEvents)
return (
<div>
Events
<div>
{allEvents.length == 0 && (
<>
You don't have any events yet. <Link href={'/events/create'} className='underline'>Create One!</Link>
</>
)}
</div>
</div>
)
}