undefined - Initial Deployment
Browse files- README.md +6 -4
- index.html +1083 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
title: 12samtech
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
title: 12samtech
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,1083 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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device-width, initial-scale=1.0">
|
| 6 |
+
<title>Chez Adjo - Restaurant Béninois Authentique</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
/* Custom CSS for elements that need more styling */
|
| 11 |
+
.hero {
|
| 12 |
+
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1674&q=80');
|
| 13 |
+
background-size: cover;
|
| 14 |
+
background-position: center;
|
| 15 |
+
height: 80vh;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.dish-card:hover {
|
| 19 |
+
transform: translateY(-10px);
|
| 20 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.admin-panel {
|
| 24 |
+
min-height: 100vh;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
/* Animation for menu items */
|
| 28 |
+
@keyframes fadeIn {
|
| 29 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 30 |
+
to { opacity: 1; transform: translateY(0); }
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.menu-item {
|
| 34 |
+
animation: fadeIn 0.5s ease-out forwards;
|
| 35 |
+
opacity: 0;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.menu-item:nth-child(1) { animation-delay: 0.1s; }
|
| 39 |
+
.menu-item:nth-child(2) { animation-delay: 0.2s; }
|
| 40 |
+
.menu-item:nth-child(3) { animation-delay: 0.3s; }
|
| 41 |
+
.menu-item:nth-child(4) { animation-delay: 0.4s; }
|
| 42 |
+
.menu-item:nth-child(5) { animation-delay: 0.5s; }
|
| 43 |
+
.menu-item:nth-child(6) { animation-delay: 0.6s; }
|
| 44 |
+
</style>
|
| 45 |
+
</head>
|
| 46 |
+
<body class="font-sans bg-amber-50">
|
| 47 |
+
<!-- Navigation -->
|
| 48 |
+
<nav class="bg-amber-900 text-white shadow-lg sticky top-0 z-50">
|
| 49 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 50 |
+
<div class="flex items-center space-x-2">
|
| 51 |
+
<i class="fas fa-utensils text-2xl text-amber-300"></i>
|
| 52 |
+
<a href="#" class="text-2xl font-bold">Chez Adjo</a>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<!-- Mobile menu button -->
|
| 56 |
+
<button id="mobile-menu-button" class="md:hidden focus:outline-none">
|
| 57 |
+
<i class="fas fa-bars text-2xl"></i>
|
| 58 |
+
</button>
|
| 59 |
+
|
| 60 |
+
<!-- Desktop Menu -->
|
| 61 |
+
<div class="hidden md:flex space-x-8">
|
| 62 |
+
<a href="#accueil" class="hover:text-amber-300 transition">Accueil</a>
|
| 63 |
+
<a href="#menu" class="hover:text-amber-300 transition">Menu</a>
|
| 64 |
+
<a href="#about" class="hover:text-amber-300 transition">À Propos</a>
|
| 65 |
+
<a href="#reservation" class="hover:text-amber-300 transition">Réservation</a>
|
| 66 |
+
<a href="#contact" class="hover:text-amber-300 transition">Contact</a>
|
| 67 |
+
<a href="#" id="admin-login-btn" class="bg-amber-600 hover:bg-amber-700 px-4 py-1 rounded transition">Admin</a>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<!-- Mobile Menu -->
|
| 72 |
+
<div id="mobile-menu" class="hidden md:hidden bg-amber-800 px-4 py-2">
|
| 73 |
+
<a href="#accueil" class="block py-2 hover:text-amber-300 transition">Accueil</a>
|
| 74 |
+
<a href="#menu" class="block py-2 hover:text-amber-300 transition">Menu</a>
|
| 75 |
+
<a href="#about" class="block py-2 hover:text-amber-300 transition">À Propos</a>
|
| 76 |
+
<a href="#reservation" class="block py-2 hover:text-amber-300 transition">Réservation</a>
|
| 77 |
+
<a href="#contact" class="block py-2 hover:text-amber-300 transition">Contact</a>
|
| 78 |
+
<a href="#" id="mobile-admin-btn" class="block py-2 hover:text-amber-300 transition">Admin</a>
|
| 79 |
+
</div>
|
| 80 |
+
</nav>
|
| 81 |
+
|
| 82 |
+
<!-- Hero Section -->
|
| 83 |
+
<section id="accueil" class="hero flex items-center justify-center text-center text-white">
|
| 84 |
+
<div class="px-4">
|
| 85 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-4">Saveurs Authentiques du Bénin</h1>
|
| 86 |
+
<p class="text-xl md:text-2xl mb-8">Découvrez les délices de la cuisine béninoise traditionnelle</p>
|
| 87 |
+
<a href="#reservation" class="bg-amber-600 hover:bg-amber-700 text-white font-bold py-3 px-8 rounded-full text-lg transition">Réserver une table</a>
|
| 88 |
+
</div>
|
| 89 |
+
</section>
|
| 90 |
+
|
| 91 |
+
<!-- Special Offers -->
|
| 92 |
+
<section class="bg-amber-800 text-white py-8">
|
| 93 |
+
<div class="container mx-auto px-4 text-center">
|
| 94 |
+
<h2 class="text-2xl font-bold mb-4">Offres Spéciales du Mois</h2>
|
| 95 |
+
<div class="flex flex-wrap justify-center gap-4">
|
| 96 |
+
<div class="bg-amber-700 p-4 rounded-lg">
|
| 97 |
+
<i class="fas fa-percentage text-2xl mb-2"></i>
|
| 98 |
+
<p>-20% sur tous les plats végétariens le lundi</p>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="bg-amber-700 p-4 rounded-lg">
|
| 101 |
+
<i class="fas fa-glass-cheers text-2xl mb-2"></i>
|
| 102 |
+
<p>Cocktail d'accueil offert pour toute réservation</p>
|
| 103 |
+
</div>
|
| 104 |
+
<div class="bg-amber-700 p-4 rounded-lg">
|
| 105 |
+
<i class="fas fa-users text-2xl mb-2"></i>
|
| 106 |
+
<p>Menu groupe à partir de 6 personnes</p>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
</div>
|
| 110 |
+
</section>
|
| 111 |
+
|
| 112 |
+
<!-- Menu Section -->
|
| 113 |
+
<section id="menu" class="py-16 bg-white">
|
| 114 |
+
<div class="container mx-auto px-4">
|
| 115 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-amber-900">Notre Menu</h2>
|
| 116 |
+
|
| 117 |
+
<!-- Menu Categories -->
|
| 118 |
+
<div class="flex justify-center mb-8">
|
| 119 |
+
<div class="inline-flex rounded-md shadow-sm">
|
| 120 |
+
<button onclick="filterMenu('all')" class="px-4 py-2 text-sm font-medium rounded-l-lg bg-amber-600 text-white">
|
| 121 |
+
Tout
|
| 122 |
+
</button>
|
| 123 |
+
<button onclick="filterMenu('entrees')" class="px-4 py-2 text-sm font-medium bg-amber-100 text-amber-800">
|
| 124 |
+
Entrées
|
| 125 |
+
</button>
|
| 126 |
+
<button onclick="filterMenu('plats')" class="px-4 py-2 text-sm font-medium bg-amber-100 text-amber-800">
|
| 127 |
+
Plats Principaux
|
| 128 |
+
</button>
|
| 129 |
+
<button onclick="filterMenu('desserts')" class="px-4 py-2 text-sm font-medium rounded-r-lg bg-amber-100 text-amber-800">
|
| 130 |
+
Desserts
|
| 131 |
+
</button>
|
| 132 |
+
</div>
|
| 133 |
+
</div>
|
| 134 |
+
|
| 135 |
+
<!-- Menu Items -->
|
| 136 |
+
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 137 |
+
<!-- Entrée 1 -->
|
| 138 |
+
<div class="menu-item entree dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 139 |
+
<img src="https://images.unsplash.com/photo-1601050690597-df0568f70950?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Accras" class="w-full h-48 object-cover">
|
| 140 |
+
<div class="p-6">
|
| 141 |
+
<div class="flex justify-between items-start">
|
| 142 |
+
<h3 class="text-xl font-bold text-amber-900">Accras de Morue</h3>
|
| 143 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Entrée</span>
|
| 144 |
+
</div>
|
| 145 |
+
<p class="text-gray-600 mt-2">Beignets de morue épicés, servis avec une sauce piquante maison.</p>
|
| 146 |
+
<div class="flex justify-between items-center mt-4">
|
| 147 |
+
<span class="text-amber-700 font-bold">3 500 FCFA</span>
|
| 148 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="1" data-name="Accras de Morue" data-price="3500">
|
| 149 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 150 |
+
</button>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
|
| 155 |
+
<!-- Entrée 2 -->
|
| 156 |
+
<div class="menu-item entree dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 157 |
+
<img src="https://images.unsplash.com/photo-1512621776951-a57141f2eefd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Salade" class="w-full h-48 object-cover">
|
| 158 |
+
<div class="p-6">
|
| 159 |
+
<div class="flex justify-between items-start">
|
| 160 |
+
<h3 class="text-xl font-bold text-amber-900">Salade Gboma</h3>
|
| 161 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Entrée</span>
|
| 162 |
+
</div>
|
| 163 |
+
<p class="text-gray-600 mt-2">Salade fraîche d'épinards locaux avec tomates, oignons et vinaigrette spéciale.</p>
|
| 164 |
+
<div class="flex justify-between items-center mt-4">
|
| 165 |
+
<span class="text-amber-700 font-bold">4 000 FCFA</span>
|
| 166 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="2" data-name="Salade Gboma" data-price="4000">
|
| 167 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 168 |
+
</button>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
|
| 173 |
+
<!-- Plat 1 -->
|
| 174 |
+
<div class="menu-item plat dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 175 |
+
<img src="https://images.unsplash.com/photo-1551504734-5ee1c4a1479b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Poulet" class="w-full h-48 object-cover">
|
| 176 |
+
<div class="p-6">
|
| 177 |
+
<div class="flex justify-between items-start">
|
| 178 |
+
<h3 class="text-xl font-bold text-amber-900">Poulet Yassa</h3>
|
| 179 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Plat Principal</span>
|
| 180 |
+
</div>
|
| 181 |
+
<p class="text-gray-600 mt-2">Poulet mariné au citron et oignons, servi avec du riz blanc.</p>
|
| 182 |
+
<div class="flex justify-between items-center mt-4">
|
| 183 |
+
<span class="text-amber-700 font-bold">6 500 FCFA</span>
|
| 184 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="3" data-name="Poulet Yassa" data-price="6500">
|
| 185 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 186 |
+
</button>
|
| 187 |
+
</div>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
|
| 191 |
+
<!-- Plat 2 -->
|
| 192 |
+
<div class="menu-item plat dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 193 |
+
<img src="https://images.unsplash.com/photo-1547592180-85f173990554?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Poisson" class="w-full h-48 object-cover">
|
| 194 |
+
<div class="p-6">
|
| 195 |
+
<div class="flex justify-between items-start">
|
| 196 |
+
<h3 class="text-xl font-bold text-amber-900">Poisson Braisé</h3>
|
| 197 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Plat Principal</span>
|
| 198 |
+
</div>
|
| 199 |
+
<p class="text-gray-600 mt-2">Capitaine ou tilapia grillé, accompagné d'attiéké et d'alloco.</p>
|
| 200 |
+
<div class="flex justify-between items-center mt-4">
|
| 201 |
+
<span class="text-amber-700 font-bold">7 500 FCFA</span>
|
| 202 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="4" data-name="Poisson Braisé" data-price="7500">
|
| 203 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 204 |
+
</button>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
</div>
|
| 208 |
+
|
| 209 |
+
<!-- Dessert 1 -->
|
| 210 |
+
<div class="menu-item dessert dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 211 |
+
<img src="https://images.unsplash.com/photo-1551024506-0bccd828d307?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1557&q=80" alt="Dessert" class="w-full h-48 object-cover">
|
| 212 |
+
<div class="p-6">
|
| 213 |
+
<div class="flex justify-between items-start">
|
| 214 |
+
<h3 class="text-xl font-bold text-amber-900">Beignets de Banane</h3>
|
| 215 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Dessert</span>
|
| 216 |
+
</div>
|
| 217 |
+
<p class="text-gray-600 mt-2">Beignets moelleux à la banane plantain, saupoudrés de sucre.</p>
|
| 218 |
+
<div class="flex justify-between items-center mt-4">
|
| 219 |
+
<span class="text-amber-700 font-bold">2 500 FCFA</span>
|
| 220 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="5" data-name="Beignets de Banane" data-price="2500">
|
| 221 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 222 |
+
</button>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<!-- Dessert 2 -->
|
| 228 |
+
<div class="menu-item dessert dish-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
|
| 229 |
+
<img src="https://images.unsplash.com/photo-1563805042-7684c019e1cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1527&q=80" alt="Dessert" class="w-full h-48 object-cover">
|
| 230 |
+
<div class="p-6">
|
| 231 |
+
<div class="flex justify-between items-start">
|
| 232 |
+
<h3 class="text-xl font-bold text-amber-900">Fruits Frais du Bénin</h3>
|
| 233 |
+
<span class="bg-amber-100 text-amber-800 px-2 py-1 rounded text-sm">Dessert</span>
|
| 234 |
+
</div>
|
| 235 |
+
<p class="text-gray-600 mt-2">Assortiment de fruits de saison (mangue, ananas, papaye, etc.).</p>
|
| 236 |
+
<div class="flex justify-between items-center mt-4">
|
| 237 |
+
<span class="text-amber-700 font-bold">3 000 FCFA</span>
|
| 238 |
+
<button class="add-to-cart bg-amber-600 hover:bg-amber-700 text-white px-3 py-1 rounded transition" data-id="6" data-name="Fruits Frais du Bénin" data-price="3000">
|
| 239 |
+
<i class="fas fa-cart-plus"></i> Ajouter
|
| 240 |
+
</button>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
</section>
|
| 247 |
+
|
| 248 |
+
<!-- About Section -->
|
| 249 |
+
<section id="about" class="py-16 bg-amber-100">
|
| 250 |
+
<div class="container mx-auto px-4">
|
| 251 |
+
<div class="flex flex-col md:flex-row items-center">
|
| 252 |
+
<div class="md:w-1/2 mb-8 md:mb-0 md:pr-8">
|
| 253 |
+
<img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1674&q=80" alt="Restaurant" class="rounded-lg shadow-lg w-full">
|
| 254 |
+
</div>
|
| 255 |
+
<div class="md:w-1/2">
|
| 256 |
+
<h2 class="text-3xl font-bold mb-6 text-amber-900">Notre Histoire</h2>
|
| 257 |
+
<p class="text-gray-700 mb-4">Fondé en 2010 par Adjo, une passionnée de cuisine traditionnelle béninoise, notre restaurant vous propose une expérience culinaire authentique dans une ambiance chaleureuse et conviviale.</p>
|
| 258 |
+
<p class="text-gray-700 mb-4">Tous nos plats sont préparés avec des ingrédients frais et locaux, selon des recettes transmises de génération en génération.</p>
|
| 259 |
+
<p class="text-gray-700 mb-6">Nous nous engageons à promouvoir la richesse de la gastronomie béninoise tout en soutenant les producteurs locaux.</p>
|
| 260 |
+
<div class="flex space-x-4">
|
| 261 |
+
<div class="bg-amber-600 text-white p-4 rounded-lg text-center">
|
| 262 |
+
<i class="fas fa-utensils text-2xl mb-2"></i>
|
| 263 |
+
<p class="font-bold">15+</p>
|
| 264 |
+
<p class="text-sm">Plats Traditionnels</p>
|
| 265 |
+
</div>
|
| 266 |
+
<div class="bg-amber-600 text-white p-4 rounded-lg text-center">
|
| 267 |
+
<i class="fas fa-award text-2xl mb-2"></i>
|
| 268 |
+
<p class="font-bold">3</p>
|
| 269 |
+
<p class="text-sm">Prix Culinaires</p>
|
| 270 |
+
</div>
|
| 271 |
+
<div class="bg-amber-600 text-white p-4 rounded-lg text-center">
|
| 272 |
+
<i class="fas fa-smile text-2xl mb-2"></i>
|
| 273 |
+
<p class="font-bold">1000+</p>
|
| 274 |
+
<p class="text-sm">Clients Satisfaits</p>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</section>
|
| 281 |
+
|
| 282 |
+
<!-- Testimonials -->
|
| 283 |
+
<section class="py-16 bg-amber-800 text-white">
|
| 284 |
+
<div class="container mx-auto px-4">
|
| 285 |
+
<h2 class="text-3xl font-bold text-center mb-12">Ce Que Disent Nos Clients</h2>
|
| 286 |
+
|
| 287 |
+
<div class="grid md:grid-cols-3 gap-8">
|
| 288 |
+
<!-- Testimonial 1 -->
|
| 289 |
+
<div class="bg-amber-700 p-6 rounded-lg">
|
| 290 |
+
<div class="flex items-center mb-4">
|
| 291 |
+
<img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Client" class="w-12 h-12 rounded-full mr-4">
|
| 292 |
+
<div>
|
| 293 |
+
<h4 class="font-bold">Amina K.</h4>
|
| 294 |
+
<div class="flex text-amber-300">
|
| 295 |
+
<i class="fas fa-star"></i>
|
| 296 |
+
<i class="fas fa-star"></i>
|
| 297 |
+
<i class="fas fa-star"></i>
|
| 298 |
+
<i class="fas fa-star"></i>
|
| 299 |
+
<i class="fas fa-star"></i>
|
| 300 |
+
</div>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
<p>"Le meilleur restaurant béninois de la ville ! Le poulet yassa est à tomber par terre. Service impeccable et ambiance très chaleureuse."</p>
|
| 304 |
+
</div>
|
| 305 |
+
|
| 306 |
+
<!-- Testimonial 2 -->
|
| 307 |
+
<div class="bg-amber-700 p-6 rounded-lg">
|
| 308 |
+
<div class="flex items-center mb-4">
|
| 309 |
+
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Client" class="w-12 h-12 rounded-full mr-4">
|
| 310 |
+
<div>
|
| 311 |
+
<h4 class="font-bold">Koffi D.</h4>
|
| 312 |
+
<div class="flex text-amber-300">
|
| 313 |
+
<i class="fas fa-star"></i>
|
| 314 |
+
<i class="fas fa-star"></i>
|
| 315 |
+
<i class="fas fa-star"></i>
|
| 316 |
+
<i class="fas fa-star"></i>
|
| 317 |
+
<i class="fas fa-star-half-alt"></i>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
<p>"En tant que Béninois vivant à l'étranger, ce restaurant me rappelle les saveurs de mon enfance. Les accras sont exactement comme ma grand-mère les faisait."</p>
|
| 322 |
+
</div>
|
| 323 |
+
|
| 324 |
+
<!-- Testimonial 3 -->
|
| 325 |
+
<div class="bg-amber-700 p-6 rounded-lg">
|
| 326 |
+
<div class="flex items-center mb-4">
|
| 327 |
+
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Client" class="w-12 h-12 rounded-full mr-4">
|
| 328 |
+
<div>
|
| 329 |
+
<h4 class="font-bold">Sophie L.</h4>
|
| 330 |
+
<div class="flex text-amber-300">
|
| 331 |
+
<i class="fas fa-star"></i>
|
| 332 |
+
<i class="fas fa-star"></i>
|
| 333 |
+
<i class="fas fa-star"></i>
|
| 334 |
+
<i class="fas fa-star"></i>
|
| 335 |
+
<i class="fas fa-star"></i>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
<p>"Découverte culinaire exceptionnelle ! Le personnel est très accueillant et m'a guidé dans mes choix. Je recommande vivement le poisson braisé."</p>
|
| 340 |
+
</div>
|
| 341 |
+
</div>
|
| 342 |
+
</div>
|
| 343 |
+
</section>
|
| 344 |
+
|
| 345 |
+
<!-- Reservation Section -->
|
| 346 |
+
<section id="reservation" class="py-16 bg-white">
|
| 347 |
+
<div class="container mx-auto px-4">
|
| 348 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-amber-900">Réserver une Table</h2>
|
| 349 |
+
|
| 350 |
+
<div class="max-w-2xl mx-auto bg-amber-50 p-8 rounded-lg shadow-lg">
|
| 351 |
+
<form id="reservation-form">
|
| 352 |
+
<div class="grid md:grid-cols-2 gap-6">
|
| 353 |
+
<div>
|
| 354 |
+
<label for="name" class="block text-gray-700 mb-2">Nom Complet</label>
|
| 355 |
+
<input type="text" id="name" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 356 |
+
</div>
|
| 357 |
+
<div>
|
| 358 |
+
<label for="email" class="block text-gray-700 mb-2">Email</label>
|
| 359 |
+
<input type="email" id="email" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 360 |
+
</div>
|
| 361 |
+
<div>
|
| 362 |
+
<label for="phone" class="block text-gray-700 mb-2">Téléphone</label>
|
| 363 |
+
<input type="tel" id="phone" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 364 |
+
</div>
|
| 365 |
+
<div>
|
| 366 |
+
<label for="guests" class="block text-gray-700 mb-2">Nombre de Personnes</label>
|
| 367 |
+
<select id="guests" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 368 |
+
<option value="1">1 personne</option>
|
| 369 |
+
<option value="2">2 personnes</option>
|
| 370 |
+
<option value="3">3 personnes</option>
|
| 371 |
+
<option value="4">4 personnes</option>
|
| 372 |
+
<option value="5">5 personnes</option>
|
| 373 |
+
<option value="6">6+ personnes</option>
|
| 374 |
+
</select>
|
| 375 |
+
</div>
|
| 376 |
+
<div>
|
| 377 |
+
<label for="date" class="block text-gray-700 mb-2">Date</label>
|
| 378 |
+
<input type="date" id="date" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 379 |
+
</div>
|
| 380 |
+
<div>
|
| 381 |
+
<label for="time" class="block text-gray-700 mb-2">Heure</label>
|
| 382 |
+
<select id="time" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 383 |
+
<option value="12:00">12:00</option>
|
| 384 |
+
<option value="12:30">12:30</option>
|
| 385 |
+
<option value="13:00">13:00</option>
|
| 386 |
+
<option value="13:30">13:30</option>
|
| 387 |
+
<option value="19:00">19:00</option>
|
| 388 |
+
<option value="19:30">19:30</option>
|
| 389 |
+
<option value="20:00">20:00</option>
|
| 390 |
+
<option value="20:30">20:30</option>
|
| 391 |
+
</select>
|
| 392 |
+
</div>
|
| 393 |
+
</div>
|
| 394 |
+
<div class="mt-6">
|
| 395 |
+
<label for="notes" class="block text-gray-700 mb-2">Notes Spéciales</label>
|
| 396 |
+
<textarea id="notes" rows="3" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500"></textarea>
|
| 397 |
+
</div>
|
| 398 |
+
<div class="mt-8 text-center">
|
| 399 |
+
<button type="submit" class="bg-amber-600 hover:bg-amber-700 text-white font-bold py-3 px-8 rounded-full text-lg transition">Confirmer la Réservation</button>
|
| 400 |
+
</div>
|
| 401 |
+
</form>
|
| 402 |
+
</div>
|
| 403 |
+
</div>
|
| 404 |
+
</section>
|
| 405 |
+
|
| 406 |
+
<!-- Contact Section -->
|
| 407 |
+
<section id="contact" class="py-16 bg-amber-100">
|
| 408 |
+
<div class="container mx-auto px-4">
|
| 409 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-amber-900">Contactez-Nous</h2>
|
| 410 |
+
|
| 411 |
+
<div class="flex flex-col md:flex-row gap-8">
|
| 412 |
+
<div class="md:w-1/2">
|
| 413 |
+
<div class="bg-white p-8 rounded-lg shadow-lg">
|
| 414 |
+
<form id="contact-form">
|
| 415 |
+
<div class="mb-4">
|
| 416 |
+
<label for="contact-name" class="block text-gray-700 mb-2">Votre Nom</label>
|
| 417 |
+
<input type="text" id="contact-name" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 418 |
+
</div>
|
| 419 |
+
<div class="mb-4">
|
| 420 |
+
<label for="contact-email" class="block text-gray-700 mb-2">Votre Email</label>
|
| 421 |
+
<input type="email" id="contact-email" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 422 |
+
</div>
|
| 423 |
+
<div class="mb-4">
|
| 424 |
+
<label for="contact-subject" class="block text-gray-700 mb-2">Sujet</label>
|
| 425 |
+
<input type="text" id="contact-subject" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 426 |
+
</div>
|
| 427 |
+
<div class="mb-4">
|
| 428 |
+
<label for="contact-message" class="block text-gray-700 mb-2">Message</label>
|
| 429 |
+
<textarea id="contact-message" rows="4" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required></textarea>
|
| 430 |
+
</div>
|
| 431 |
+
<button type="submit" class="bg-amber-600 hover:bg-amber-700 text-white font-bold py-2 px-6 rounded-full transition">Envoyer le Message</button>
|
| 432 |
+
</form>
|
| 433 |
+
</div>
|
| 434 |
+
</div>
|
| 435 |
+
|
| 436 |
+
<div class="md:w-1/2">
|
| 437 |
+
<div class="bg-white p-8 rounded-lg shadow-lg h-full">
|
| 438 |
+
<h3 class="text-xl font-bold mb-6 text-amber-900">Nos Coordonnées</h3>
|
| 439 |
+
|
| 440 |
+
<div class="space-y-6">
|
| 441 |
+
<div class="flex items-start">
|
| 442 |
+
<i class="fas fa-map-marker-alt text-2xl text-amber-600 mr-4 mt-1"></i>
|
| 443 |
+
<div>
|
| 444 |
+
<h4 class="font-bold">Adresse</h4>
|
| 445 |
+
<p>123 Avenue de la Paix, Cotonou, Bénin</p>
|
| 446 |
+
</div>
|
| 447 |
+
</div>
|
| 448 |
+
|
| 449 |
+
<div class="flex items-start">
|
| 450 |
+
<i class="fas fa-phone-alt text-2xl text-amber-600 mr-4 mt-1"></i>
|
| 451 |
+
<div>
|
| 452 |
+
<h4 class="font-bold">Téléphone</h4>
|
| 453 |
+
<p>+229 12 34 56 78</p>
|
| 454 |
+
<p>+229 98 76 54 32</p>
|
| 455 |
+
</div>
|
| 456 |
+
</div>
|
| 457 |
+
|
| 458 |
+
<div class="flex items-start">
|
| 459 |
+
<i class="fas fa-envelope text-2xl text-amber-600 mr-4 mt-1"></i>
|
| 460 |
+
<div>
|
| 461 |
+
<h4 class="font-bold">Email</h4>
|
| 462 |
+
<p>contact@chezadjo.bj</p>
|
| 463 |
+
<p>reservation@chezadjo.bj</p>
|
| 464 |
+
</div>
|
| 465 |
+
</div>
|
| 466 |
+
|
| 467 |
+
<div class="flex items-start">
|
| 468 |
+
<i class="fas fa-clock text-2xl text-amber-600 mr-4 mt-1"></i>
|
| 469 |
+
<div>
|
| 470 |
+
<h4 class="font-bold">Heures d'Ouverture</h4>
|
| 471 |
+
<p>Lundi - Vendredi: 11h30 - 22h00</p>
|
| 472 |
+
<p>Samedi - Dimanche: 12h00 - 23h00</p>
|
| 473 |
+
</div>
|
| 474 |
+
</div>
|
| 475 |
+
</div>
|
| 476 |
+
|
| 477 |
+
<div class="mt-8">
|
| 478 |
+
<h4 class="font-bold mb-4">Suivez-Nous</h4>
|
| 479 |
+
<div class="flex space-x-4">
|
| 480 |
+
<a href="#" class="bg-amber-600 text-white p-3 rounded-full hover:bg-amber-700 transition">
|
| 481 |
+
<i class="fab fa-facebook-f"></i>
|
| 482 |
+
</a>
|
| 483 |
+
<a href="#" class="bg-amber-600 text-white p-3 rounded-full hover:bg-amber-700 transition">
|
| 484 |
+
<i class="fab fa-instagram"></i>
|
| 485 |
+
</a>
|
| 486 |
+
<a href="#" class="bg-amber-600 text-white p-3 rounded-full hover:bg-amber-700 transition">
|
| 487 |
+
<i class="fab fa-twitter"></i>
|
| 488 |
+
</a>
|
| 489 |
+
<a href="#" class="bg-amber-600 text-white p-3 rounded-full hover:bg-amber-700 transition">
|
| 490 |
+
<i class="fab fa-tripadvisor"></i>
|
| 491 |
+
</a>
|
| 492 |
+
</div>
|
| 493 |
+
</div>
|
| 494 |
+
</div>
|
| 495 |
+
</div>
|
| 496 |
+
</div>
|
| 497 |
+
</div>
|
| 498 |
+
</section>
|
| 499 |
+
|
| 500 |
+
<!-- Map -->
|
| 501 |
+
<div class="h-96 w-full">
|
| 502 |
+
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3966.521260322283!2d2.420505414768757!3d6.365646645411325!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1023556e8a1f2e9b%3A0x1d5e6a9a1a9a1a9a!2sCotonou%2C%20B%C3%A9nin!5e0!3m2!1sfr!2sfr!4v1623250000000!5m2!1sfr!2sfr" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
|
| 503 |
+
</div>
|
| 504 |
+
|
| 505 |
+
<!-- Shopping Cart Sidebar -->
|
| 506 |
+
<div id="cart-sidebar" class="fixed top-0 right-0 w-full md:w-96 h-full bg-white shadow-lg z-50 transform translate-x-full transition-transform duration-300 overflow-y-auto">
|
| 507 |
+
<div class="p-6">
|
| 508 |
+
<div class="flex justify-between items-center mb-6">
|
| 509 |
+
<h3 class="text-xl font-bold">Votre Panier</h3>
|
| 510 |
+
<button id="close-cart" class="text-gray-500 hover:text-gray-700">
|
| 511 |
+
<i class="fas fa-times text-2xl"></i>
|
| 512 |
+
</button>
|
| 513 |
+
</div>
|
| 514 |
+
|
| 515 |
+
<div id="cart-items" class="space-y-4">
|
| 516 |
+
<!-- Cart items will be added here dynamically -->
|
| 517 |
+
<p class="text-center text-gray-500 py-8">Votre panier est vide</p>
|
| 518 |
+
</div>
|
| 519 |
+
|
| 520 |
+
<div class="border-t mt-6 pt-4">
|
| 521 |
+
<div class="flex justify-between mb-2">
|
| 522 |
+
<span>Sous-total:</span>
|
| 523 |
+
<span id="cart-subtotal">0 FCFA</span>
|
| 524 |
+
</div>
|
| 525 |
+
<div class="flex justify-between mb-4">
|
| 526 |
+
<span>Frais de service (10%):</span>
|
| 527 |
+
<span id="cart-service">0 FCFA</span>
|
| 528 |
+
</div>
|
| 529 |
+
<div class="flex justify-between font-bold text-lg">
|
| 530 |
+
<span>Total:</span>
|
| 531 |
+
<span id="cart-total">0 FCFA</span>
|
| 532 |
+
</div>
|
| 533 |
+
|
| 534 |
+
<button id="checkout-btn" class="w-full bg-amber-600 hover:bg-amber-700 text-white font-bold py-3 px-4 rounded-lg mt-6 transition">
|
| 535 |
+
Commander Maintenant
|
| 536 |
+
</button>
|
| 537 |
+
</div>
|
| 538 |
+
</div>
|
| 539 |
+
</div>
|
| 540 |
+
|
| 541 |
+
<!-- Cart Button -->
|
| 542 |
+
<button id="cart-button" class="fixed bottom-6 right-6 bg-amber-600 text-white p-4 rounded-full shadow-lg hover:bg-amber-700 transition z-40">
|
| 543 |
+
<i class="fas fa-shopping-cart text-xl"></i>
|
| 544 |
+
<span id="cart-count" class="absolute -top-2 -right-2 bg-red-500 text-white text-xs font-bold rounded-full h-6 w-6 flex items-center justify-center">0</span>
|
| 545 |
+
</button>
|
| 546 |
+
|
| 547 |
+
<!-- Login Modal -->
|
| 548 |
+
<div id="login-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 549 |
+
<div class="bg-white rounded-lg p-8 max-w-md w-full">
|
| 550 |
+
<div class="flex justify-between items-center mb-6">
|
| 551 |
+
<h3 class="text-xl font-bold">Connexion Admin</h3>
|
| 552 |
+
<button id="close-login" class="text-gray-500 hover:text-gray-700">
|
| 553 |
+
<i class="fas fa-times"></i>
|
| 554 |
+
</button>
|
| 555 |
+
</div>
|
| 556 |
+
|
| 557 |
+
<form id="admin-login-form">
|
| 558 |
+
<div class="mb-4">
|
| 559 |
+
<label for="admin-username" class="block text-gray-700 mb-2">Nom d'utilisateur</label>
|
| 560 |
+
<input type="text" id="admin-username" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 561 |
+
</div>
|
| 562 |
+
<div class="mb-6">
|
| 563 |
+
<label for="admin-password" class="block text-gray-700 mb-2">Mot de passe</label>
|
| 564 |
+
<input type="password" id="admin-password" class="w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-amber-500" required>
|
| 565 |
+
</div>
|
| 566 |
+
<button type="submit" class="w-full bg-amber-600 hover:bg-amber-700 text-white font-bold py-2 px-4 rounded-lg transition">
|
| 567 |
+
Se Connecter
|
| 568 |
+
</button>
|
| 569 |
+
</form>
|
| 570 |
+
</div>
|
| 571 |
+
</div>
|
| 572 |
+
|
| 573 |
+
<!-- Admin Panel (hidden by default) -->
|
| 574 |
+
<div id="admin-panel" class="admin-panel bg-gray-100 hidden">
|
| 575 |
+
<nav class="bg-amber-900 text-white shadow-lg">
|
| 576 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
| 577 |
+
<div class="flex items-center space-x-2">
|
| 578 |
+
<i class="fas fa-user-shield text-xl text-amber-300"></i>
|
| 579 |
+
<span class="text-xl font-bold">Panel Admin</span>
|
| 580 |
+
</div>
|
| 581 |
+
<button id="logout-btn" class="bg-red-600 hover:bg-red-700 text-white px-4 py-1 rounded transition">
|
| 582 |
+
Déconnexion
|
| 583 |
+
</button>
|
| 584 |
+
</div>
|
| 585 |
+
</nav>
|
| 586 |
+
|
| 587 |
+
<div class="container mx-auto px-4 py-8">
|
| 588 |
+
<h1 class="text-3xl font-bold mb-8 text-amber-900">Gestion du Restaurant</h1>
|
| 589 |
+
|
| 590 |
+
<div class="grid md:grid-cols-3 gap-8 mb-8">
|
| 591 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
| 592 |
+
<div class="flex items-center justify-between">
|
| 593 |
+
<div>
|
| 594 |
+
<p class="text-gray-500">Réservations Aujourd'hui</p>
|
| 595 |
+
<p class="text-3xl font-bold">12</p>
|
| 596 |
+
</div>
|
| 597 |
+
<i class="fas fa-calendar-check text-4xl text-amber-500"></i>
|
| 598 |
+
</div>
|
| 599 |
+
</div>
|
| 600 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
| 601 |
+
<div class="flex items-center justify-between">
|
| 602 |
+
<div>
|
| 603 |
+
<p class="text-gray-500">Commandes en Cours</p>
|
| 604 |
+
<p class="text-3xl font-bold">8</p>
|
| 605 |
+
</div>
|
| 606 |
+
<i class="fas fa-utensils text-4xl text-amber-500"></i>
|
| 607 |
+
</div>
|
| 608 |
+
</div>
|
| 609 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
| 610 |
+
<div class="flex items-center justify-between">
|
| 611 |
+
<div>
|
| 612 |
+
<p class="text-gray-500">Revenu du Jour</p>
|
| 613 |
+
<p class="text-3xl font-bold">125 000 FCFA</p>
|
| 614 |
+
</div>
|
| 615 |
+
<i class="fas fa-money-bill-wave text-4xl text-amber-500"></i>
|
| 616 |
+
</div>
|
| 617 |
+
</div>
|
| 618 |
+
</div>
|
| 619 |
+
|
| 620 |
+
<div class="grid md:grid-cols-2 gap-8">
|
| 621 |
+
<!-- Reservations -->
|
| 622 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
| 623 |
+
<div class="flex justify-between items-center mb-4">
|
| 624 |
+
<h2 class="text-xl font-bold">Dernières Réservations</h2>
|
| 625 |
+
<button class="text-amber-600 hover:text-amber-800">
|
| 626 |
+
<i class="fas fa-plus"></i> Ajouter
|
| 627 |
+
</button>
|
| 628 |
+
</div>
|
| 629 |
+
<div class="overflow-x-auto">
|
| 630 |
+
<table class="min-w-full">
|
| 631 |
+
<thead>
|
| 632 |
+
<tr class="border-b">
|
| 633 |
+
<th class="text-left py-2">Nom</th>
|
| 634 |
+
<th class="text-left py-2">Date</th>
|
| 635 |
+
<th class="text-left py-2">Heure</th>
|
| 636 |
+
<th class="text-left py-2">Actions</th>
|
| 637 |
+
</tr>
|
| 638 |
+
</thead>
|
| 639 |
+
<tbody>
|
| 640 |
+
<tr class="border-b">
|
| 641 |
+
<td class="py-2">Koffi Adjanohoun</td>
|
| 642 |
+
<td class="py-2">15/07/2023</td>
|
| 643 |
+
<td class="py-2">19:30</td>
|
| 644 |
+
<td class="py-2">
|
| 645 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 646 |
+
<i class="fas fa-edit"></i>
|
| 647 |
+
</button>
|
| 648 |
+
<button class="text-red-500 hover:text-red-700">
|
| 649 |
+
<i class="fas fa-trash"></i>
|
| 650 |
+
</button>
|
| 651 |
+
</td>
|
| 652 |
+
</tr>
|
| 653 |
+
<tr class="border-b">
|
| 654 |
+
<td class="py-2">Amina Salami</td>
|
| 655 |
+
<td class="py-2">15/07/2023</td>
|
| 656 |
+
<td class="py-2">20:00</td>
|
| 657 |
+
<td class="py-2">
|
| 658 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 659 |
+
<i class="fas fa-edit"></i>
|
| 660 |
+
</button>
|
| 661 |
+
<button class="text-red-500 hover:text-red-700">
|
| 662 |
+
<i class="fas fa-trash"></i>
|
| 663 |
+
</button>
|
| 664 |
+
</td>
|
| 665 |
+
</tr>
|
| 666 |
+
<tr class="border-b">
|
| 667 |
+
<td class="py-2">Jean Dupont</td>
|
| 668 |
+
<td class="py-2">16/07/2023</td>
|
| 669 |
+
<td class="py-2">12:30</td>
|
| 670 |
+
<td class="py-2">
|
| 671 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 672 |
+
<i class="fas fa-edit"></i>
|
| 673 |
+
</button>
|
| 674 |
+
<button class="text-red-500 hover:text-red-700">
|
| 675 |
+
<i class="fas fa-trash"></i>
|
| 676 |
+
</button>
|
| 677 |
+
</td>
|
| 678 |
+
</tr>
|
| 679 |
+
</tbody>
|
| 680 |
+
</table>
|
| 681 |
+
</div>
|
| 682 |
+
</div>
|
| 683 |
+
|
| 684 |
+
<!-- Menu Management -->
|
| 685 |
+
<div class="bg-white p-6 rounded-lg shadow">
|
| 686 |
+
<div class="flex justify-between items-center mb-4">
|
| 687 |
+
<h2 class="text-xl font-bold">Gestion du Menu</h2>
|
| 688 |
+
<button class="text-amber-600 hover:text-amber-800">
|
| 689 |
+
<i class="fas fa-plus"></i> Ajouter
|
| 690 |
+
</button>
|
| 691 |
+
</div>
|
| 692 |
+
<div class="overflow-x-auto">
|
| 693 |
+
<table class="min-w-full">
|
| 694 |
+
<thead>
|
| 695 |
+
<tr class="border-b">
|
| 696 |
+
<th class="text-left py-2">Plat</th>
|
| 697 |
+
<th class="text-left py-2">Catégorie</th>
|
| 698 |
+
<th class="text-left py-2">Prix</th>
|
| 699 |
+
<th class="text-left py-2">Actions</th>
|
| 700 |
+
</tr>
|
| 701 |
+
</thead>
|
| 702 |
+
<tbody>
|
| 703 |
+
<tr class="border-b">
|
| 704 |
+
<td class="py-2">Accras de Morue</td>
|
| 705 |
+
<td class="py-2">Entrée</td>
|
| 706 |
+
<td class="py-2">3 500 FCFA</td>
|
| 707 |
+
<td class="py-2">
|
| 708 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 709 |
+
<i class="fas fa-edit"></i>
|
| 710 |
+
</button>
|
| 711 |
+
<button class="text-red-500 hover:text-red-700">
|
| 712 |
+
<i class="fas fa-trash"></i>
|
| 713 |
+
</button>
|
| 714 |
+
</td>
|
| 715 |
+
</tr>
|
| 716 |
+
<tr class="border-b">
|
| 717 |
+
<td class="py-2">Poulet Yassa</td>
|
| 718 |
+
<td class="py-2">Plat Principal</td>
|
| 719 |
+
<td class="py-2">6 500 FCFA</td>
|
| 720 |
+
<td class="py-2">
|
| 721 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 722 |
+
<i class="fas fa-edit"></i>
|
| 723 |
+
</button>
|
| 724 |
+
<button class="text-red-500 hover:text-red-700">
|
| 725 |
+
<i class="fas fa-trash"></i>
|
| 726 |
+
</button>
|
| 727 |
+
</td>
|
| 728 |
+
</tr>
|
| 729 |
+
<tr class="border-b">
|
| 730 |
+
<td class="py-2">Beignets de Banane</td>
|
| 731 |
+
<td class="py-2">Dessert</td>
|
| 732 |
+
<td class="py-2">2 500 FCFA</td>
|
| 733 |
+
<td class="py-2">
|
| 734 |
+
<button class="text-blue-500 hover:text-blue-700 mr-2">
|
| 735 |
+
<i class="fas fa-edit"></i>
|
| 736 |
+
</button>
|
| 737 |
+
<button class="text-red-500 hover:text-red-700">
|
| 738 |
+
<i class="fas fa-trash"></i>
|
| 739 |
+
</button>
|
| 740 |
+
</td>
|
| 741 |
+
</tr>
|
| 742 |
+
</tbody>
|
| 743 |
+
</table>
|
| 744 |
+
</div>
|
| 745 |
+
</div>
|
| 746 |
+
</div>
|
| 747 |
+
|
| 748 |
+
<!-- Orders -->
|
| 749 |
+
<div class="bg-white p-6 rounded-lg shadow mt-8">
|
| 750 |
+
<h2 class="text-xl font-bold mb-4">Commandes en Cours</h2>
|
| 751 |
+
<div class="space-y-4">
|
| 752 |
+
<div class="border p-4 rounded-lg">
|
| 753 |
+
<div class="flex justify-between items-center mb-2">
|
| 754 |
+
<span class="font-bold">Commande #1234</span>
|
| 755 |
+
<span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-sm">En Préparation</span>
|
| 756 |
+
</div>
|
| 757 |
+
<div class="mb-2">
|
| 758 |
+
<p>Table 5 - Koffi Adjanohoun</p>
|
| 759 |
+
<p class="text-sm text-gray-500">15/07/2023 19:30</p>
|
| 760 |
+
</div>
|
| 761 |
+
<div class="border-t pt-2">
|
| 762 |
+
<p class="font-bold">Plats:</p>
|
| 763 |
+
<ul class="list-disc list-inside">
|
| 764 |
+
<li>Poulet Yassa (x2)</li>
|
| 765 |
+
<li>Accras de Morue (x1)</li>
|
| 766 |
+
<li>Bouteille d'eau (x2)</li>
|
| 767 |
+
</ul>
|
| 768 |
+
</div>
|
| 769 |
+
<div class="flex justify-between mt-4">
|
| 770 |
+
<span class="font-bold">Total: 17 500 FCFA</span>
|
| 771 |
+
<button class="bg-green-500 hover:bg-green-600 text-white px-3 py-1 rounded text-sm">
|
| 772 |
+
Marquer comme Servi
|
| 773 |
+
</button>
|
| 774 |
+
</div>
|
| 775 |
+
</div>
|
| 776 |
+
|
| 777 |
+
<div class="border p-4 rounded-lg">
|
| 778 |
+
<div class="flex justify-between items-center mb-2">
|
| 779 |
+
<span class="font-bold">Commande #1233</span>
|
| 780 |
+
<span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-sm">Servi</span>
|
| 781 |
+
</div>
|
| 782 |
+
<div class="mb-2">
|
| 783 |
+
<p>Table 2 - Amina Salami</p>
|
| 784 |
+
<p class="text-sm text-gray-500">15/07/2023 20:00</p>
|
| 785 |
+
</div>
|
| 786 |
+
<div class="border-t pt-2">
|
| 787 |
+
<p class="font-bold">Plats:</p>
|
| 788 |
+
<ul class="list-disc list-inside">
|
| 789 |
+
<li>Poisson Braisé (x1)</li>
|
| 790 |
+
<li>Salade Gboma (x1)</li>
|
| 791 |
+
<li>Jus d'Ananas (x2)</li>
|
| 792 |
+
</ul>
|
| 793 |
+
</div>
|
| 794 |
+
<div class="flex justify-between mt-4">
|
| 795 |
+
<span class="font-bold">Total: 15 000 FCFA</span>
|
| 796 |
+
<button class="bg-gray-300 hover:bg-gray-400 text-gray-800 px-3 py-1 rounded text-sm" disabled>
|
| 797 |
+
Terminé
|
| 798 |
+
</button>
|
| 799 |
+
</div>
|
| 800 |
+
</div>
|
| 801 |
+
</div>
|
| 802 |
+
</div>
|
| 803 |
+
</div>
|
| 804 |
+
</div>
|
| 805 |
+
|
| 806 |
+
<!-- Footer -->
|
| 807 |
+
<footer class="bg-amber-900 text-white py-12">
|
| 808 |
+
<div class="container mx-auto px-4">
|
| 809 |
+
<div class="grid md:grid-cols-4 gap-8">
|
| 810 |
+
<div>
|
| 811 |
+
<h3 class="text-xl font-bold mb-4">Chez Adjo</h3>
|
| 812 |
+
<p>Restaurant béninois authentique offrant une expérience culinaire unique avec des saveurs traditionnelles.</p>
|
| 813 |
+
</div>
|
| 814 |
+
<div>
|
| 815 |
+
<h3 class="text-xl font-bold mb-4">Liens Rapides</h3>
|
| 816 |
+
<ul class="space-y-2">
|
| 817 |
+
<li><a href="#accueil" class="hover:text-amber-300 transition">Accueil</a></li>
|
| 818 |
+
<li><a href="#menu" class="hover:text-amber-300 transition">Menu</a></li>
|
| 819 |
+
<li><a href="#about" class="hover:text-amber-300 transition">À Propos</a></li>
|
| 820 |
+
<li><a href="#reservation" class="hover:text-amber-300 transition">Réservation</a></li>
|
| 821 |
+
<li><a href="#contact" class="hover:text-amber-300 transition">Contact</a></li>
|
| 822 |
+
</ul>
|
| 823 |
+
</div>
|
| 824 |
+
<div>
|
| 825 |
+
<h3 class="text-xl font-bold mb-4">Heures d'Ouverture</h3>
|
| 826 |
+
<ul class="space-y-2">
|
| 827 |
+
<li>Lundi - Vendredi: 11h30 - 22h00</li>
|
| 828 |
+
<li>Samedi - Dimanche: 12h00 - 23h00</li>
|
| 829 |
+
</ul>
|
| 830 |
+
</div>
|
| 831 |
+
<div>
|
| 832 |
+
<h3 class="text-xl font-bold mb-4">Newsletter</h3>
|
| 833 |
+
<p>Abonnez-vous pour recevoir nos offres spéciales.</p>
|
| 834 |
+
<form class="mt-4 flex">
|
| 835 |
+
<input type="email" placeholder="Votre email" class="px-4 py-2 w-full rounded-l-lg focus:outline-none text-gray-800">
|
| 836 |
+
<button type="submit" class="bg-amber-600 hover:bg-amber-700 px-4 py-2 rounded-r-lg transition">
|
| 837 |
+
<i class="fas fa-paper-plane"></i>
|
| 838 |
+
</button>
|
| 839 |
+
</form>
|
| 840 |
+
</div>
|
| 841 |
+
</div>
|
| 842 |
+
<div class="border-t border-amber-800 mt-8 pt-8 text-center">
|
| 843 |
+
<p>© 2023 Chez Adjo. Tous droits réservés.</p>
|
| 844 |
+
</div>
|
| 845 |
+
</div>
|
| 846 |
+
</footer>
|
| 847 |
+
|
| 848 |
+
<!-- Success Modal -->
|
| 849 |
+
<div id="success-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
| 850 |
+
<div class="bg-white rounded-lg p-8 max-w-md w-full text-center">
|
| 851 |
+
<div class="text-green-500 text-5xl mb-4">
|
| 852 |
+
<i class="fas fa-check-circle"></i>
|
| 853 |
+
</div>
|
| 854 |
+
<h3 class="text-xl font-bold mb-2" id="success-title">Succès!</h3>
|
| 855 |
+
<p id="success-message">Votre action a été effectuée avec succès.</p>
|
| 856 |
+
<button id="close-success" class="mt-6 bg-amber-600 hover:bg-amber-700 text-white font-bold py-2 px-6 rounded-full transition">
|
| 857 |
+
OK
|
| 858 |
+
</button>
|
| 859 |
+
</div>
|
| 860 |
+
</div>
|
| 861 |
+
|
| 862 |
+
<script>
|
| 863 |
+
// Mobile Menu Toggle
|
| 864 |
+
const mobileMenuButton = document.getElementById('mobile-menu-button');
|
| 865 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 866 |
+
|
| 867 |
+
mobileMenuButton.addEventListener('click', () => {
|
| 868 |
+
mobileMenu.classList.toggle('hidden');
|
| 869 |
+
});
|
| 870 |
+
|
| 871 |
+
// Shopping Cart
|
| 872 |
+
const cartButton = document.getElementById('cart-button');
|
| 873 |
+
const cartSidebar = document.getElementById('cart-sidebar');
|
| 874 |
+
const closeCart = document.getElementById('close-cart');
|
| 875 |
+
const cartCount = document.getElementById('cart-count');
|
| 876 |
+
const cartItems = document.getElementById('cart-items');
|
| 877 |
+
const cartSubtotal = document.getElementById('cart-subtotal');
|
| 878 |
+
const cartService = document.getElementById('cart-service');
|
| 879 |
+
const cartTotal = document.getElementById('cart-total');
|
| 880 |
+
const checkoutBtn = document.getElementById('checkout-btn');
|
| 881 |
+
|
| 882 |
+
let cart = [];
|
| 883 |
+
|
| 884 |
+
// Add to cart buttons
|
| 885 |
+
document.querySelectorAll('.add-to-cart').forEach(button => {
|
| 886 |
+
button.addEventListener('click', (e) => {
|
| 887 |
+
const id = e.target.getAttribute('data-id');
|
| 888 |
+
const name = e.target.getAttribute('data-name');
|
| 889 |
+
const price = parseInt(e.target.getAttribute('data-price'));
|
| 890 |
+
|
| 891 |
+
// Check if item already in cart
|
| 892 |
+
const existingItem = cart.find(item => item.id === id);
|
| 893 |
+
|
| 894 |
+
if (existingItem) {
|
| 895 |
+
existingItem.quantity += 1;
|
| 896 |
+
} else {
|
| 897 |
+
cart.push({
|
| 898 |
+
id,
|
| 899 |
+
name,
|
| 900 |
+
price,
|
| 901 |
+
quantity: 1
|
| 902 |
+
});
|
| 903 |
+
}
|
| 904 |
+
|
| 905 |
+
updateCart();
|
| 906 |
+
showSuccess('Article ajouté', `${name} a été ajouté à votre panier.`);
|
| 907 |
+
});
|
| 908 |
+
});
|
| 909 |
+
|
| 910 |
+
// Update cart UI
|
| 911 |
+
function updateCart() {
|
| 912 |
+
// Update count
|
| 913 |
+
const totalItems = cart.reduce((sum, item) => sum + item.quantity, 0);
|
| 914 |
+
cartCount.textContent = totalItems;
|
| 915 |
+
|
| 916 |
+
// Update items list
|
| 917 |
+
cartItems.innerHTML = '';
|
| 918 |
+
|
| 919 |
+
if (cart.length === 0) {
|
| 920 |
+
cartItems.innerHTML = '<p class="text-center text-gray-500 py-8">Votre panier est vide</p>';
|
| 921 |
+
} else {
|
| 922 |
+
cart.forEach(item => {
|
| 923 |
+
const itemElement = document.createElement('div');
|
| 924 |
+
itemElement.className = 'flex justify-between items-center border-b pb-4';
|
| 925 |
+
itemElement.innerHTML = `
|
| 926 |
+
<div>
|
| 927 |
+
<h4 class="font-bold">${item.name}</h4>
|
| 928 |
+
<p class="text-sm text-gray-500">${item.price.toLocaleString()} FCFA x ${item.quantity}</p>
|
| 929 |
+
</div>
|
| 930 |
+
<div class="flex items-center">
|
| 931 |
+
<span class="font-bold mr-4">${(item.price * item.quantity).toLocaleString()} FCFA</span>
|
| 932 |
+
<button class="remove-from-cart text-red-500 hover:text-red-700" data-id="${item.id}">
|
| 933 |
+
<i class="fas fa-trash"></i>
|
| 934 |
+
</button>
|
| 935 |
+
</div>
|
| 936 |
+
`;
|
| 937 |
+
cartItems.appendChild(itemElement);
|
| 938 |
+
});
|
| 939 |
+
}
|
| 940 |
+
|
| 941 |
+
// Update totals
|
| 942 |
+
const subtotal = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0);
|
| 943 |
+
const service = Math.round(subtotal * 0.1);
|
| 944 |
+
const total = subtotal + service;
|
| 945 |
+
|
| 946 |
+
cartSubtotal.textContent = subtotal.toLocaleString() + ' FCFA';
|
| 947 |
+
cartService.textContent = service.toLocaleString() + ' FCFA';
|
| 948 |
+
cartTotal.textContent = total.toLocaleString() + ' FCFA';
|
| 949 |
+
}
|
| 950 |
+
|
| 951 |
+
// Remove from cart
|
| 952 |
+
cartItems.addEventListener('click', (e) => {
|
| 953 |
+
if (e.target.classList.contains('remove-from-cart') || e.target.closest('.remove-from-cart')) {
|
| 954 |
+
const button = e.target.classList.contains('remove-from-cart') ? e.target : e.target.closest('.remove-from-cart');
|
| 955 |
+
const id = button.getAttribute('data-id');
|
| 956 |
+
|
| 957 |
+
cart = cart.filter(item => item.id !== id);
|
| 958 |
+
updateCart();
|
| 959 |
+
}
|
| 960 |
+
});
|
| 961 |
+
|
| 962 |
+
// Toggle cart sidebar
|
| 963 |
+
cartButton.addEventListener('click', () => {
|
| 964 |
+
cartSidebar.classList.remove('translate-x-full');
|
| 965 |
+
});
|
| 966 |
+
|
| 967 |
+
closeCart.addEventListener('click', () => {
|
| 968 |
+
cartSidebar.classList.add('translate-x-full');
|
| 969 |
+
});
|
| 970 |
+
|
| 971 |
+
// Checkout
|
| 972 |
+
checkoutBtn.addEventListener('click', () => {
|
| 973 |
+
if (cart.length > 0) {
|
| 974 |
+
showSuccess('Commande passée', 'Votre commande a été enregistrée avec succès!');
|
| 975 |
+
cart = [];
|
| 976 |
+
updateCart();
|
| 977 |
+
cartSidebar.classList.add('translate-x-full');
|
| 978 |
+
}
|
| 979 |
+
});
|
| 980 |
+
|
| 981 |
+
// Admin Login
|
| 982 |
+
const adminLoginBtn = document.getElementById('admin-login-btn');
|
| 983 |
+
const mobileAdminBtn = document.getElementById('mobile-admin-btn');
|
| 984 |
+
const loginModal = document.getElementById('login-modal');
|
| 985 |
+
const closeLogin = document.getElementById('close-login');
|
| 986 |
+
const adminLoginForm = document.getElementById('admin-login-form');
|
| 987 |
+
const adminPanel = document.getElementById('admin-panel');
|
| 988 |
+
const logoutBtn = document.getElementById('logout-btn');
|
| 989 |
+
|
| 990 |
+
adminLoginBtn.addEventListener('click', (e) => {
|
| 991 |
+
e.preventDefault();
|
| 992 |
+
loginModal.classList.remove('hidden');
|
| 993 |
+
});
|
| 994 |
+
|
| 995 |
+
mobileAdminBtn.addEventListener('click', (e) => {
|
| 996 |
+
e.preventDefault();
|
| 997 |
+
loginModal.classList.remove('hidden');
|
| 998 |
+
mobileMenu.classList.add('hidden');
|
| 999 |
+
});
|
| 1000 |
+
|
| 1001 |
+
closeLogin.addEventListener('click', () => {
|
| 1002 |
+
loginModal.classList.add('hidden');
|
| 1003 |
+
});
|
| 1004 |
+
|
| 1005 |
+
adminLoginForm.addEventListener('submit', (e) => {
|
| 1006 |
+
e.preventDefault();
|
| 1007 |
+
const username = document.getElementById('admin-username').value;
|
| 1008 |
+
const password = document.getElementById('admin-password').value;
|
| 1009 |
+
|
| 1010 |
+
// Simple validation for demo
|
| 1011 |
+
if (username === 'admin' && password === 'admin123') {
|
| 1012 |
+
loginModal.classList.add('hidden');
|
| 1013 |
+
document.body.classList.add('overflow-hidden');
|
| 1014 |
+
adminPanel.classList.remove('hidden');
|
| 1015 |
+
} else {
|
| 1016 |
+
alert('Identifiants incorrects. Essayez admin/admin123 pour la démo.');
|
| 1017 |
+
}
|
| 1018 |
+
});
|
| 1019 |
+
|
| 1020 |
+
logoutBtn.addEventListener('click', () => {
|
| 1021 |
+
adminPanel.classList.add('hidden');
|
| 1022 |
+
document.body.classList.remove('overflow-hidden');
|
| 1023 |
+
});
|
| 1024 |
+
|
| 1025 |
+
// Filter menu
|
| 1026 |
+
function filterMenu(category) {
|
| 1027 |
+
const menuItems = document.querySelectorAll('.menu-item');
|
| 1028 |
+
|
| 1029 |
+
menuItems.forEach(item => {
|
| 1030 |
+
if (category === 'all' || item.classList.contains(category)) {
|
| 1031 |
+
item.style.display = 'block';
|
| 1032 |
+
} else {
|
| 1033 |
+
item.style.display = 'none';
|
| 1034 |
+
}
|
| 1035 |
+
});
|
| 1036 |
+
}
|
| 1037 |
+
|
| 1038 |
+
// Form submissions
|
| 1039 |
+
document.getElementById('reservation-form').addEventListener('submit', (e) => {
|
| 1040 |
+
e.preventDefault();
|
| 1041 |
+
showSuccess('Réservation confirmée', 'Votre table a été réservée avec succès!');
|
| 1042 |
+
e.target.reset();
|
| 1043 |
+
});
|
| 1044 |
+
|
| 1045 |
+
document.getElementById('contact-form').addEventListener('submit', (e) => {
|
| 1046 |
+
e.preventDefault();
|
| 1047 |
+
showSuccess('Message envoyé', 'Nous avons bien reçu votre message et vous répondrons bientôt!');
|
| 1048 |
+
e.target.reset();
|
| 1049 |
+
});
|
| 1050 |
+
|
| 1051 |
+
// Success modal
|
| 1052 |
+
const successModal = document.getElementById('success-modal');
|
| 1053 |
+
const closeSuccess = document.getElementById('close-success');
|
| 1054 |
+
|
| 1055 |
+
function showSuccess(title, message) {
|
| 1056 |
+
document.getElementById('success-title').textContent = title;
|
| 1057 |
+
document.getElementById('success-message').textContent = message;
|
| 1058 |
+
successModal.classList.remove('hidden');
|
| 1059 |
+
}
|
| 1060 |
+
|
| 1061 |
+
closeSuccess.addEventListener('click', () => {
|
| 1062 |
+
successModal.classList.add('hidden');
|
| 1063 |
+
});
|
| 1064 |
+
|
| 1065 |
+
// Smooth scrolling for anchor links
|
| 1066 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 1067 |
+
anchor.addEventListener('click', function (e) {
|
| 1068 |
+
e.preventDefault();
|
| 1069 |
+
|
| 1070 |
+
const targetId = this.getAttribute('href');
|
| 1071 |
+
if (targetId === '#') return;
|
| 1072 |
+
|
| 1073 |
+
const targetElement = document.querySelector(targetId);
|
| 1074 |
+
if (targetElement) {
|
| 1075 |
+
targetElement.scrollIntoView({
|
| 1076 |
+
behavior: 'smooth'
|
| 1077 |
+
});
|
| 1078 |
+
}
|
| 1079 |
+
});
|
| 1080 |
+
});
|
| 1081 |
+
</script>
|
| 1082 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=12Sam/12samtech" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 1083 |
+
</html>
|