Skip to content

Commit 49749fa

Browse files
committed
Refactor layout and add navigation links for event sections
1 parent 508a66a commit 49749fa

File tree

1 file changed

+47
-3
lines changed

1 file changed

+47
-3
lines changed

src/App.tsx

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,56 @@ function App() {
1010
<canvas id="background" class="fixed inset-0 w-screen h-screen" />
1111

1212
{/* Content */}
13-
<div class="fixed inset-0 flex text-white">
14-
<section class="m-auto flex flex-col gap-5 justify-center items-center">
13+
<div class="relative min-h-screen text-white">
14+
{/* Hero section */}
15+
<section class="flex flex-col gap-5 items-center py-20 pt-40">
1516
<h1 class="font-bold text-6xl lg:text-8xl font-serif text-white">NixCon 2025</h1>
1617
<p class="text-3xl">📍 Rapperswil-Jona, 🇨🇭</p>
17-
<p class="mt-20">stay tuned</p>
18+
19+
<nav class="flex flex-wrap gap-6 mt-8 font-bold text-xl">
20+
<a href="#location" class="hover:text-gray-300 transition-colors">Location</a>
21+
<a href="#tickets" class="hover:text-gray-300 transition-colors">Tickets</a>
22+
<a href="#coc" class="hover:text-gray-300 transition-colors">CoC</a>
23+
<a href="#faq" class="hover:text-gray-300 transition-colors">FAQ</a>
24+
<a href="#chat" class="hover:text-gray-300 transition-colors">Chat</a>
25+
<a href="#schedule" class="hover:text-gray-300 transition-colors">Schedule</a>
26+
</nav>
1827
</section>
28+
29+
{/* Content sections */}
30+
<div class="w-full max-w-md mx-auto space-y-32 pb-16">
31+
<section id="location" class="flex flex-col items-center">
32+
<h2 class="text-4xl font-bold font-serif mb-8">Location</h2>
33+
<p class="text-center">Join us in Rapperswil-Jona, Switzerland for NixCon 2025!</p>
34+
</section>
35+
36+
<section id="tickets" class="flex flex-col items-center">
37+
<h2 class="text-4xl font-bold font-serif mb-8">Tickets</h2>
38+
<p class="text-center">Ticket information coming soon!</p>
39+
</section>
40+
41+
<section id="coc" class="flex flex-col items-center">
42+
<h2 class="text-4xl font-bold font-serif mb-8">Code of Conduct</h2>
43+
<p class="text-center">Our community guidelines and code of conduct will be available soon.</p>
44+
</section>
45+
46+
<section id="faq" class="flex flex-col items-center">
47+
<h2 class="text-4xl font-bold font-serif mb-8">FAQ</h2>
48+
<p class="text-center">Frequently asked questions will be posted here.</p>
49+
</section>
50+
51+
<section id="chat" class="flex flex-col items-center">
52+
<h2 class="text-4xl font-bold font-serif mb-8">Chat</h2>
53+
<p class="text-center">Join our community chat to connect with other attendees!</p>
54+
</section>
55+
56+
<section id="schedule" class="flex flex-col items-center">
57+
<h2 class="text-4xl font-bold font-serif mb-8">Schedule</h2>
58+
<p class="text-center">Conference schedule will be announced soon.</p>
59+
</section>
60+
</div>
61+
62+
1963
</div>
2064
</>
2165
)

0 commit comments

Comments
 (0)