add about-us.vue
All checks were successful
Deploy / build (push) Successful in 3m21s

This commit is contained in:
alsaze
2025-12-10 16:15:35 +03:00
parent 24237652db
commit 2f0b72c387
16 changed files with 1172 additions and 761 deletions

View File

@@ -12,7 +12,8 @@
}"
>
<template #left>
<NuxtLink to="/" class="text-lg">
<NuxtLink to="/" class="text-lg flex items-center gap-2">
<Icon name="my-icon:main-logo" :style="{ fontSize: isMobile ? '34px' : '48px' }" />
Rental
</NuxtLink>
@@ -22,7 +23,11 @@
<!-- <UColorModeButton /> -->
<div class="ml-auto">
<UButton href="#contacts" :size="isMobile ? 'md' : 'xl'" label="Связаться" />
<UButton
:href="route.path.startsWith('/about-us') ? '/' : '#contacts'"
:size="isMobile ? 'md' : 'xl'"
:label="route.path.startsWith('/about-us') ? 'Вернуться' : 'Связаться'"
/>
</div>
</template>
</UHeader>