paulnicoue/pages/index.vue

58 lines
1.1 KiB
Vue
Raw Normal View History

2022-09-30 16:18:49 +02:00
<template>
<main>
<HeroSection class="hero-section" />
2023-01-20 18:08:51 +01:00
<ContactSection class="contact-section" />
</main>
2022-09-30 16:18:49 +02:00
</template>
<script setup>
2023-01-06 15:46:20 +01:00
// --------------------------------------------------
2022-09-30 16:18:49 +02:00
// HEAD
2023-01-06 15:46:20 +01:00
// --------------------------------------------------
2022-09-30 16:18:49 +02:00
definePageMeta({
pageTitleChunk: null
})
</script>
2023-01-11 15:16:55 +01:00
<style lang="scss" scoped>
// --------------------------------------------------
// STYLE
2023-01-11 15:16:55 +01:00
// --------------------------------------------------
main {
2023-01-20 18:08:51 +01:00
width: 100%;
padding: 0 2rem;
2023-01-20 18:08:51 +01:00
display: grid;
grid:
'hero-section' auto
2023-01-20 18:08:51 +01:00
'contact-section' auto
/ 1fr;
place-content: start center;
place-items: start center;
row-gap: 4rem;
.hero-section {
grid-area: hero-section;
2023-01-20 18:08:51 +01:00
}
2023-01-20 18:08:51 +01:00
.contact-section {
grid-area: contact-section;
}
2023-01-20 18:08:51 +01:00
@media screen and (min-width: $tablet-media-query) {
padding: 0 4rem;
}
2023-01-20 18:08:51 +01:00
@media screen and (min-width: $desktop-media-query) {
padding: 0 6rem;
}
}
</style>