schon/storefront/app/pages/shop.vue
2026-02-27 21:59:51 +03:00

72 lines
No EOL
1.4 KiB
Vue

<template>
<div class="shop">
<div class="shop__top">
<div class="container">
<div class="shop__top-wrapper">
<h1 class="shop__top-title">{{ t('shop.title') }}</h1>
<p class="shop__top-text">{{ t('shop.text') }}</p>
</div>
</div>
</div>
<div class="shop__main">
<div class="container">
<div class="shop__main-wrapper">
<store />
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import {usePageTitle} from '@composables/utils';
const { t, locale } = useI18n();
const { $appHelpers } = useNuxtApp();
const { setPageTitle } = usePageTitle();
setPageTitle(t('breadcrumbs.shop'));
</script>
<style lang="scss" scoped>
.shop {
&__top {
padding-block: 50px;
background-color: #f8f8f8;
&-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
&-title {
font-family: "Playfair Display", sans-serif;
font-weight: 700;
font-size: 36px;
letter-spacing: -0.5px;
}
&-text {
max-width: 600px;
text-align: center;
color: #4b5563;
font-size: 18px;
font-weight: 400;
letter-spacing: -0.5px;
}
}
&__main {
background-color: $white;
padding-block: 70px;
border-top: 1px solid #f3f4f6;
&-wrapper {
}
}
}
</style>