File size: 27,104 Bytes
d293bed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>X-Tweet - Partagez vos pensées</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Animation for tweet hover */
.tweet-hover:hover {
background-color: rgba(247, 249, 249, 0.8);
transition: background-color 0.2s ease;
}
/* Pulse animation for notification */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 1.5s infinite;
}
</style>
</head>
<body class="bg-black text-white">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-col md:w-64 lg:w-80 border-r border-gray-800 p-4">
<div class="flex items-center justify-center w-12 h-12 rounded-full hover:bg-gray-800 mb-4">
<i class="fas fa-feather-alt text-2xl text-blue-500"></i>
</div>
<nav class="flex-1">
<a href="profile.html" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-home text-xl mr-4"></i>
<span class="text-xl font-bold">Accueil</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-hashtag text-xl mr-4"></i>
<span class="text-xl">Explorer</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-bell text-xl mr-4"></i>
<span class="text-xl">Notifications</span>
<span class="ml-2 bg-red-500 text-white text-xs px-2 py-1 rounded-full pulse">3</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-envelope text-xl mr-4"></i>
<span class="text-xl">Messages</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-bookmark text-xl mr-4"></i>
<span class="text-xl">Signets</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-list text-xl mr-4"></i>
<span class="text-xl">Listes</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-user text-xl mr-4"></i>
<span class="text-xl">Profil</span>
</a>
<a href="#" class="flex items-center py-3 px-4 rounded-full hover:bg-gray-800 mb-1">
<i class="fas fa-ellipsis-h text-xl mr-4"></i>
<span class="text-xl">Plus</span>
</a>
</nav>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-3 px-4 rounded-full w-full mb-4 transition duration-200">
Tweeter
</button>
<div class="flex items-center p-3 rounded-full hover:bg-gray-800 cursor-pointer mt-auto">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Profile" class="w-10 h-10 rounded-full">
<div class="ml-3">
<div class="font-bold">Jean Dupont</div>
<div class="text-gray-500">@jeandupont</div>
</div>
<i class="fas fa-ellipsis-h ml-auto text-gray-500"></i>
</div>
</div>
<!-- Mobile bottom navbar -->
<div class="md:hidden fixed bottom-0 left-0 right-0 bg-black border-t border-gray-800 flex justify-around py-3">
<a href="home.html" class="text-2xl"><i class="fas fa-home"></i></a>
<a href="explore.html" class="text-2xl"><i class="fas fa-hashtag"></i></a>
<a href="notifications.html" class="text-2xl"><i class="fas fa-bell"></i></a>
<a href="messages.html" class="text-2xl"><i class="fas fa-envelope"></i></a>
</div>
<!-- Main content -->
<div class="flex-1 overflow-y-auto">
<!-- Header -->
<div class="sticky top-0 z-10 bg-black bg-opacity-80 backdrop-blur-sm p-4 border-b border-gray-800">
<div class="flex justify-between items-center">
<h1 class="text-xl font-bold">Accueil</h1>
<div class="flex space-x-4">
<button class="p-2 rounded-full hover:bg-gray-800">
<i class="fas fa-star"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-800">
<i class="fas fa-cog"></i>
</button>
</div>
</div>
<div class="flex mt-4 border-b border-gray-800">
<button class="flex-1 py-4 font-bold border-b-4 border-blue-500">Pour vous</button>
<button class="flex-1 py-4 text-gray-500 hover:bg-gray-800">Abonnements</button>
</div>
</div>
<!-- Tweet composer -->
<div class="border-b border-gray-800 p-4">
<div class="flex">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<textarea placeholder="Quoi de neuf ?" class="w-full bg-transparent text-xl outline-none resize-none placeholder-gray-500 mb-3" rows="2"></textarea>
<div class="flex justify-between items-center">
<div class="flex space-x-4 text-blue-500">
<button class="w-10 h-10 rounded-full hover:bg-blue-900 hover:bg-opacity-20 flex items-center justify-center">
<i class="fas fa-image"></i>
</button>
<button class="w-10 h-10 rounded-full hover:bg-blue-900 hover:bg-opacity-20 flex items-center justify-center">
<i class="fas fa-poll"></i>
</button>
<button class="w-10 h-10 rounded-full hover:bg-blue-900 hover:bg-opacity-20 flex items-center justify-center">
<i class="fas fa-smile"></i>
</button>
<button class="w-10 h-10 rounded-full hover:bg-blue-900 hover:bg-opacity-20 flex items-center justify-center">
<i class="fas fa-calendar-alt"></i>
</button>
<button class="w-10 h-10 rounded-full hover:bg-blue-900 hover:bg-opacity-20 flex items-center justify-center">
<i class="fas fa-map-marker-alt"></i>
</button>
</div>
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold px-4 py-2 rounded-full disabled:opacity-50" disabled>
Tweeter
</button>
</div>
</div>
</div>
</div>
<!-- Tweets feed -->
<div>
<!-- Tweet 1 -->
<div class="border-b border-gray-800 p-4 tweet-hover cursor-pointer">
<div class="flex">
<img src="https://randomuser.me/api/portraits/women/1.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="flex items-center">
<span class="font-bold">Marie Martin</span>
<span class="text-gray-500 ml-2">@mariemartin</span>
<span class="text-gray-500 mx-1">·</span>
<span class="text-gray-500">2h</span>
<button class="ml-auto text-gray-500 hover:text-blue-500">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<p class="mt-1 mb-3">Juste en train de profiter de cette belle journée ensoleillée ! ☀️ #été #vacances</p>
<div class="flex justify-between max-w-md">
<a href="#" class="flex items-center text-gray-500 hover:text-blue-500">
<i class="far fa-comment mr-1"></i>
<span>24</span>
</a>
<a href="#" class="flex items-center text-gray-500 hover:text-green-500">
<i class="fas fa-retweet mr-1"></i>
<span>12</span>
</a>
<a href="#" class="flex items-center text-gray-500 hover:text-red-500">
<i class="far fa-heart mr-1"></i>
<span>156</span>
</a>
<a href="#" class="flex items-center text-gray-500 hover:text-blue-500">
<i class="fas fa-share mr-1"></i>
</a>
</div>
</div>
</div>
</div>
<!-- Tweet 2 -->
<div class="border-b border-gray-800 p-4 tweet-hover cursor-pointer">
<div class="flex">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="flex items-center">
<span class="font-bold">Tech News</span>
<span class="text-gray-500 ml-2">@technews</span>
<span class="text-gray-500 mx-1">·</span>
<span class="text-gray-500">5h</span>
<button class="ml-auto text-gray-500 hover:text-blue-500">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<p class="mt-1 mb-3">Nouvelle mise à jour majeure pour notre application mobile ! Découvrez toutes les nouvelles fonctionnalités dès maintenant. #tech #innovation</p>
<div class="border border-gray-800 rounded-xl overflow-hidden mb-3">
<img src="https://source.unsplash.com/random/600x300/?tech" alt="Tech" class="w-full">
<div class="p-3">
<div class="text-sm text-gray-500">technews.com</div>
<div class="font-bold">Découvrez notre nouvelle mise à jour</div>
<div class="text-gray-500 text-sm">Toutes les informations sur les dernières fonctionnalités ajoutées à notre application phare.</div>
</div>
</div>
<div class="flex justify-between max-w-md">
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="far fa-comment mr-1"></i>
<span>42</span>
</button>
<button class="flex items-center text-gray-500 hover:text-green-500">
<i class="fas fa-retweet mr-1"></i>
<span>87</span>
</button>
<button class="flex items-center text-gray-500 hover:text-red-500">
<i class="far fa-heart mr-1"></i>
<span>324</span>
</button>
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="fas fa-share mr-1"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Tweet 3 -->
<div class="border-b border-gray-800 p-4 tweet-hover cursor-pointer">
<div class="flex">
<img src="https://randomuser.me/api/portraits/women/3.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="flex items-center">
<span class="font-bold">Sarah Johnson</span>
<span class="text-gray-500 ml-2">@sarahj</span>
<span class="text-gray-500 mx-1">·</span>
<span class="text-gray-500">1j</span>
<button class="ml-auto text-gray-500 hover:text-blue-500">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<p class="mt-1 mb-3">Just finished reading this amazing book! Highly recommend to anyone interested in personal development. What are you reading these days?</p>
<div class="flex justify-between max-w-md">
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="far fa-comment mr-1"></i>
<span>18</span>
</button>
<button class="flex items-center text-gray-500 hover:text-green-500">
<i class="fas fa-retweet mr-1"></i>
<span>7</span>
</button>
<button class="flex items-center text-gray-500 hover:text-red-500">
<i class="far fa-heart mr-1"></i>
<span>89</span>
</button>
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="fas fa-share mr-1"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Tweet 4 -->
<div class="border-b border-gray-800 p-4 tweet-hover cursor-pointer">
<div class="flex">
<img src="https://randomuser.me/api/portraits/men/4.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="flex items-center">
<span class="font-bold">Pierre Legrand</span>
<span class="text-gray-500 ml-2">@pierrel</span>
<span class="text-gray-500 mx-1">·</span>
<span class="text-gray-500">2j</span>
<button class="ml-auto text-gray-500 hover:text-blue-500">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<p class="mt-1 mb-3">Notre équipe a remporté le hackathon cette année ! 🎉 Un énorme merci à tous les participants et organisateurs. #coding #hackathon</p>
<div class="grid grid-cols-2 gap-1 mb-3 rounded-xl overflow-hidden">
<img src="https://source.unsplash.com/random/300x300/?hackathon" alt="Hackathon" class="w-full h-40 object-cover">
<img src="https://source.unsplash.com/random/300x300/?team" alt="Team" class="w-full h-40 object-cover">
<img src="https://source.unsplash.com/random/300x300/?coding" alt="Coding" class="w-full h-40 object-cover">
<img src="https://source.unsplash.com/random/300x300/?celebration" alt="Celebration" class="w-full h-40 object-cover">
</div>
<div class="flex justify-between max-w-md">
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="far fa-comment mr-1"></i>
<span>56</span>
</button>
<button class="flex items-center text-gray-500 hover:text-green-500">
<i class="fas fa-retweet mr-1"></i>
<span>34</span>
</button>
<button class="flex items-center text-gray-500 hover:text-red-500">
<i class="far fa-heart mr-1"></i>
<span>278</span>
</button>
<button class="flex items-center text-gray-500 hover:text-blue-500">
<i class="fas fa-share mr-1"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right sidebar -->
<div class="hidden lg:block lg:w-80 xl:w-96 border-l border-gray-800 p-4 overflow-y-auto">
<!-- Search bar -->
<div class="relative mb-4">
<input type="text" placeholder="Rechercher sur X-Tweet" class="w-full bg-gray-900 rounded-full py-3 px-5 pl-12 focus:outline-none focus:ring-2 focus:ring-blue-500">
<i class="fas fa-search absolute left-5 top-3.5 text-gray-500"></i>
</div>
<!-- Trending topics -->
<div class="bg-gray-900 rounded-2xl mb-4">
<div class="p-4 border-b border-gray-800">
<h2 class="font-bold text-xl">Tendances en France</h2>
</div>
<div class="divide-y divide-gray-800">
<a href="#" class="block p-4 hover:bg-gray-800 cursor-pointer">
<div class="text-gray-500 text-sm">Tendance en France</div>
<div class="font-bold">#Euro2024</div>
<div class="text-gray-500 text-sm">12.5K Tweets</div>
</a>
<a href="#" class="block p-4 hover:bg-gray-800 cursor-pointer">
<div class="text-gray-500 text-sm">Tendance en France</div>
<div class="font-bold">Nouvelle loi</div>
<div class="text-gray-500 text-sm">8.2K Tweets</div>
</a>
<a href="#" class="block p-4 hover:bg-gray-800 cursor-pointer">
<div class="text-gray-500 text-sm">Tendance en France</div>
<div class="font-bold">iPhone 16</div>
<div class="text-gray-500 text-sm">5.7K Tweets</div>
</a>
<a href="#" class="block p-4 hover:bg-gray-800 cursor-pointer">
<div class="text-gray-500 text-sm">Tendance en France</div>
<div class="font-bold">#Vacances</div>
<div class="text-gray-500 text-sm">3.9K Tweets</div>
</a>
</div>
<a href="#" class="block p-4 text-blue-500 hover:bg-gray-800 rounded-b-2xl cursor-pointer">
Voir plus
</a>
</div>
<!-- Who to follow -->
<div class="bg-gray-900 rounded-2xl mb-4">
<div class="p-4 border-b border-gray-800">
<h2 class="font-bold text-xl">Suggestions</h2>
</div>
<div class="divide-y divide-gray-800">
<div class="p-4 hover:bg-gray-800 cursor-pointer flex items-center">
<img src="https://randomuser.me/api/portraits/women/5.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="font-bold">Claire Dubois</div>
<div class="text-gray-500">@claired</div>
</div>
<button class="bg-white text-black font-bold px-4 py-1.5 rounded-full text-sm hover:bg-gray-200">
Suivre
</button>
</div>
<div class="p-4 hover:bg-gray-800 cursor-pointer flex items-center">
<img src="https://randomuser.me/api/portraits/men/6.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="font-bold">Tech Insights</div>
<div class="text-gray-500">@techinsights</div>
</div>
<button class="bg-white text-black font-bold px-4 py-1.5 rounded-full text-sm hover:bg-gray-200">
Suivre
</button>
</div>
<div class="p-4 hover:bg-gray-800 cursor-pointer flex items-center">
<img src="https://randomuser.me/api/portraits/women/7.jpg" alt="Profile" class="w-12 h-12 rounded-full">
<div class="ml-3 flex-1">
<div class="font-bold">Emma Watson</div>
<div class="text-gray-500">@emmawatson</div>
</div>
<button class="bg-white text-black font-bold px-4 py-1.5 rounded-full text-sm hover:bg-gray-200">
Suivre
</button>
</div>
</div>
<a href="#" class="block p-4 text-blue-500 hover:bg-gray-800 rounded-b-2xl cursor-pointer">
Voir plus
</a>
</div>
<!-- Footer links -->
<div class="text-gray-500 text-sm p-4">
<div class="flex flex-wrap">
<a href="#" class="mr-2 mb-1 hover:underline">Conditions d'utilisation</a>
<a href="#" class="mr-2 mb-1 hover:underline">Politique de confidentialité</a>
<a href="#" class="mr-2 mb-1 hover:underline">Politique relative aux cookies</a>
<a href="#" class="mr-2 mb-1 hover:underline">Accessibilité</a>
<a href="#" class="mr-2 mb-1 hover:underline">Informations sur les publicités</a>
<a href="#" class="mr-2 mb-1 hover:underline">Plus</a>
</div>
<div class="mt-2">© 2023 X-Tweet, Inc.</div>
</div>
</div>
</div>
<script>
// Simple script to handle tweet composer character count
const tweetTextarea = document.querySelector('textarea');
const tweetButton = document.querySelector('button[disabled]');
if (tweetTextarea && tweetButton) {
tweetTextarea.addEventListener('input', function() {
if (this.value.trim().length > 0) {
tweetButton.disabled = false;
} else {
tweetButton.disabled = true;
}
// Simple character counter (Twitter's limit is 280)
if (this.value.length > 280) {
this.classList.add('text-red-500');
} else {
this.classList.remove('text-red-500');
}
});
}
// Handle mobile menu toggle
document.addEventListener('DOMContentLoaded', function() {
// This would be expanded for a real mobile menu toggle
console.log('X-Tweet loaded!');
});
</script>
<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=midqsion/jhtd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |