Add 2 files
Browse filesFiles changed (2)
- README.md+6-4
- index.html+458-19
12345678910---title: Isispaceemoji: 🦀colorFrom: greencolorTo: redsdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: isispaceemoji: 🐳colorFrom: redcolorTo: redsdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458<!DOCTYPE html><html lang="fr"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>LuxMatch - Rencontres Premium</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>@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');body {font-family: 'Montserrat', sans-serif;background-color: #fafafa;}.profile-card {perspective: 1000px;transform-style: preserve-3d;transition: all 0.5s ease;}.profile-card:hover {transform: translateY(-10px);}.match-animation {animation: pulse 1.5s infinite;}@keyframes pulse {0% { transform: scale(1); }50% { transform: scale(1.05); }100% { transform: scale(1); }}.interest-chip {transition: all 0.3s ease;}.interest-chip:hover {transform: translateY(-2px);box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);}.swipe-left {transform: translateX(-100%) rotate(-15deg);opacity: 0;transition: all 0.5s ease;}.swipe-right {transform: translateX(100%) rotate(15deg);opacity: 0;transition: all 0.5s ease;}.profile-image {background-size: cover;background-position: center;transition: all 0.3s ease;}.profile-image:hover {filter: brightness(1.05);}.sparkle {position: absolute;width: 10px;height: 10px;background: rgba(255, 255, 255, 0.8);border-radius: 50%;pointer-events: none;animation: sparkle 1s ease-out forwards;}@keyframes sparkle {0% { transform: scale(0); opacity: 0; }50% { transform: scale(1); opacity: 1; }100% { transform: scale(0); opacity: 0; }}</style></head><body class="bg-gray-50"><!-- Navigation Bar --><nav class="bg-white shadow-lg fixed w-full z-10"><div class="max-w-6xl mx-auto px-4"><div class="flex justify-between items-center h-16"><div class="flex items-center space-x-4"><i class="fas fa-heart text-pink-500 text-2xl"></i><span class="text-xl font-bold text-pink-600">LuxMatch</span></div><div class="hidden md:flex items-center space-x-8"><a href="#" class="text-gray-700 hover:text-pink-500 transition"><i class="fas fa-search mr-2"></i> Découvrir</a><a href="#" class="text-gray-700 hover:text-pink-500 transition"><i class="fas fa-comments mr-2"></i> Messages</a><a href="#" class="text-gray-700 hover:text-pink-500 transition"><i class="fas fa-bell mr-2"></i> Notifications</a></div><div class="flex items-center space-x-4"><div class="relative"><img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full object-cover border-2 border-pink-500 cursor-pointer"><div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div></div><button class="md:hidden focus:outline-none"><i class="fas fa-bars text-gray-700 text-xl"></i></button></div></div></div></nav><!-- Main Content --><div class="pt-16 pb-20 max-w-6xl mx-auto px-4"><!-- Premium Banner --><div class="bg-gradient-to-r from-purple-500 to-pink-500 rounded-xl p-4 mb-6 text-white shadow-lg"><div class="flex items-center justify-between"><div><h3 class="font-bold text-lg">Passez à LuxMatch Premium</h3><p class="text-sm">Voir qui vous aime, boostez votre profil et plus encore!</p></div><button class="bg-white text-pink-500 px-4 py-2 rounded-full font-medium hover:bg-gray-100 transition">Essayer</button></div></div><!-- Discovery Section --><div class="mb-8"><div class="flex justify-between items-center mb-4"><h2 class="text-2xl font-bold text-gray-800">Découvrir</h2><div class="flex space-x-2"><button class="bg-white p-2 rounded-full shadow hover:bg-gray-100 transition"><i class="fas fa-sliders-h text-gray-600"></i></button><button class="bg-white p-2 rounded-full shadow hover:bg-gray-100 transition"><i class="fas fa-map-marker-alt text-gray-600"></i></button></div></div><!-- Profile Cards --><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="profiles-container"><!-- Profile cards will be dynamically inserted here --></div></div><!-- Compatibility Quiz --><div class="bg-white rounded-xl shadow-md p-6 mb-8"><div class="flex items-center justify-between mb-4"><h3 class="font-bold text-lg text-gray-800">Test de compatibilité</h3><span class="text-sm text-pink-500 font-medium">75% complété</span></div><div class="w-full bg-gray-200 rounded-full h-2 mb-4"><div class="bg-pink-500 h-2 rounded-full" style="width: 75%"></div></div><p class="text-gray-600 mb-4">Complétez votre profil pour améliorer vos correspondances de 40%</p><button class="bg-pink-500 text-white px-4 py-2 rounded-full font-medium hover:bg-pink-600 transition">Continuer</button></div><!-- Events Section --><div class="mb-8"><div class="flex justify-between items-center mb-4"><h2 class="text-2xl font-bold text-gray-800">Événements près de chez vous</h2><a href="#" class="text-pink-500 font-medium text-sm hover:underline">Voir tout</a></div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><div class="bg-white rounded-xl shadow-md overflow-hidden"><div class="h-40 bg-gradient-to-r from-blue-400 to-purple-500 relative"><div class="absolute top-2 right-2 bg-white text-blue-500 text-xs font-bold px-2 py-1 rounded-full">Nouveau</div></div><div class="p-4"><h3 class="font-bold text-gray-800 mb-1">Soirée célibataires</h3><p class="text-gray-600 text-sm mb-2">Paris • 15 Juin</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-users mr-1"></i><span>12 participants</span></div></div></div><div class="bg-white rounded-xl shadow-md overflow-hidden"><div class="h-40 bg-gradient-to-r from-yellow-400 to-orange-500"></div><div class="p-4"><h3 class="font-bold text-gray-800 mb-1">Randonnée romantique</h3><p class="text-gray-600 text-sm mb-2">Bordeaux • 22 Juin</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-users mr-1"></i><span>8 participants</span></div></div></div><div class="bg-white rounded-xl shadow-md overflow-hidden"><div class="h-40 bg-gradient-to-r from-green-400 to-teal-500"></div><div class="p-4"><h3 class="font-bold text-gray-800 mb-1">Atelier cuisine</h3><p class="text-gray-600 text-sm mb-2">Lyon • 30 Juin</p><div class="flex items-center text-sm text-gray-500"><i class="fas fa-users mr-1"></i><span>6 participants</span></div></div></div></div></div></div><!-- Bottom Navigation --><div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200"><div class="max-w-6xl mx-auto px-4"><div class="flex justify-around items-center h-16"><a href="#" class="text-pink-500 flex flex-col items-center"><i class="fas fa-home text-xl"></i><span class="text-xs mt-1">Accueil</span></a><a href="#" class="text-gray-500 hover:text-pink-500 transition flex flex-col items-center"><i class="fas fa-search text-xl"></i><span class="text-xs mt-1">Recherche</span></a><div class="relative -mt-8"><button class="bg-pink-500 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-lg hover:bg-pink-600 transition"><i class="fas fa-heart text-2xl"></i></button></div><a href="#" class="text-gray-500 hover:text-pink-500 transition flex flex-col items-center"><i class="fas fa-comments text-xl"></i><span class="text-xs mt-1">Messages</span></a><a href="#" class="text-gray-500 hover:text-pink-500 transition flex flex-col items-center"><i class="fas fa-user text-xl"></i><span class="text-xs mt-1">Profil</span></a></div></div></div><!-- Match Modal (hidden by default) --><div id="match-modal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden"><div class="bg-white rounded-2xl p-8 max-w-md w-full mx-4 text-center"><div class="flex justify-center -space-x-6 mb-6"><img src="https://randomuser.me/api/portraits/women/44.jpg" alt="You" class="w-20 h-20 rounded-full border-4 border-white shadow-lg"><img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Match" class="w-20 h-20 rounded-full border-4 border-white shadow-lg"></div><h3 class="text-2xl font-bold text-gray-800 mb-2">C'est un match!</h3><p class="text-gray-600 mb-6">Vous et Marie avez aimé vos profils respectifs</p><div class="flex space-x-4"><button class="flex-1 bg-gray-200 text-gray-800 px-4 py-3 rounded-full font-medium hover:bg-gray-300 transition">Fermer</button><button class="flex-1 bg-pink-500 text-white px-4 py-3 rounded-full font-medium hover:bg-pink-600 transition">Envoyer un message</button></div></div></div><script>// Sample profile dataconst profiles = [{id: 1,name: "Sophie",age: 28,location: "Paris, 5km",bio: "Architecte passionnée par l'art et les voyages. Je cherche quelqu'un pour partager des aventures.",image: "https://randomuser.me/api/portraits/women/33.jpg",interests: ["Voyages", "Art", "Architecture", "Vins"],compatibility: 92},{id: 2,name: "Thomas",age: 31,location: "Lyon, 10km",bio: "Entrepreneur dans le domaine tech. J'aime les randonnées en montagne et les soirées jeux de société.",image: "https://randomuser.me/api/portraits/men/75.jpg",interests: ["Tech", "Randonnée", "Jeux", "Cuisine"],compatibility: 85},{id: 3,name: "Camille",age: 26,location: "Marseille, 15km",bio: "Photographe freelance. J'adore capturer des moments authentiques et explorer de nouveaux endroits.",image: "https://randomuser.me/api/portraits/women/68.jpg",interests: ["Photographie", "Voyages", "Yoga", "Lecture"],compatibility: 78},{id: 4,name: "Nicolas",age: 34,location: "Toulouse, 20km",bio: "Professeur de musique et pianiste. Je cherche une personne avec qui partager ma passion pour la musique classique.",image: "https://randomuser.me/api/portraits/men/42.jpg",interests: ["Musique", "Piano", "Vin", "Histoire"],compatibility: 89},{id: 5,name: "Élodie",age: 29,location: "Bordeaux, 8km",bio: "Sommelier dans un restaurant étoilé. Passionnée par les saveurs et les rencontres enrichissantes.",image: "https://randomuser.me/api/portraits/women/51.jpg",interests: ["Vins", "Gastronomie", "Voyages", "Art"],compatibility: 95},{id: 6,name: "Antoine",age: 30,location: "Nice, 12km",bio: "Médecin qui aime le sport et les activités en plein air. Je valorise l'honnêteté et le sens de l'humour.",image: "https://randomuser.me/api/portraits/men/88.jpg",interests: ["Médecine", "Sport", "Randonnée", "Cinéma"],compatibility: 82}];// Function to create profile cardsfunction createProfileCards() {const container = document.getElementById('profiles-container');profiles.forEach(profile => {const card = document.createElement('div');card.className = 'profile-card bg-white rounded-xl shadow-md overflow-hidden cursor-pointer';card.dataset.id = profile.id;card.innerHTML = `<div class="relative"><div class="profile-image h-64 w-full" style="background-image: url('${profile.image}')"></div><div class="absolute bottom-4 left-4 bg-white bg-opacity-80 px-3 py-1 rounded-full"><span class="font-bold text-gray-800">${profile.name}, ${profile.age}</span></div><div class="absolute top-4 right-4 bg-white bg-opacity-80 px-3 py-1 rounded-full flex items-center"><i class="fas fa-map-marker-alt text-pink-500 mr-1"></i><span class="text-gray-800 text-sm">${profile.location}</span></div></div><div class="p-4"><p class="text-gray-600 text-sm mb-3 line-clamp-2">${profile.bio}</p><div class="flex flex-wrap gap-2 mb-3">${profile.interests.map(interest =>`<span class="interest-chip bg-gray-100 text-gray-800 text-xs px-3 py-1 rounded-full">${interest}</span>`).join('')}</div><div class="flex items-center justify-between"><div class="flex items-center"><div class="w-8 h-8 rounded-full bg-pink-100 flex items-center justify-center mr-2"><i class="fas fa-heart text-pink-500 text-xs"></i></div><span class="text-xs text-gray-600">${profile.compatibility}% compatibilité</span></div><div class="flex space-x-2"><button class="dislike-btn w-10 h-10 rounded-full bg-white border border-gray-300 flex items-center justify-center text-gray-500 hover:bg-red-50 hover:text-red-500 transition"><i class="fas fa-times"></i></button><button class="like-btn w-10 h-10 rounded-full bg-white border border-gray-300 flex items-center justify-center text-gray-500 hover:bg-green-50 hover:text-green-500 transition"><i class="fas fa-heart"></i></button></div></div></div>`;container.appendChild(card);// Add event listeners to buttonsconst dislikeBtn = card.querySelector('.dislike-btn');const likeBtn = card.querySelector('.like-btn');dislikeBtn.addEventListener('click', (e) => {e.stopPropagation();swipeCard(card, 'left');});likeBtn.addEventListener('click', (e) => {e.stopPropagation();swipeCard(card, 'right');// Random chance to show match modalif (Math.random() > 0.7) {setTimeout(() => {document.getElementById('match-modal').classList.remove('hidden');}, 800);}});// Click on card to view detailscard.addEventListener('click', () => {viewProfileDetails(profile);});});}// Function to handle card swipingfunction swipeCard(card, direction) {card.classList.add(direction === 'left' ? 'swipe-left' : 'swipe-right');// Remove card after animationsetTimeout(() => {card.remove();// Create sparkle effectif (direction === 'right') {createSparkles();}}, 500);}// Function to create sparkle effectfunction createSparkles() {for (let i = 0; i < 20; i++) {const sparkle = document.createElement('div');sparkle.className = 'sparkle';// Random positionconst x = Math.random() * window.innerWidth;const y = Math.random() * window.innerHeight;sparkle.style.left = `${x}px`;sparkle.style.top = `${y}px`;// Random size and delayconst size = Math.random() * 10 + 5;sparkle.style.width = `${size}px`;sparkle.style.height = `${size}px`;sparkle.style.animationDelay = `${Math.random() * 0.5}s`;document.body.appendChild(sparkle);// Remove sparkle after animationsetTimeout(() => {sparkle.remove();}, 1000);}}// Function to view profile detailsfunction viewProfileDetails(profile) {// In a real app, this would show a detailed view or modalalert(`Voir le profil de ${profile.name}\n\n${profile.bio}\n\nCompatibilité: ${profile.compatibility}%`);}// Close match modaldocument.getElementById('match-modal').addEventListener('click', (e) => {if (e.target === document.getElementById('match-modal') ||e.target.classList.contains('bg-gray-200')) {document.getElementById('match-modal').classList.add('hidden');}});// Initialize the appdocument.addEventListener('DOMContentLoaded', () => {createProfileCards();});</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=Isiel/isispace" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
README.md+6-4
index.html+458-19