Skip to content

Commit c904fa9

Browse files
committed
Refactor hero section layout and adjust text sizes for improved readability
1 parent 5639031 commit c904fa9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/App.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ function App() {
1212
{/* Content */}
1313
<div class="relative min-h-screen text-white">
1414
{/* Hero section */}
15-
<section class="flex flex-col gap-5 items-center py-20 pt-40">
16-
<h1 class="font-bold text-6xl lg:text-8xl font-serif text-white">NixCon 2025</h1>
17-
<div class="flex flex-col gap-2 items-center text-2xl">
15+
<section class="flex flex-col gap-5 items-center py-12 pt-24 md:py-20 md:pt-40 px-4">
16+
<h1 class="font-bold text-5xl md:text-6xl lg:text-8xl font-serif text-white text-center">NixCon 2025</h1>
17+
<div class="flex flex-col gap-2 items-center text-lg md:text-2xl">
1818
<p class="flex items-center gap-2">
19-
<span class="text-3xl">🗺️</span>
19+
<span class="text-2xl md:text-3xl">🗺️</span>
2020
Rapperswil-Jona, Switzerland
2121
</p>
2222
<p class="flex items-center gap-2">
23-
<span class="text-3xl">🗓️</span>
23+
<span class="text-2xl md:text-3xl">🗓️</span>
2424
September 15-17, 2025
2525
</p>
2626
</div>
2727

28-
<nav class="flex flex-wrap gap-6 mt-8 font-bold text-xl">
28+
<nav class="flex flex-wrap justify-center gap-4 md:gap-6 mt-6 md:mt-8 font-bold text-lg md:text-xl px-2">
2929
<a href="#location" class="hover:text-gray-300 transition-colors">Location</a>
3030
<a href="#tickets" class="hover:text-gray-300 transition-colors">Tickets</a>
3131
<a href="#coc" class="hover:text-gray-300 transition-colors">CoC</a>
@@ -36,7 +36,7 @@ function App() {
3636
</section>
3737

3838
{/* Content sections */}
39-
<div class="w-full max-w-md mx-auto space-y-32 pb-16">
39+
<div class="w-full max-w-md mx-auto space-y-20 md:space-y-32 pb-16 px-4">
4040
<section id="location" class="flex flex-col items-center gap-5">
4141
<h2 class="text-4xl font-bold font-serif">Location</h2>
4242
<p class="text-center">Join us in Rapperswil-Jona, Switzerland for NixCon 2025!</p>

0 commit comments

Comments
 (0)