set admin V1

This commit is contained in:
jleroy2023
2024-11-19 10:34:13 +01:00
parent 9719ea9d1e
commit b601455ccf
12 changed files with 89 additions and 50 deletions

View File

@@ -0,0 +1,13 @@
{% extends 'main/base.html.twig' %}
{% block title %}📣 Sortie.com Admin 🔊{% endblock %}
{% block content %}
<div class="flex">
{% include 'admin/sidebar.html.twig' %}
<div class="ml-64 p-8">
<h1 class="text-2xl font-semibold">Bienvenue sur le Panel d'Administration</h1>
<p class="text-gray-600 mt-4">Utilisez le menu pour accéder aux différentes sections.</p>
</div>
</div>
{% endblock %}

View File

@@ -0,0 +1,30 @@
<nav class="bg-gray-800 text-white p-5 w-64 h-screen fixed">
<h3 class="text-xl font-bold text-center mb-5">Administration</h3>
<ul class="space-y-4">
<li>
<a href="{{ path('app_admin') }}" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
🏠 Tableau de board
</a>
</li>
<li>
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
👤 Utilisateurs
</a>
</li>
<li>
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
🏙 Villes
</a>
</li>
<li>
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
📍 Sites
</a>
</li>
<li>
<a href="#" class="block text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded">
⚙ Paramètres
</a>
</li>
</ul>
</nav>