mirror of
https://github.com/KevinMidboe/brewPi.git
synced 2025-10-29 16:50:12 +00:00
* Added new logo design * Favicon icons & header links * Logo max width on mobile * Logo as svg component. Replaces PageHeader component * Change favicon background to match website grey * Mobile center align logo & reduce max width
41 lines
985 B
Svelte
41 lines
985 B
Svelte
<script lang="ts">
|
|
import Logo from '../lib/components/Logo.svelte';
|
|
import VerticalSensorDisplay from '../lib/components/VerticalSensorDisplay.svelte';
|
|
// import Livestream from '$lib/components/Livestream.svelte'
|
|
import BrewProgress from '../lib/components/BrewProgress.svelte';
|
|
import type { PageData } from './$types';
|
|
import RelayControls from '../lib/components/RelayControls.svelte';
|
|
|
|
export let data: PageData;
|
|
const { inside, outside, relays } = data;
|
|
</script>
|
|
|
|
<Logo />
|
|
|
|
<div class="vertical-grid">
|
|
<BrewProgress />
|
|
|
|
<VerticalSensorDisplay inside="{inside}" outside="{outside}" />
|
|
|
|
<RelayControls relays="{relays}" />
|
|
|
|
<!-- <Livestream /> -->
|
|
</div>
|
|
|
|
<style lang="scss">
|
|
@import '../styles/media-queries.scss';
|
|
|
|
.vertical-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
column-gap: 2rem;
|
|
row-gap: 15px;
|
|
margin: 1rem 0;
|
|
|
|
@include desktop {
|
|
grid-template-columns: 2fr 2fr 3fr;
|
|
margin: 2rem;
|
|
}
|
|
}
|
|
</style>
|