Add numbering to attendees list and style the title

Update styling for the key attendees section title to be centered, larger, and bolder. Add a numbering column to the key attendees table.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 68c08cb0-3e5d-40e9-b8bc-df7ff1b2fd8d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/ZgwFc55
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
Replit Agent
2026-07-09 08:41:04 +00:00
parent b9b9b37636
commit 146de91640
+9 -1
View File
@@ -1279,7 +1279,7 @@ export default function ProtocolPage() {
))} ))}
</div> </div>
<div> <div>
<div className="px-4 pt-2.5 pb-1.5 text-[11px] font-semibold text-slate-400"> <div className="px-4 pt-3 pb-2 text-center text-sm font-bold text-slate-800">
{t("protocol.bookings.keyAttendees")} {t("protocol.bookings.keyAttendees")}
</div> </div>
{b.keyAttendees && b.keyAttendees.length > 0 ? ( {b.keyAttendees && b.keyAttendees.length > 0 ? (
@@ -2495,6 +2495,9 @@ function AttendeesTable({
<Table> <Table>
<TableHeader> <TableHeader>
<TableRow className="border-b border-slate-200 bg-slate-100/80 hover:bg-slate-100/80"> <TableRow className="border-b border-slate-200 bg-slate-100/80 hover:bg-slate-100/80">
<TableHead className="h-10 w-10 whitespace-nowrap px-4 text-center text-xs font-bold uppercase tracking-wide text-slate-600">
#
</TableHead>
{(["name", "position", "side"] as const).map((col) => ( {(["name", "position", "side"] as const).map((col) => (
<TableHead <TableHead
key={col} key={col}
@@ -2511,6 +2514,11 @@ function AttendeesTable({
key={i} key={i}
className="border-b border-slate-100 last:border-b-0 even:bg-slate-50/60" className="border-b border-slate-100 last:border-b-0 even:bg-slate-50/60"
> >
<TableCell className="w-10 px-4 py-2.5 text-center">
<span className="mx-auto flex h-6 w-6 items-center justify-center rounded-full bg-slate-100 text-xs font-semibold text-slate-600">
{i + 1}
</span>
</TableCell>
<TableCell className="px-4 py-2.5 text-center font-medium text-slate-700"> <TableCell className="px-4 py-2.5 text-center font-medium text-slate-700">
{a.name || "—"} {a.name || "—"}
</TableCell> </TableCell>