41 lines
1.0 KiB
Vue
41 lines
1.0 KiB
Vue
<template>
|
|
<q-layout>
|
|
<q-no-ssr>
|
|
<header-secondary />
|
|
</q-no-ssr>
|
|
<mobile-nav />
|
|
|
|
<q-page-container class="no-padding more product-layout">
|
|
<router-view />
|
|
</q-page-container>
|
|
|
|
<reasons-section />
|
|
|
|
<footer-component />
|
|
</q-layout>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
|
|
import { storeToRefs } from 'pinia';
|
|
import FooterComponent from 'src/components/footer/FooterComponent.vue';
|
|
import HeaderSecondary from 'src/components/header/HeaderSecondary.vue';
|
|
import ReasonsSection from 'src/components/sections/ReasonsSection.vue';
|
|
import MobileNav from 'src/components/ui/MobileNav.vue';
|
|
import { useMobileStore } from 'src/stores/mobileNav';
|
|
|
|
export default defineComponent({
|
|
name: 'DefaultLayout',
|
|
components: { FooterComponent, ReasonsSection, HeaderSecondary, MobileNav },
|
|
setup() {
|
|
const mobileStore = useMobileStore();
|
|
const { isOpenNav } = storeToRefs(mobileStore);
|
|
|
|
return { isOpenNav };
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|