Skip to content

Commit e883237

Browse files
authored
Merge pull request #54 from dvm-shlee/main
Update registration closure notice
2 parents cdf4142 + da5ee6d commit e883237

2 files changed

Lines changed: 17 additions & 23 deletions

File tree

src/components/hero-section.tsx

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
"use client";
22

3-
import { MapPin, Calendar, Clock, ExternalLink } from "lucide-react";
3+
import { MapPin, Calendar, Clock } from "lucide-react";
44
import Image from "next/image";
55
import { useEffect, useState, useRef } from "react";
66

77
const basePath = process.env.NODE_ENV === "production" ? "/hackathon2026" : "";
8-
const registrationUrl = "https://humanbrainmapping.org/26Brainhack";
9-
108
interface NeuralNetworkProps {
119
className?: string;
1210
scrollProgress?: number;
@@ -388,13 +386,10 @@ export function HeroSection() {
388386
</div>
389387

390388
<a
391-
href={registrationUrl}
392-
target="_blank"
393-
rel="noopener noreferrer"
394-
className="mb-6 inline-flex items-center gap-2 rounded-full bg-primary px-7 py-3 text-sm font-semibold text-primary-foreground shadow-[0_0_28px_rgba(255,255,255,0.18)] transition-opacity hover:opacity-85 md:mb-7"
389+
href="#schedule"
390+
className="mb-6 inline-flex items-center rounded-full bg-muted px-7 py-3 text-sm font-semibold text-muted-foreground shadow-[0_0_28px_rgba(255,255,255,0.12)] transition-opacity hover:opacity-85 md:mb-7"
395391
>
396-
Registration
397-
<ExternalLink className="h-4 w-4" />
392+
Registration Closed (Click for Details)
398393
</a>
399394

400395
<p className="text-muted-foreground text-xs md:text-sm tracking-widest uppercase mb-3">

src/components/schedule-section.tsx

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { CalendarDays, Clock, ExternalLink } from "lucide-react";
3+
import { CalendarDays, Clock } from "lucide-react";
44
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
55

66
type ScheduleTrack = "General" | "Hack Track" | "Train Track" | "Workshop" | "Break" | "Un-Conference";
@@ -36,8 +36,6 @@ type TimeRange = {
3636
const SLOT_MINUTES = 30;
3737
const SLOT_HEIGHT_PX = 42;
3838
const TIMELINE_BOTTOM_PADDING_PX = 18;
39-
const registrationUrl = "https://humanbrainmapping.org/26Brainhack";
40-
4139
const parseClock = (value: string) => {
4240
const [hour, minute] = value.trim().split(":").map(Number);
4341
return hour * 60 + minute;
@@ -318,24 +316,25 @@ export function ScheduleSection() {
318316

319317
<div className="mb-10 rounded-2xl border border-border bg-card p-6">
320318
<div className="flex flex-col gap-5 md:flex-row md:items-center md:justify-between">
321-
<div>
319+
<div className="max-w-2xl">
322320
<div className="flex items-center gap-2 text-sm font-semibold mb-2">
323321
<CalendarDays className="w-4 h-4 text-muted-foreground" />
324-
Registration is open
322+
Registration closed on June 1
325323
</div>
326324
<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.
328329
</p>
329330
</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"
335335
>
336-
Register for OHBM Brainhack
337-
<ExternalLink className="h-4 w-4" />
338-
</a>
336+
Registration Closed
337+
</button>
339338
</div>
340339
</div>
341340

0 commit comments

Comments
 (0)