jhtd / index.html
midqsion's picture
on ne peut pas commenter et lake et partage on ne peut pas clique sur le profil je veut tout les ongle soit axecible profil autre persone - Initial Deployment
d293bed verified
Raw History Blame Contribute Delete
27.1 kB
<!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>