Spaces:
Running
Running
Add 2 files
Browse files- index.html +129 -1
index.html
CHANGED
|
@@ -156,5 +156,133 @@
|
|
| 156 |
</div>
|
| 157 |
</div>
|
| 158 |
<div class="flex-1">
|
| 159 |
-
<div class="flex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
</html>
|
|
|
|
| 156 |
</div>
|
| 157 |
</div>
|
| 158 |
<div class="flex-1">
|
| 159 |
+
<div class="flex justify-between items-center">
|
| 160 |
+
<h4 class="font-medium">Groupe Famille</h4>
|
| 161 |
+
<span class="text-xs text-gray-500">Lundi</span>
|
| 162 |
+
</div>
|
| 163 |
+
<p class="text-sm text-gray-500 truncate">Maman: Qui vient dimanche?</p>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<!-- Invitation Limit Notice -->
|
| 168 |
+
<div class="p-3 bg-yellow-50 border-l-4 border-yellow-400 text-sm text-yellow-700">
|
| 169 |
+
<p><strong>Invitations restantes:</strong> 3/3</p>
|
| 170 |
+
<p class="mt-1">Abonnez-vous pour envoyer plus de messages!</p>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</aside>
|
| 174 |
+
|
| 175 |
+
<!-- Main Chat Area -->
|
| 176 |
+
<main class="flex-1 flex flex-col bg-white rounded-lg shadow">
|
| 177 |
+
<!-- Chat Header -->
|
| 178 |
+
<div class="flex items-center p-3 border-b">
|
| 179 |
+
<div class="relative mr-3">
|
| 180 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profil" class="w-10 h-10 rounded-full">
|
| 181 |
+
<div class="online-dot absolute bottom-0 right-0 w-2 h-2 bg-green-500 rounded-full border-2 border-white"></div>
|
| 182 |
+
</div>
|
| 183 |
+
<div class="flex-1">
|
| 184 |
+
<h3 class="font-medium">Sophie Martin</h3>
|
| 185 |
+
<p class="text-xs text-gray-500">En ligne</p>
|
| 186 |
+
</div>
|
| 187 |
+
<div class="flex space-x-2">
|
| 188 |
+
<button class="w-8 h-8 rounded-full hover:bg-gray-100 text-gray-600">
|
| 189 |
+
<i class="fas fa-phone"></i>
|
| 190 |
+
</button>
|
| 191 |
+
<button class="w-8 h-8 rounded-full hover:bg-gray-100 text-gray-600">
|
| 192 |
+
<i class="fas fa-video"></i>
|
| 193 |
+
</button>
|
| 194 |
+
<button class="w-8 h-8 rounded-full hover:bg-gray-100 text-gray-600">
|
| 195 |
+
<i class="fas fa-info-circle"></i>
|
| 196 |
+
</button>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<!-- Messages Container -->
|
| 201 |
+
<div class="flex-1 p-4 overflow-y-auto message-container" id="message-container">
|
| 202 |
+
<!-- Date Divider -->
|
| 203 |
+
<div class="flex justify-center my-4">
|
| 204 |
+
<span class="bg-gray-100 px-3 py-1 rounded-full text-xs text-gray-500">Aujourd'hui</span>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<!-- Received Message -->
|
| 208 |
+
<div class="flex mb-4">
|
| 209 |
+
<div class="message-bubble bg-gray-100 rounded-2xl rounded-tl-none px-4 py-2">
|
| 210 |
+
<p>Salut N'cho! Comment ça va? 😊</p>
|
| 211 |
+
<div class="flex justify-end items-center mt-1">
|
| 212 |
+
<span class="text-xs text-gray-500 mr-2">10:15</span>
|
| 213 |
+
<i class="fas fa-check text-xs text-gray-400"></i>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
|
| 218 |
+
<!-- Sent Message -->
|
| 219 |
+
<div class="flex mb-4 justify-end">
|
| 220 |
+
<div class="message-bubble bg-pink-500 text-white rounded-2xl rounded-tr-none px-4 py-2">
|
| 221 |
+
<p>Ça va super bien merci! Et toi? 😃</p>
|
| 222 |
+
<div class="flex justify-end items-center mt-1">
|
| 223 |
+
<span class="text-xs text-pink-100 mr-2">10:16</span>
|
| 224 |
+
<i class="fas fa-check-double text-xs text-pink-200"></i>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
|
| 229 |
+
<!-- Received Message with Image -->
|
| 230 |
+
<div class="flex mb-4">
|
| 231 |
+
<div class="message-bubble bg-gray-100 rounded-2xl rounded-tl-none px-0 py-0 overflow-hidden">
|
| 232 |
+
<img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=80" alt="Photo" class="w-64 h-64 object-cover">
|
| 233 |
+
<div class="px-4 py-2">
|
| 234 |
+
<p>J'ai pris cette photo hier, tu aimes? 📸</p>
|
| 235 |
+
<div class="flex justify-between items-center mt-1">
|
| 236 |
+
<button class="text-gray-500 hover:text-pink-500">
|
| 237 |
+
<i class="far fa-heart"></i>
|
| 238 |
+
</button>
|
| 239 |
+
<div class="flex items-center">
|
| 240 |
+
<span class="text-xs text-gray-500 mr-2">10:18</span>
|
| 241 |
+
<i class="fas fa-check text-xs text-gray-400"></i>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
|
| 248 |
+
<!-- Sent Message with Like -->
|
| 249 |
+
<div class="flex mb-4 justify-end">
|
| 250 |
+
<div class="message-bubble bg-pink-500 text-white rounded-2xl rounded-tr-none px-4 py-2">
|
| 251 |
+
<p>Wow magnifique! ❤️</p>
|
| 252 |
+
<div class="flex justify-between items-center mt-1">
|
| 253 |
+
<span class="text-xs text-pink-100">10:20</span>
|
| 254 |
+
<div class="flex items-center">
|
| 255 |
+
<span class="text-xs text-pink-100 mr-1">1</span>
|
| 256 |
+
<i class="fas fa-heart text-xs text-pink-200"></i>
|
| 257 |
+
<i class="fas fa-check-double text-xs text-pink-200 ml-1"></i>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
</div>
|
| 262 |
+
|
| 263 |
+
<!-- Typing Indicator -->
|
| 264 |
+
<div class="flex mb-4">
|
| 265 |
+
<div class="message-bubble bg-gray-100 rounded-2xl rounded-tl-none px-4 py-2 w-20">
|
| 266 |
+
<p class="typing-indicator text-gray-500"></p>
|
| 267 |
+
</div>
|
| 268 |
+
</div>
|
| 269 |
+
|
| 270 |
+
<!-- Subscription Notice -->
|
| 271 |
+
<div class="flex justify-center my-4">
|
| 272 |
+
<div class="bg-blue-50 border border-blue-100 rounded-lg px-4 py-2 text-sm text-blue-700 max-w-md text-center">
|
| 273 |
+
<p><strong>Message limité:</strong> Vous avez envoyé 8/10 messages aujourd'hui.</p>
|
| 274 |
+
<p class="mt-1">Abonnez-vous pour envoyer des messages illimités!</p>
|
| 275 |
+
<button class="mt-2 bg-blue-500 hover:bg-blue-600 text-white px-3 py-1 rounded-full text-sm">
|
| 276 |
+
S'abonner maintenant
|
| 277 |
+
</button>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</div>
|
| 281 |
+
|
| 282 |
+
<!-- Message Input -->
|
| 283 |
+
<div class="p-3 border-t relative">
|
| 284 |
+
<!-- Emoji Picker -->
|
| 285 |
+
<div class="emoji-picker absolute bottom-16 left-0 bg-white shadow-lg rounded-lg p-2 w-64 h-40 overflow-y-auto hidden">
|
| 286 |
+
<div class="grid grid-cols-6 gap-2">
|
| 287 |
+
<span class="text-xl cursor-pointer hover:bg-gray
|
| 288 |
</html>
|