Compare commits

..

4 commits

Author SHA1 Message Date
6f59cf76f7 Add route page
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-10 19:12:20 +02:00
c322fb531f Add splash image 2023-07-10 19:11:45 +02:00
5eafaa736b Add splash component 2023-07-10 19:11:36 +02:00
aed9c4055b add colors 2023-07-10 19:11:31 +02:00
4 changed files with 28 additions and 3 deletions

View file

@ -9,9 +9,9 @@
<main> <main>
<div id="route-cards"> <div id="route-cards">
<Path color='#de0e1b' type="naturalistici" /> <Path color="#de0e1b" type="naturalistici" />
<Path color='#f6ae04' type="storici" /> <Path color="#f6ae04" type="storici" />
<Path color='#213c8b' type="tradizionalisti" /> <Path color="#213c8b" type="tradizionalisti" />
</div> </div>
</main> </main>

View file

@ -0,0 +1,24 @@
<script>
import { onMount } from 'svelte';
import { fade } from 'svelte/transition';
let visible = false;
onMount(() => {
setTimeout(() => {
visible = true;
}, 500);
});
</script>
{#if visible}
<img transition:fade src="/splash.jpeg" alt="splash" />
{/if}
<style>
img {
height: auto;
margin: 0 auto;
width: 100%;
}
</style>

View file

@ -0,0 +1 @@
Route Page

BIN
frontend/static/splash.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 KiB