Refactor CMS navigation and remove outdated pages

This commit updates the Navigation component to replace links for "Über uns", "Geschichte", "TT-Regeln", "Satzung", and "Termine" with a consolidated "Inhalte" and "Sportbetrieb" section. Additionally, it removes the corresponding pages for "Geschichte", "Mannschaften", "Satzung", "Termine", and "Spielpläne" to streamline the CMS structure and improve content management efficiency.
This commit is contained in:
Torsten Schulz (local)
2026-02-09 09:37:11 +01:00
parent 33ef5cda5f
commit 80c2b0bfeb
17 changed files with 1484 additions and 3108 deletions

View File

@@ -7,9 +7,9 @@
<div class="w-24 h-1 bg-primary-600 mb-8" />
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Über uns -->
<!-- Inhalte (gruppiert) -->
<NuxtLink
to="/cms/ueber-uns"
to="/cms/inhalte"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
@@ -20,83 +20,11 @@
/>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
Über uns
Inhalte
</h2>
</div>
<p class="text-gray-600">
Seite Über uns" bearbeiten (WYSIWYG)
</p>
</NuxtLink>
<!-- Geschichte -->
<NuxtLink
to="/cms/geschichte"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-amber-100 rounded-lg flex items-center justify-center group-hover:bg-amber-600 transition-colors">
<Newspaper
:size="24"
class="text-amber-600 group-hover:text-white"
/>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
Geschichte
</h2>
</div>
<p class="text-gray-600">
Vereinsgeschichte bearbeiten (WYSIWYG)
</p>
</NuxtLink>
<!-- TT-Regeln -->
<NuxtLink
to="/cms/tt-regeln"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center group-hover:bg-red-600 transition-colors">
<Newspaper
:size="24"
class="text-red-600 group-hover:text-white"
/>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
TT-Regeln
</h2>
</div>
<p class="text-gray-600">
Tischtennis-Regeln bearbeiten (WYSIWYG)
</p>
</NuxtLink>
<!-- Satzung -->
<NuxtLink
to="/cms/satzung"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-slate-100 rounded-lg flex items-center justify-center group-hover:bg-slate-600 transition-colors">
<svg
class="w-6 h-6 text-slate-600 group-hover:text-white"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
/>
</svg>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
Satzung
</h2>
</div>
<p class="text-gray-600">
Satzung als PDF hochladen
Über uns, Geschichte, TT-Regeln &amp; Satzung
</p>
</NuxtLink>
<!-- News -->
@@ -120,9 +48,9 @@
</p>
</NuxtLink>
<!-- Termine -->
<!-- Sportbetrieb (gruppiert) -->
<NuxtLink
to="/cms/termine"
to="/cms/sportbetrieb"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
@@ -133,32 +61,11 @@
/>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
Termine
Sportbetrieb
</h2>
</div>
<p class="text-gray-600">
Vereinstermine erstellen und verwalten
</p>
</NuxtLink>
<!-- Mannschaften -->
<NuxtLink
to="/cms/mannschaften"
class="bg-white p-6 rounded-xl shadow-lg border border-gray-100 hover:shadow-xl transition-all group"
>
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-teal-100 rounded-lg flex items-center justify-center group-hover:bg-teal-600 transition-colors">
<Users
:size="24"
class="text-teal-600 group-hover:text-white"
/>
</div>
<h2 class="ml-4 text-xl font-semibold text-gray-900">
Mannschaften
</h2>
</div>
<p class="text-gray-600">
Mannschaften bearbeiten und verwalten
Termine, Mannschaften &amp; Spielpläne
</p>
</NuxtLink>