diff --git a/frontend/src/routes/AuthHeader.svelte b/frontend/src/routes/AuthHeader.svelte new file mode 100644 index 00000000..1e6a34a9 --- /dev/null +++ b/frontend/src/routes/AuthHeader.svelte @@ -0,0 +1,34 @@ + + + + + + + + Familienarchiv + + + {#each locales as locale (locale)} + setLocale(localeMap[locale])} + class="px-1.5 py-1 font-sans text-xs tracking-widest transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent + {activeLocale === locale + ? 'font-bold text-white' + : 'font-normal text-white/55 hover:text-white/85'}" + > + {locale} + + {/each} + + + +