feat(admin): surface Lyra-Posts page in nav + dashboard grid

The pages/lyra.vue page (create community posts as Lyra/ReBreak, AI-generated
or manual) existed but wasn't linked anywhere. Adds it to the sidebar +
mobile bottom-tab (grid-cols-5→6) and the dashboard quick-links grid
(lg:grid-cols-4→5). Admin app stays team-internal (stats / users / domain
approval / social posts / moderation) — no relation to the RN app.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chahinebrini 2026-05-11 15:06:12 +02:00
parent 297ad7437b
commit 790b5e5c24
2 changed files with 4 additions and 3 deletions

View File

@ -62,7 +62,7 @@
class="lg:hidden fixed bottom-0 inset-x-0 z-40 border-t border-gray-800 bg-gray-950/95 backdrop-blur"
:style="{ paddingBottom: 'env(safe-area-inset-bottom)' }"
>
<ul class="grid grid-cols-5">
<ul class="grid grid-cols-6">
<li v-for="item in nav" :key="item.to">
<NuxtLink
:to="item.to"
@ -97,6 +97,7 @@ const nav: NavItem[] = [
{ to: "/users", label: "User-Management", shortLabel: "Users", icon: "heroicons:users" },
{ to: "/stats", label: "Statistiken", shortLabel: "Stats", icon: "heroicons:chart-bar" },
{ to: "/moderation", label: "Moderation", shortLabel: "Mod", icon: "heroicons:flag" },
{ to: "/lyra", label: "Lyra-Posts", shortLabel: "Lyra", icon: "heroicons:sparkles" },
]
// Active-State: exact match fuer "/", startsWith fuer Sub-Routes

View File

@ -3,8 +3,8 @@
<h1 class="text-xl font-semibold text-white mb-1">Dashboard</h1>
<p class="text-sm text-gray-500 mb-8">rebreak Admin -- internes Verwaltungspanel</p>
<!-- Quick-Links zu den 4 Phase-2-Pages -->
<div class="grid grid-cols-2 gap-4 lg:grid-cols-4 mb-8">
<!-- Quick-Links zu den Verwaltungs-Pages -->
<div class="grid grid-cols-2 gap-4 lg:grid-cols-5 mb-8">
<NuxtLink
v-for="card in quickLinks"
:key="card.label"