42 lines
853 B
Vue
42 lines
853 B
Vue
<script setup lang="ts">
|
|
import Header from "~/components/Header.vue";
|
|
import Footer from "~/components/Footer.vue";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="app-layout">
|
|
<Header />
|
|
|
|
<main class="app-main">
|
|
<slot />
|
|
</main>
|
|
|
|
<div class="italian-flag"></div>
|
|
<Footer />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.app-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
div.italian-flag {
|
|
height: 8px;
|
|
width: 100%;
|
|
background: linear-gradient(to right, #009246 0%, #009246 33.33%, #F1F2F1 33.33%, #F1F2F1 66.66%, #CE2B37 66.66%, #CE2B37 100%);
|
|
}
|
|
|
|
div.italian-flag {
|
|
height: 8px;
|
|
width: 100%;
|
|
box-shadow: rgb(0 0 0 / 0.7) 0 0 30px;
|
|
background: linear-gradient(to right, #009246 0%, #009246 33.33%, #F1F2F1 33.33%, #F1F2F1 66.66%, #CE2B37 66.66%, #CE2B37 100%);
|
|
}
|
|
|
|
.app-main {
|
|
flex-grow: 1;
|
|
}
|
|
</style> |