|
1 | 1 | "use client"; |
2 | 2 |
|
3 | | -import { CalendarDays, Clock, ExternalLink } from "lucide-react"; |
| 3 | +import { CalendarDays, Clock } from "lucide-react"; |
4 | 4 | import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; |
5 | 5 |
|
6 | 6 | type ScheduleTrack = "General" | "Hack Track" | "Train Track" | "Workshop" | "Break" | "Un-Conference"; |
@@ -36,8 +36,6 @@ type TimeRange = { |
36 | 36 | const SLOT_MINUTES = 30; |
37 | 37 | const SLOT_HEIGHT_PX = 42; |
38 | 38 | const TIMELINE_BOTTOM_PADDING_PX = 18; |
39 | | -const registrationUrl = "https://humanbrainmapping.org/26Brainhack"; |
40 | | - |
41 | 39 | const parseClock = (value: string) => { |
42 | 40 | const [hour, minute] = value.trim().split(":").map(Number); |
43 | 41 | return hour * 60 + minute; |
@@ -318,24 +316,25 @@ export function ScheduleSection() { |
318 | 316 |
|
319 | 317 | <div className="mb-10 rounded-2xl border border-border bg-card p-6"> |
320 | 318 | <div className="flex flex-col gap-5 md:flex-row md:items-center md:justify-between"> |
321 | | - <div> |
| 319 | + <div className="max-w-2xl"> |
322 | 320 | <div className="flex items-center gap-2 text-sm font-semibold mb-2"> |
323 | 321 | <CalendarDays className="w-4 h-4 text-muted-foreground" /> |
324 | | - Registration is open |
| 322 | + Registration closed on June 1 |
325 | 323 | </div> |
326 | 324 | <p className="text-sm text-muted-foreground"> |
327 | | - Registration for OHBM Brainhack Bordeaux 2026 is now open. |
| 325 | + Due to issues with the current registration system, registration closed earlier than |
| 326 | + expected. For people who contacted us by email, the Brainhack team is working |
| 327 | + internally on a solution for additional spots and will follow up individually by |
| 328 | + email. Thank you for your patience. |
328 | 329 | </p> |
329 | 330 | </div> |
330 | | - <a |
331 | | - href={registrationUrl} |
332 | | - target="_blank" |
333 | | - rel="noopener noreferrer" |
334 | | - className="inline-flex shrink-0 items-center justify-center gap-2 rounded-lg border border-border px-4 py-2 text-sm font-medium transition-colors hover:bg-background" |
| 331 | + <button |
| 332 | + type="button" |
| 333 | + disabled |
| 334 | + className="inline-flex shrink-0 cursor-not-allowed items-center justify-center rounded-lg border border-border bg-muted px-4 py-2 text-sm font-medium text-muted-foreground opacity-80" |
335 | 335 | > |
336 | | - Register for OHBM Brainhack |
337 | | - <ExternalLink className="h-4 w-4" /> |
338 | | - </a> |
| 336 | + Registration Closed |
| 337 | + </button> |
339 | 338 | </div> |
340 | 339 | </div> |
341 | 340 |
|
|
0 commit comments