From 872109b0fd0c64cb4bf2bae302ed3ec88a584aec Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Mon, 10 Jul 2023 20:01:15 +0200 Subject: [PATCH] Update view --- frontend/src/app.html | 4 ---- .../src/lib/components/BottomAppBar.svelte | 3 +++ frontend/src/lib/components/Route.svelte | 21 ++++++++++++------- frontend/src/lib/components/Splash.svelte | 3 ++- frontend/src/routes/+page.svelte | 12 ++++++++--- .../src/routes/paths/[slug]/+page.server.ts | 3 ++- frontend/src/routes/paths/[slug]/+page.svelte | 3 +++ 7 files changed, 33 insertions(+), 16 deletions(-) diff --git a/frontend/src/app.html b/frontend/src/app.html index 476e8e8..abafcbc 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -46,10 +46,6 @@ place-items: center; } - .bold { - font-weight: bold; - } - @font-face { font-family: 'Roboto-Regular'; src: url('/fonts/roboto/Roboto-Regular.ttf') format('TrueType'); diff --git a/frontend/src/lib/components/BottomAppBar.svelte b/frontend/src/lib/components/BottomAppBar.svelte index 399a7fc..20e5db8 100644 --- a/frontend/src/lib/components/BottomAppBar.svelte +++ b/frontend/src/lib/components/BottomAppBar.svelte @@ -18,6 +18,9 @@ border-radius: 90px; box-shadow: 0 0 50px #ccc; background-color: var(--card-background-color); + position: absolute; + bottom: 0; + margin-bottom: 10px; } #container > a { diff --git a/frontend/src/lib/components/Route.svelte b/frontend/src/lib/components/Route.svelte index 1008c65..629d022 100644 --- a/frontend/src/lib/components/Route.svelte +++ b/frontend/src/lib/components/Route.svelte @@ -2,10 +2,10 @@ export let route: App.Route; -route + +

{route.name}

- {route.duration} +

{route.duration}

diff --git a/frontend/src/lib/components/Splash.svelte b/frontend/src/lib/components/Splash.svelte index 04b47fd..6893e79 100644 --- a/frontend/src/lib/components/Splash.svelte +++ b/frontend/src/lib/components/Splash.svelte @@ -18,7 +18,8 @@ diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 3c4b36c..bb1107c 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -4,7 +4,7 @@ import Splash from '$lib/components/Splash.svelte'; - +
Benvenuti a Pianello Val Tidone
@@ -17,9 +17,15 @@
- - \ No newline at end of file