aboutsummaryrefslogtreecommitdiff
path: root/src/routes/index.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/index.svelte')
-rw-r--r--src/routes/index.svelte28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
new file mode 100644
index 0000000..655f0c4
--- /dev/null
+++ b/src/routes/index.svelte
@@ -0,0 +1,28 @@
+<script lang="ts">
+ import WeatherCurrent from '../components/WeatherCurrent.svelte';
+ import PredictedSpaceWeather from '../components/PredictedSpaceWeather.svelte';
+</script>
+
+
+<style>
+ .homescreen {
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ 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>