import Link from 'next/link'; import { getCurrentUser } from '@/lib/session'; import { redirect } from 'next/navigation'; import { THEMES } from '@/lib/themes'; export default async function HomePage() { const user = await getCurrentUser(); if (user) redirect('/dashboard'); return (

E-Invite

Create beautiful themed online invitations, collect RSVPs, and share a single link with everyone you're inviting.

Get started Log in
{THEMES.map((theme) => (
{theme.emoji} {theme.name}
))}
); }