Skip to content
This repository was archived by the owner on Mar 8, 2026. It is now read-only.

Commit 877b59f

Browse files
committed
Update text content
1 parent c9c5255 commit 877b59f

File tree

6 files changed

+11
-20
lines changed

6 files changed

+11
-20
lines changed

lib/spazio_solazzo_web/components/page_components.ex

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ defmodule SpazioSolazzoWeb.PageComponents do
3535
secondary_label_icon="hero-user-group"
3636
image_position={:right}
3737
booking_url="/meeting"
38-
asset_type="Room"
3938
/>
4039
"""
4140
attr :title, :string, required: true
@@ -50,7 +49,6 @@ defmodule SpazioSolazzoWeb.PageComponents do
5049
attr :note, :string, default: nil
5150
attr :image_position, :atom, default: :left, values: [:left, :right]
5251
attr :booking_url, :string, required: true
53-
attr :asset_type, :string, required: true
5452
attr :id, :string, default: nil
5553

5654
def space_card(assigns) do
@@ -104,21 +102,16 @@ defmodule SpazioSolazzoWeb.PageComponents do
104102
</p>
105103
106104
<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">
107-
<div class="flex flex-col">
108-
<span class="text-[11px] uppercase font-bold tracking-widest text-neutral">
109-
{if @time_unit == "4 hours", do: "Access", else: "Rate"}
110-
</span>
111-
<span class="text-3xl font-extrabold text-base-content">
112-
{@price}
113-
<span class="text-base font-light text-neutral">/ {@time_unit}</span>
114-
</span>
115-
</div>
105+
<span class="text-3xl font-extrabold text-base-content">
106+
{@price}
107+
<span class="text-base font-light text-neutral">/ {@time_unit}</span>
108+
</span>
116109
<.link
117110
navigate={@booking_url}
118-
class="btn btn-primary h-14 px-10 rounded-2xl uppercase text-xs tracking-widest"
111+
class="btn btn-primary h-10 px-5 rounded-2xl uppercase text-xs tracking-widest"
119112
>
120-
<.icon name="hero-calendar" class="size-5" />
121-
{"Book #{@asset_type}"}
113+
View more
114+
<.icon name="hero-arrow-right" class="size-5" />
122115
</.link>
123116
</div>
124117
</div>

lib/spazio_solazzo_web/live/booking/booking_form_live_component.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ defmodule SpazioSolazzoWeb.BookingFormLiveComponent do
4343
~H"""
4444
<div>
4545
<.modal :if={@show} id={@id} show on_cancel={@on_cancel}>
46-
<:title>Complete Your Booking</:title>
46+
<:title>Booking request</:title>
4747
<:subtitle>
4848
<%= if @selected_time_slot do %>
4949
{@space.name} | {CalendarExt.format_time_range(@selected_time_slot)} on {CalendarExt.format_date(

lib/spazio_solazzo_web/live/landing/coworking_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Layouts.app flash={@flash} current_user={@current_user}>
22
<.page_header
33
booking_path={~p"/book/space/#{@space.slug}"}
4-
booking_label="Book Space"
4+
booking_label="Request a desk"
55
price="€25"
66
price_unit="day"
77
capacity={@space.capacity}

lib/spazio_solazzo_web/live/landing/meeting_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Layouts.app flash={@flash} current_user={@current_user}>
22
<.page_header
33
booking_path={~p"/book/space/#{@space.slug}"}
4-
booking_label="Book Space"
4+
booking_label="Booking request"
55
price="€35"
66
price_unit="hour"
77
capacity={@space.capacity}

lib/spazio_solazzo_web/live/landing/music_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Layouts.app flash={@flash} current_user={@current_user}>
22
<.page_header
33
booking_path={~p"/book/space/#{@space.slug}"}
4-
booking_label="Book Space"
4+
booking_label="Booking request"
55
price="€50"
66
price_unit="hour"
77
capacity={@space.capacity}

lib/spazio_solazzo_web/live/page_live.html.heex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
secondary_label_icon="hero-user-group"
7777
image_position={:right}
7878
booking_url={"/#{@meeting_space.slug}"}
79-
asset_type="Room"
8079
/>
8180
<% end %>
8281

@@ -95,7 +94,6 @@
9594
note="Note: This is not a professional studio and is not soundproofed."
9695
image_position={:left}
9796
booking_url={"/#{@music_space.slug}"}
98-
asset_type="Slot"
9997
/>
10098
<% end %>
10199
</div>

0 commit comments

Comments
 (0)