mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
* refactor: update the whole color palette with the spazio solazzo vibe and simplify design code to use Daisy UI
105 lines
4.7 KiB
Text
105 lines
4.7 KiB
Text
<Layouts.app flash={@flash} current_user={@current_user}>
|
|
<div class="relative flex min-h-screen flex-col bg-base-100">
|
|
<main class="flex-1 bg-base-100">
|
|
<section class="bg-base-100">
|
|
<div class="mx-auto max-w-[1200px] px-6 pt-25 pb-20 text-center bg-base-100">
|
|
<div class="flex justify-center">
|
|
<img
|
|
alt="Spazio Solazzo"
|
|
class="hero-logo-img drop-shadow-sm"
|
|
src="/images/logo_spazio_solazzo.svg"
|
|
/>
|
|
</div>
|
|
<p class="text-lg md:text-xl text-earth font-light leading-relaxed max-w-2xl mx-auto mb-12">
|
|
A space in the heart of Palermo where people meet to work, share ideas and spend time together.
|
|
</p>
|
|
<a
|
|
href="#our-spaces"
|
|
class="btn btn-primary h-14 px-12 rounded-full text-white font-bold shadow-xl uppercase text-sm tracking-widest"
|
|
>
|
|
Explore Spaces <.icon name="hero-chevron-down" class="size-5" />
|
|
</a>
|
|
</div>
|
|
|
|
<div class="w-full mb-24">
|
|
<.live_component
|
|
module={SpazioSolazzoWeb.CarouselLiveComponent}
|
|
id="home-carousel"
|
|
images={@carousel_images}
|
|
height="650px"
|
|
/>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="bg-base-100" id="our-spaces">
|
|
<div class="mx-auto max-w-[1200px] px-6 pt-12 pb-12 bg-base-100">
|
|
<div class="flex flex-col md:flex-row md:items-end justify-between gap-4 border-b border-base-200 pb-10">
|
|
<div>
|
|
<h2 class="text-4xl font-extrabold tracking-tight text-plum-dark">
|
|
Our Natural Habitats
|
|
</h2>
|
|
<p class="mt-3 text-lg font-light text-earth">
|
|
Sophisticated environments tailored for your creative flow.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mx-auto max-w-[1200px] px-6 pb-24 space-y-20 bg-base-100" id="spaces">
|
|
<%= if @coworking_space do %>
|
|
<.space_card
|
|
id="coworking"
|
|
title={@coworking_space.name}
|
|
description={@coworking_space.description}
|
|
price="15"
|
|
time_unit="4 hours"
|
|
image_url="https://lh3.googleusercontent.com/aida-public/AB6AXuApty1_MYrfkL2mpGOAKKvlxo-7B-Y6nnko3DA4UDhJ-dCSjcyOLMFy1C0xZmh1_Pu9TEEFj25GkJ74dR1Sb_x4sY9mDjecKICFvwHFgHkMFVMigsZjldl9rH34x4tZhdpWvUGCo32V1P5_0uwtXVPohKMbvIbBxr5nsPoEy_d7X4WgIMOA1Nv2bwDgkqbsG4X3noBx-riLqcnREEl3cb0kbtquJZJ6pYHfbimuNyuxtfQHzrG8KOMHe3YPoIgWt43mgPtgPL9gswni"
|
|
primary_label="Coworking"
|
|
primary_label_variant={:secondary}
|
|
image_position={:left}
|
|
booking_url={"/#{@coworking_space.slug}"}
|
|
asset_type="Desk"
|
|
/>
|
|
<% end %>
|
|
|
|
<%= if @meeting_space do %>
|
|
<.space_card
|
|
id="meeting"
|
|
title={@meeting_space.name}
|
|
description={@meeting_space.description}
|
|
price="40"
|
|
time_unit="hour"
|
|
image_url="https://lh3.googleusercontent.com/aida-public/AB6AXuDmh_AkVuUoICqpHk1NdLuLdi0xQBOC8Hy9PrsSNz956igHFRhbNGsB8k0vSLe2U2NW1sxRVZm_dwR27Q4Db_f21XbYkLtfiRYob-j4ran1rTBB0bQAz4QLFSO1yL_cPhDIpAyvC069mDQ33-ckZgZ_yvFsIK_-_0Jj2NEOnDie684uaR7vKuiBWlsr-JmAsPzUp7Aik7Qbzozune348nBz1bvWkBNMCpMO3JV8hrYBo1i6JlUiGSuP3-5fWXKt8dKhxPUN-amjLFgh"
|
|
primary_label="Meeting"
|
|
primary_label_variant={:secondary}
|
|
secondary_label="Up to 8 people"
|
|
secondary_label_icon="hero-user-group"
|
|
image_position={:right}
|
|
booking_url={"/#{@meeting_space.slug}"}
|
|
asset_type="Room"
|
|
/>
|
|
<% end %>
|
|
|
|
<%= if @music_space do %>
|
|
<.space_card
|
|
id="music"
|
|
title={@music_space.name}
|
|
description={@music_space.description}
|
|
price="25"
|
|
time_unit="hour"
|
|
image_url="https://lh3.googleusercontent.com/aida-public/AB6AXuBBJs1jEAgwwiIvJD00kx3aA9pfI-o2fXT-eZ9dEQeHNHhvwQdVqrwsqwNvCR69rIYUNBKf-uY1dqXZSvXaXoE__slTLMqGHkUzSQSXql9PwhW3cLoMMv1wtj52qDORHy-0NE2_qbTLxm051aTxGLloQKUCIklZ0EMKxs8lvMpnLisnRZBkSMyUVcTBcQu16gZw3eDuMGUtXaTXskrQFGwDcThTCCF4TZiNAmgEk87ae3VgEwfJ2zBVeyHQ-BfMo5KHRtNl6lbzBT9N"
|
|
primary_label="Music"
|
|
primary_label_variant={:primary}
|
|
secondary_label="Not Soundproof"
|
|
secondary_label_icon="hero-speaker-x-mark"
|
|
note="Note: This is not a professional studio and is not soundproofed."
|
|
image_position={:left}
|
|
booking_url={"/#{@music_space.slug}"}
|
|
asset_type="Slot"
|
|
/>
|
|
<% end %>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</Layouts.app>
|