Skip to content

Commit 48ec756

Browse files
committed
Refactor accommodation sections on hotels page
- Wrap camping, community, and assistance sections in styled boxes - Add descriptive text to community and assistance sections - Improve visual separation and clarity for accommodation options
1 parent 93f9b3f commit 48ec756

File tree

1 file changed

+50
-35
lines changed

1 file changed

+50
-35
lines changed

src/routes/hotels.jsx

Lines changed: 50 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -135,45 +135,60 @@ export default function Hotels() {
135135
</For>
136136
</div>
137137

138-
<div class="mt-6 text-center">
139-
<h3 class="text-xl font-bold mb-4">Camping</h3>
140-
<div class="flex flex-col justify-center items-center gap-4">
141-
<p>
142-
There is a camping area in the town of Jona which is close to the conference venue.
143-
Unfortunately the website does not provide any information in English.
144-
</p>
145-
<a
146-
href="https://www.rapperswil-jona.ch/naherholungimfreien/7647"
147-
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
148-
>
149-
<FaSolidLink />
150-
Camping Information
151-
</a>
152-
138+
{/* Additional Accommodation Information */}
139+
<div class="w-full space-y-8 mt-12">
140+
{/* Camping Section */}
141+
<div class="p-6 bg-white/10 backdrop-blur-lg rounded-xl border border-white/20">
142+
<h3 class="text-xl font-bold mb-4 text-center">Camping</h3>
143+
<div class="flex flex-col justify-center items-center gap-4">
144+
<p class="text-center max-w-2xl">
145+
There is a camping area in the town of Jona which is close to the conference venue.
146+
Unfortunately the website does not provide any information in English.
147+
</p>
148+
<a
149+
href="https://www.rapperswil-jona.ch/naherholungimfreien/7647"
150+
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
151+
>
152+
<FaSolidLink />
153+
Camping Information
154+
</a>
155+
</div>
153156
</div>
154-
<h3 class="text-xl font-bold mb-4">Community</h3>
155-
<div class="flex flex-col justify-center items-center gap-4">
156-
<a
157-
href="https://matrix.to/#/#nixcon-accommodation:nixos.org"
158-
target="_blank"
159-
rel="noopener noreferrer"
160-
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
161-
>
162-
<FaSolidComments />
163-
Join our Matrix room to coordinate accommodation
164-
</a>
165157

158+
{/* Community Section */}
159+
<div class="p-6 bg-white/10 backdrop-blur-lg rounded-xl border border-white/20">
160+
<h3 class="text-xl font-bold mb-4 text-center">Community</h3>
161+
<div class="flex flex-col justify-center items-center gap-4">
162+
<p class="text-center max-w-2xl">
163+
Connect with other attendees to coordinate shared accommodation options.
164+
</p>
165+
<a
166+
href="https://matrix.to/#/#nixcon-accommodation:nixos.org"
167+
target="_blank"
168+
rel="noopener noreferrer"
169+
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
170+
>
171+
<FaSolidComments />
172+
Join our Matrix room to coordinate accommodation
173+
</a>
174+
</div>
166175
</div>
167-
<h3 class="text-xl font-bold mb-4">Need Accommodation Assistance?</h3>
168176

169-
<div class="flex flex-col justify-center items-center gap-4">
170-
<a
171-
href="mailto:nixcon@nixos.org"
172-
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
173-
>
174-
<FaSolidLink />
175-
Contact us at nixcon@nixos.org
176-
</a>
177+
{/* Assistance Section */}
178+
<div class="p-6 bg-white/10 backdrop-blur-lg rounded-xl border border-white/20">
179+
<h3 class="text-xl font-bold mb-4 text-center">Need Accommodation Assistance?</h3>
180+
<div class="flex flex-col justify-center items-center gap-4">
181+
<p class="text-center max-w-2xl">
182+
If you need help finding suitable accommodation or have any questions, please don't hesitate to contact us.
183+
</p>
184+
<a
185+
href="mailto:nixcon@nixos.org"
186+
class="px-4 py-2 bg-white/20 hover:bg-white/30 transition-colors rounded-lg text-white font-medium flex items-center gap-2"
187+
>
188+
<FaSolidLink />
189+
Contact us at nixcon@nixos.org
190+
</a>
191+
</div>
177192
</div>
178193
</div>
179194
</div>

0 commit comments

Comments
 (0)