Add paths page
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-07-10 19:38:52 +02:00
parent efab65fa92
commit a18dd9a04e
3 changed files with 27 additions and 9 deletions

View file

@ -1,3 +1,24 @@
<script lang='ts'>
export let title: string = 'Naturalistici';
</script>
<div> <div>
<img src='/images/white-back-arrow.png' alt=''> <img class='back' src='/images/white-back-arrow.png' alt=''>
</div> <p>Percorsi {title}</p>
<img src='/images/app-bar-logo.png' alt=''>
</div>
<style>
div {
width: 100%;
display: flex;
justify-content: space-evenly;
align-items: center;
background-color: #de0e1b;
}
div img {
height: 40px;
}
.back {
height: 20px;
}
</style>

View file

@ -1,6 +0,0 @@
<script>
import Header from "$lib/components/Header.svelte";
</script>
<Header></Header>
<slot></slot>

View file

@ -1,3 +1,6 @@
<script lang="ts"> <script lang="ts">
import Header from '$lib/components/Header.svelte';
export let data; export let data;
</script> </script>
<Header title={data.title}></Header>