From 6d387986e0207fdadc78eb947e205eaa68803286 Mon Sep 17 00:00:00 2001 From: jatus Date: Sun, 28 May 2023 12:13:11 +0200 Subject: [PATCH] fixed minor navigation issues --- src/app.html | 25 +++++++++++++----------- src/lib/elements/LanguageSelector.svelte | 19 +++++++++++++++++- src/routes/+page.svelte | 22 +++++++++++++++++---- vite.config.ts | 2 ++ 4 files changed, 52 insertions(+), 16 deletions(-) diff --git a/src/app.html b/src/app.html index 0bfbf4d..1ef7fe1 100644 --- a/src/app.html +++ b/src/app.html @@ -1,12 +1,15 @@ - - - - - - %sveltekit.head% - - -
%sveltekit.body%
- - + + + + + + + %sveltekit.head% + + + +
%sveltekit.body%
+ + + \ No newline at end of file diff --git a/src/lib/elements/LanguageSelector.svelte b/src/lib/elements/LanguageSelector.svelte index 50a0813..01d6fa9 100644 --- a/src/lib/elements/LanguageSelector.svelte +++ b/src/lib/elements/LanguageSelector.svelte @@ -32,10 +32,17 @@ const globeLookup: svgCore.IconLookup = { prefix: 'fas', iconName: 'globe-europe' }; const globeDefinition: svgCore.IconDefinition = svgCore.findIconDefinition(globeLookup); + const buttonLabel: { [key: CurrentLanguage[number]]: string } = { + it: 'seleziona la lingua', + en: 'select language' + };
- +