sections!

This commit is contained in:
2025-06-08 17:07:31 +02:00
parent b616369b6f
commit 3a4e7bf41b
23 changed files with 322 additions and 48 deletions

View File

@@ -95,6 +95,15 @@
</div>
<span class="badge-product text-xs font-semibold px-2 py-0.5 rounded">{{ product_count }}</span>
</a>
<a href="{{ url_for('manage_sections') }}" class="nav-sections flex items-center justify-between p-4 rounded-lg transition-colors hover:bg-[#e6f0f7]">
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v18m9-9H3" />
</svg>
<span class="font-medium">Sections</span>
</div>
<span class="badge-section text-xs font-semibold px-2 py-0.5 rounded">{{ section_count }}</span>
</a>
</nav>
<!-- Only admin content is inside the background wrapper now -->
<div class="bg-[#f5f7f2] shadow-lg rounded-xl p-8 mb-6">