From e115ee0194997e8f83c55225bf82d47ab1c439ef Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Mon, 10 Jul 2023 18:30:56 +0200 Subject: [PATCH] Fix frontend app --- frontend/src/app.html | 5 +++++ frontend/src/routes/+page.svelte | 2 +- index.html | 2 +- src/css/home-page.css | 2 +- src/css/roboto.css | 4 ---- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/frontend/src/app.html b/frontend/src/app.html index 17a8e6c..476e8e8 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -49,6 +49,11 @@ .bold { font-weight: bold; } + + @font-face { + font-family: 'Roboto-Regular'; + src: url('/fonts/roboto/Roboto-Regular.ttf') format('TrueType'); + } diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index a071fa7..d85f152 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -98,7 +98,7 @@ flex: 0 1 20%; border-top-right-radius: var(--route-card-radius); border-bottom-right-radius: var(--route-card-radius); - background-image: url('../../static/images/test-1.jpg'); + background-image: url('/images/test-1.jpg'); background-position: center; background-size: cover; } diff --git a/index.html b/index.html index 3921fca..e8d901b 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Pianello diff --git a/src/css/home-page.css b/src/css/home-page.css index 369f7c5..4ebbd96 100644 --- a/src/css/home-page.css +++ b/src/css/home-page.css @@ -46,7 +46,7 @@ flex: 0 1 20%; border-top-right-radius: var(--route-card-radius); border-bottom-right-radius: var(--route-card-radius); - background-image: url('../../static/images/test-1.jpg'); + background-image: url('/images/test-1.jpg'); background-position: center; background-size: cover; } diff --git a/src/css/roboto.css b/src/css/roboto.css index f231572..8b13789 100644 --- a/src/css/roboto.css +++ b/src/css/roboto.css @@ -1,5 +1 @@ -@font-face { - font-family: 'Roboto-Regular'; - src: url('../../static/fonts/roboto/Roboto-Regular.ttf') format('TrueType'); -}