mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
Update text content
This commit is contained in:
parent
c9c5255642
commit
e52c95872c
6 changed files with 10 additions and 21 deletions
|
|
@ -35,7 +35,6 @@ defmodule SpazioSolazzoWeb.PageComponents do
|
|||
secondary_label_icon="hero-user-group"
|
||||
image_position={:right}
|
||||
booking_url="/meeting"
|
||||
asset_type="Room"
|
||||
/>
|
||||
"""
|
||||
attr :title, :string, required: true
|
||||
|
|
@ -50,7 +49,6 @@ defmodule SpazioSolazzoWeb.PageComponents do
|
|||
attr :note, :string, default: nil
|
||||
attr :image_position, :atom, default: :left, values: [:left, :right]
|
||||
attr :booking_url, :string, required: true
|
||||
attr :asset_type, :string, required: true
|
||||
attr :id, :string, default: nil
|
||||
|
||||
def space_card(assigns) do
|
||||
|
|
@ -104,21 +102,15 @@ defmodule SpazioSolazzoWeb.PageComponents do
|
|||
</p>
|
||||
|
||||
<div class="card-actions flex flex-col sm:flex-row gap-8 sm:items-center justify-between mt-auto pt-10 border-t border-base-200">
|
||||
<div class="flex flex-col">
|
||||
<span class="text-[11px] uppercase font-bold tracking-widest text-neutral">
|
||||
{if @time_unit == "4 hours", do: "Access", else: "Rate"}
|
||||
</span>
|
||||
<span class="text-3xl font-extrabold text-base-content">
|
||||
€{@price}
|
||||
<span class="text-base font-light text-neutral">/ {@time_unit}</span>
|
||||
</span>
|
||||
</div>
|
||||
<span class="text-3xl font-extrabold text-base-content">
|
||||
€{@price}
|
||||
<span class="text-base font-light text-neutral">/ {@time_unit}</span>
|
||||
</span>
|
||||
<.link
|
||||
navigate={@booking_url}
|
||||
class="btn btn-primary h-14 px-10 rounded-2xl uppercase text-xs tracking-widest"
|
||||
class="btn btn-primary h-10 px-5 rounded-2xl uppercase text-xs tracking-widest"
|
||||
>
|
||||
<.icon name="hero-calendar" class="size-5" />
|
||||
{"Book #{@asset_type}"}
|
||||
View more <.icon name="hero-arrow-right" class="size-5" />
|
||||
</.link>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ defmodule SpazioSolazzoWeb.BookingFormLiveComponent do
|
|||
~H"""
|
||||
<div>
|
||||
<.modal :if={@show} id={@id} show on_cancel={@on_cancel}>
|
||||
<:title>Complete Your Booking</:title>
|
||||
<:title>Booking request</:title>
|
||||
<:subtitle>
|
||||
<%= if @selected_time_slot do %>
|
||||
{@space.name} | {CalendarExt.format_time_range(@selected_time_slot)} on {CalendarExt.format_date(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<Layouts.app flash={@flash} current_user={@current_user}>
|
||||
<.page_header
|
||||
booking_path={~p"/book/space/#{@space.slug}"}
|
||||
booking_label="Book Space"
|
||||
booking_label="Request a desk"
|
||||
price="€25"
|
||||
price_unit="day"
|
||||
capacity={@space.capacity}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<Layouts.app flash={@flash} current_user={@current_user}>
|
||||
<.page_header
|
||||
booking_path={~p"/book/space/#{@space.slug}"}
|
||||
booking_label="Book Space"
|
||||
booking_label="Booking request"
|
||||
price="€35"
|
||||
price_unit="hour"
|
||||
capacity={@space.capacity}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<Layouts.app flash={@flash} current_user={@current_user}>
|
||||
<.page_header
|
||||
booking_path={~p"/book/space/#{@space.slug}"}
|
||||
booking_label="Book Space"
|
||||
booking_label="Booking request"
|
||||
price="€50"
|
||||
price_unit="hour"
|
||||
capacity={@space.capacity}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@
|
|||
primary_label_variant={:secondary}
|
||||
image_position={:left}
|
||||
booking_url={"/#{@coworking_space.slug}"}
|
||||
asset_type="Desk"
|
||||
/>
|
||||
<% end %>
|
||||
|
||||
|
|
@ -76,7 +75,6 @@
|
|||
secondary_label_icon="hero-user-group"
|
||||
image_position={:right}
|
||||
booking_url={"/#{@meeting_space.slug}"}
|
||||
asset_type="Room"
|
||||
/>
|
||||
<% end %>
|
||||
|
||||
|
|
@ -95,7 +93,6 @@
|
|||
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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue