Files
TueIT_App/layouts/empty.vue
2023-11-22 13:41:53 +01:00

52 lines
688 B
Vue

<template>
<PageHeader />
<main :class="[darkMode ? 'main-darkmode' : 'main-lightmode']">
<slot />
</main>
</template>
<script>
import PageHeader from "../layouts/PageHeader.vue";
export default {
name: "Page",
components: {
PageHeader,
},
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
* {
box-sizing: border-box;
}
main {
display: flex;
flex-direction: row;
gap: 0.625rem;
padding: 0.625rem 1.5625rem 0.625rem 0.625rem;
height: 100vh;
width: 100vw;
height: 100%;
width: 100%;
}
.main-darkmode {
background-color: #212121;
}
.main-lightmode {
background-color: #EBEBEB;
}
</style>