From 82475abc62a5b059701a9b047a853c25a3612c22 Mon Sep 17 00:00:00 2001 From: Manuel Brandstetter Date: Thu, 18 Jan 2024 13:59:51 +0100 Subject: [PATCH] Changes --- src/components/Navbar/Navbar.astro | 8 +++++++- src/components/UserMenu/UserMenu.scss | 26 ++++++++++++++++++++------ src/components/UserMenu/UserMenu.tsx | 18 ++++++++++++------ 3 files changed, 39 insertions(+), 13 deletions(-) diff --git a/src/components/Navbar/Navbar.astro b/src/components/Navbar/Navbar.astro index b373516..3eefb6c 100644 --- a/src/components/Navbar/Navbar.astro +++ b/src/components/Navbar/Navbar.astro @@ -9,6 +9,12 @@ import "./Navbar.scss"; const {lang} = Astro.params; const content = await getTranslatedContent("Header", lang!); + +const userMenuLabels = { + germanLabel: content.german, + englishLabel: content.english, + logoutLabel: content.logout + }; ---