diff --git a/shatter-web/src/components/BingoTable.tsx b/shatter-web/src/components/BingoTable.tsx new file mode 100644 index 0000000..9b33770 --- /dev/null +++ b/shatter-web/src/components/BingoTable.tsx @@ -0,0 +1,40 @@ +interface BingoTableProps { + grid: string[][]; + onChange: (row: number, col: number, value: string) => void; +} + +export default function BingoTable({ grid, onChange }: BingoTableProps) { + const size = grid.length; + + return ( +
+ When participants join and make connections, you'll see them here as bubbles with lines between connected people. +
++ See who's here and who's connecting +
+No activity yet
+ ) : ( + effectiveActivity.map((item) => ( ++ {formatTimeAgo(item.timestamp)} +
+{formatDate(selectedEvent.startDate)}
@@ -617,9 +601,7 @@ function DashboardPage() {{formatDate(selectedEvent.endDate)}
@@ -628,9 +610,7 @@ function DashboardPage() {@@ -640,9 +620,7 @@ function DashboardPage() {
{selectedEvent.joinCode}
@@ -656,15 +634,17 @@ function DashboardPage() { {!selectedIcebreaker && (Tips for creating good bingo questions:
Start
@@ -217,20 +332,7 @@ export default function EventPage() { {/* End Date */}End
@@ -328,19 +430,7 @@ export default function EventPage() { className="w-full px-4 py-2.5 rounded-full font-semibold text-white hover:opacity-90 transition-opacity shadow-lg font-body flex items-center justify-center gap-2" style={{ backgroundColor: "#4DC4FF" }} > - +