mirror of
https://github.com/KevinMidboe/brewPi.git
synced 2025-10-29 16:50:12 +00:00
28 lines
582 B
Svelte
28 lines
582 B
Svelte
<script lang="ts">
|
|
import HeaderComponent from '$lib/components/Header.svelte';
|
|
// import Darkmode from '$lib/components/Darkmode.svelte'
|
|
import '../styles/global.css';
|
|
</script>
|
|
|
|
<HeaderComponent />
|
|
<!-- <Darkmode/> -->
|
|
|
|
<div class="page-content">
|
|
<slot />
|
|
</div>
|
|
|
|
<style lang="scss">
|
|
@import '../styles/media-queries.scss';
|
|
|
|
.page-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - var(--header-height));
|
|
margin: var(--header-height) 2.5rem 0;
|
|
|
|
@include mobile {
|
|
margin: var(--header-height) 1rem 0;
|
|
}
|
|
}
|
|
</style>
|