This commit is contained in:
eric
2026-03-16 10:40:49 -05:00
parent 14b0cd2429
commit 3e73917ad1
2 changed files with 16 additions and 2 deletions

View File

@@ -14,11 +14,25 @@ interface JoinStats {
const MOCK_JOINERS = RECENT_JOINERS.slice(0, 3);
type SessionTag = keyof typeof SESSION_TAGS;
interface SessionItem {
id: string;
type: "skill-exchange" | "side-hustle" | "loft" | "light-chat";
title: string;
date: string;
time: string;
place: string;
city: string;
coverImage?: string;
tags?: readonly SessionTag[];
}
export default function SessionCard({
session,
index,
}: {
session: (ReturnType<typeof getSessionsWithDates>)[0];
session: SessionItem;
index: number;
}) {
const [stats, setStats] = useState<JoinStats | null>(null);