paulnicoue/pages/index.vue

58 lines
1.1 KiB
Vue
Raw Normal View History

2022-09-30 16:18:49 +02:00
<template>
<main>
2023-01-20 18:08:51 +01:00
<HeroTitle class="hero-title" />
<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>
// --------------------------------------------------
2023-01-20 18:08:51 +01:00
// LAYOUT
2023-01-11 15:16:55 +01:00
// --------------------------------------------------
main {
2023-01-20 18:08:51 +01:00
width: 100%;
padding: 2rem;
display: grid;
grid:
'hero-title' auto
'contact-section' auto
/ 1fr;
place-content: start center;
place-items: start center;
row-gap: 4rem;
.hero-title {
grid-area: hero-title;
}
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: 2rem 4rem;
}
2023-01-20 18:08:51 +01:00
@media screen and (min-width: $desktop-media-query) {
padding: 2rem 6rem;
}
}
</style>