From 941b4c3ec5784e316a7bc9145dff17f954bc6803 Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 2 Aug 2025 16:28:28 +0200 Subject: [PATCH] refactor: Clean up Navbar component and remove support link - Remove the "Support" link from the Navbar.vue navigation items to streamline the menu. - Adjust formatting in Navbar.vue for improved readability and consistency in the template structure. - Update i18n files to remove references to the "Support" string in English, Spanish, and French locales, enhancing localization accuracy. --- src/components/layout/Navbar.vue | 29 ++++++++++++++++------------- src/i18n/locales/en.ts | 1 - src/i18n/locales/es.ts | 1 - src/i18n/locales/fr.ts | 1 - src/i18n/types.ts | 1 - 5 files changed, 16 insertions(+), 17 deletions(-) diff --git a/src/components/layout/Navbar.vue b/src/components/layout/Navbar.vue index 7f609d8..ed743ae 100644 --- a/src/components/layout/Navbar.vue +++ b/src/components/layout/Navbar.vue @@ -28,13 +28,12 @@ const showProfileDialog = ref(false) const navigation = computed(() => [ { name: t('nav.home'), href: '/' }, { name: t('nav.events'), href: '/events' }, - { name: t('nav.support'), href: '/support' }, ]) // Compute total wallet balance const totalBalance = computed(() => { if (!auth.currentUser.value?.wallets) return 0 - + return auth.currentUser.value.wallets.reduce((total, wallet) => { return total + (wallet.balance_msat || 0) }, 0) @@ -76,14 +75,16 @@ const handleLogout = async () => {
- Logo + Logo {{ t('nav.title') }}