Make more mobile-friendly
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m51s
All checks were successful
Build and deploy updated apps / Build & deploy (push) Successful in 1m51s
This commit is contained in:
parent
f6e88469b3
commit
d2f3146e03
@ -15,7 +15,21 @@
|
||||
<!-- nav links -->
|
||||
<ul class="flex space-x-6">
|
||||
<li>
|
||||
<NuxtLink :to="p('apartments')">{{ c.header.apartments }}</NuxtLink>
|
||||
<!-- Mobile: Show only first word -->
|
||||
<NuxtLink
|
||||
:to="p('apartments')"
|
||||
class="block sm:hidden"
|
||||
>
|
||||
{{ c.header.apartments.split(' ')[0] }}
|
||||
</NuxtLink>
|
||||
|
||||
<!-- Desktop: Show full text -->
|
||||
<NuxtLink
|
||||
:to="p('apartments')"
|
||||
class="hidden sm:block"
|
||||
>
|
||||
{{ c.header.apartments }}
|
||||
</NuxtLink>
|
||||
</li>
|
||||
<li>
|
||||
<NuxtLink :to="p('book')">{{ c.header.book }}</NuxtLink>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="mt-8 flex gap-4">
|
||||
<div class="mt-8 flex gap-4 flex-wrap">
|
||||
<UButton :to="p('apartments')" color="primary" variant="solid" size="xl"
|
||||
trailing-icon="i-heroicons-arrow-right">{{ c.button.apartments }}
|
||||
</UButton>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user