Update CMS navigation links and remove membership application page
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 46s

This commit modifies the Navigation component and the CMS index page to replace the "Mitglieder" link with "Mitgliederverwaltung" and updates the corresponding route. Additionally, it removes the outdated "mitgliedschaftsantraege" page, streamlining the CMS structure and improving user navigation.
This commit is contained in:
Torsten Schulz (local)
2026-02-09 09:58:46 +01:00
parent 73e3d2a5d0
commit 0a018229a8
7 changed files with 1291 additions and 449 deletions

View File

@@ -0,0 +1,36 @@
<template>
<div class="min-h-screen bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="mb-6">
<h1 class="text-3xl font-display font-bold text-gray-900">Mitgliederverwaltung</h1>
<p class="mt-1 text-sm text-gray-500">Anträge und Mitgliederliste verwalten</p>
</div>
<!-- Mitgliedschaftsanträge oben (nur sichtbar wenn Anträge vorhanden) -->
<div v-show="antraegeRef?.hasApplications" class="mb-10">
<CmsMitgliedschaftsantraege ref="antraegeRef" />
</div>
<div v-if="antraegeRef?.hasApplications" class="border-t border-gray-300 mb-10" />
<!-- Mitgliederliste darunter -->
<CmsMitglieder />
</div>
</div>
</template>
<script setup>
import { ref } from 'vue'
import CmsMitglieder from '~/components/cms/CmsMitglieder.vue'
import CmsMitgliedschaftsantraege from '~/components/cms/CmsMitgliedschaftsantraege.vue'
const antraegeRef = ref(null)
definePageMeta({
middleware: 'auth',
layout: 'default'
})
useHead({
title: 'Mitgliederverwaltung CMS'
})
</script>