aboutsummaryrefslogtreecommitdiff
path: root/src/routes/index.svelte
blob: 7efda23926bbed5cb733ddcc746ab1bb3eb9f109 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<script lang="ts">
	import WeatherCurrent from '../components/WeatherCurrent.svelte';
    import PredictedSpaceWeather from '../components/PredictedSpaceWeather.svelte';

    //import { theme, fetchingData, fetchDataError, weatherData } from "../stores.ts";
    //weatherData.subscribe(console.log);
</script>


<style>
    .homescreen {
        display: grid;
        grid-template-rows: 40vh auto;
        grid-row-gap: 0;
        height: 100%;
        --bg-opacity: 1;
        background-color: #1a202c;
        background-color: rgba(26, 32, 44, var(--bg-opacity));
        --bg-opacity: 0.25;
    }
</style>

<svelte:head>
	<title>Aurora data</title>
</svelte:head>


<div class="homescreen">
    <WeatherCurrent/>
    <PredictedSpaceWeather />
</div>