paulnicoue/components/ContactSection.vue

51 lines
1 KiB
Vue
Raw Normal View History

2023-01-20 18:08:51 +01:00
<template>
<section id="contact" class="contact">
2023-01-20 18:08:51 +01:00
<ContactHeader class="contact__header" />
<ContactForm class="contact__form" />
</section>
</template>
<script setup>
</script>
<style lang="scss" scoped>
// --------------------------------------------------
// STYLE
2023-01-20 18:08:51 +01:00
// --------------------------------------------------
.contact {
2023-01-27 16:12:44 +01:00
max-width: var(--regular-content-max-width);
2023-01-20 18:08:51 +01:00
display: grid;
grid:
2023-02-02 17:17:44 +01:00
'header' auto
'form' auto
/ 1fr;
2023-01-20 18:08:51 +01:00
place-content: start stretch;
place-items: start stretch;
row-gap: 4rem;
&__header {
grid-area: header;
}
&__form {
grid-area: form;
}
@media screen and (min-width: $tablet-media-query) {
column-gap: 4rem;
}
@media screen and (min-width: $desktop-media-query) {
grid:
2023-02-02 17:17:44 +01:00
'header form' auto
/ 1fr 2fr;
2023-01-20 18:08:51 +01:00
column-gap: 6rem;
}
}
</style>