Enhance deployment script and navigation component for improved data handling and user access

This commit updates the deploy-production.sh script to remove tracked public/data CSV files from the Git index and ensures that backup files are restored correctly, with size verification for integrity. Additionally, it modifies the Navigation.vue component to allow access to the gallery for users with newsletter permissions, enhancing user experience and access control.
This commit is contained in:
Torsten Schulz (local)
2026-01-17 18:34:49 +01:00
parent 68ef362c41
commit 16fc7b2262
2 changed files with 43 additions and 5 deletions

View File

@@ -76,7 +76,7 @@
</NuxtLink>
<NuxtLink
v-if="hasGalleryImages"
v-if="hasGalleryImages || canAccessNewsletter"
to="/verein/galerie"
class="px-4 py-2 text-gray-300 hover:text-white font-medium transition-all rounded-lg hover:bg-primary-700/50"
active-class="text-white bg-primary-600"
@@ -659,7 +659,7 @@
</NuxtLink>
<NuxtLink
v-if="hasGalleryImages"
v-if="hasGalleryImages || canAccessNewsletter"
to="/verein/galerie"
class="block px-4 py-3 text-gray-300 hover:text-white hover:bg-primary-700/50 rounded-lg font-medium transition-colors"
@click="isMobileMenuOpen = false"