Rental/pages/transport.vue
alsaze eb73c72954
All checks were successful
Deploy / build (push) Successful in 44s
init
2025-12-01 17:02:52 +03:00

111 lines
3.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="transport-page">
<UPageHero
title="Премиум автомобили под ключ"
:description="`Аренда, покупка и продажа автомобилей премиум-класса с полным\n сервисным сопровождением и гарантией качества.`"
class="transport-page__hero"
>
<template #footer>
<div class="flex gap-2 place-content-center h-[48px]">
<UButton
size="xl"
label="Смотреть услуги"
href="#main-services"
/>
<UButton
size="xl"
label="Смотреть варианты"
href="#variations"
color="neutral"
variant="subtle"
/>
</div>
</template>
</UPageHero>
<UContainer class="flex flex-col gap-32 mt-32">
<MainServices :services="services" />
<MainCarusel :preview-items="previewItems" />
<Contacts />
</UContainer>
</div>
</template>
<script setup lang="ts">
const services = [
{
icon: 'i-lucide:home',
title: 'Краткосрочная аренда',
description: 'Подбор автомобиля для поездок по городу или путешествий',
items: [
{ title: 'Автомобили премиум-класса' },
{ title: 'Доставка к вашему адресу' },
{ title: 'Страховка включена' },
{ title: 'Помощь на дороге 24/7' },
],
},
{
icon: 'i-lucide:shopping-bag',
title: 'Долгосрочная аренда',
description: 'Аренда автомобиля на длительный срок с выгодными условиями',
items: [
{ title: 'Гибкие сроки аренды' },
{ title: 'Техобслуживание включено' },
{ title: 'Замена автомобиля' },
{ title: 'Индивидуальные условия' },
],
},
{
icon: 'i-lucide:package',
title: 'Покупка автомобиля',
description: 'Полное сопровождение при покупке нового или подержанного авто',
items: [
{ title: 'Подбор по параметрам' },
{ title: 'Техническая экспертиза' },
{ title: 'Проверка юридической чистоты' },
{ title: 'Оформление документов' },
],
},
{
icon: 'i-lucide:building',
title: 'Продажа автомобиля',
description: 'Быстрая и выгодная продажа вашего автомобиля',
items: [
{ title: 'Оценка рыночной стоимости' },
{ title: 'Профессиональная фотосъемка' },
{ title: 'Размещение на площадках' },
{ title: 'Безопасное проведение сделки' },
],
},
]
const { cartByCategory } = useMock()
const previewItems = computed(() => cartByCategory('transport'))
</script>
<style lang="scss">
.transport-page {
display: flex;
flex-direction: column;
&__hero {
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/transport.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
}
</style>