Download index.html from bcoco57/arouna: direct link, hf CLI and curl.
- Browser
- Download file 29.8 kB
-
https://huggingface.co/spaces/bcoco57/arouna/resolve/main/index.html
- Command line
-
hf download hf://spaces/bcoco57/arouna/index.html
-
curl -L -o index.html https://huggingface.co/spaces/bcoco57/arouna/resolve/main/index.html
29.8 kB
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Mon Portfolio Futuriste</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/gsap.min.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| overflow-x: hidden; | |
| font-family: 'Poppins', sans-serif; | |
| background: #0a0a12; | |
| color: #fff; | |
| line-height: 1.6; | |
| } | |
| #canvas-container { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| } | |
| .card { | |
| background: rgba(20, 20, 40, 0.8); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.15); | |
| border-radius: 24px; | |
| transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: 0 20px 30px rgba(0, 255, 255, 0.2); | |
| } | |
| .glow-text { | |
| text-shadow: 0 0 10px rgba(0, 255, 255, 0.7); | |
| } | |
| .glow-border { | |
| box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); | |
| } | |
| .section-title { | |
| position: relative; | |
| display: inline-block; | |
| } | |
| .section-title:after { | |
| content: ''; | |
| position: absolute; | |
| width: 100%; | |
| height: 3px; | |
| bottom: -5px; | |
| left: 0; | |
| background: linear-gradient(90deg, #00ffff, #ff00ff); | |
| transform: scaleX(0); | |
| transform-origin: left; | |
| transition: transform 0.3s ease; | |
| } | |
| .section-title:hover:after { | |
| transform: scaleX(1); | |
| } | |
| .photo-gallery img { | |
| transition: all 0.3s ease; | |
| border-radius: 10px; | |
| } | |
| .photo-gallery img:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4); | |
| } | |
| .friend-card { | |
| transition: all 0.3s ease; | |
| } | |
| .friend-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3); | |
| } | |
| .contact-input { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| transition: all 0.3s ease; | |
| } | |
| .contact-input:focus { | |
| background: rgba(255, 255, 255, 0.2); | |
| border: 1px solid #00ffff; | |
| box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%); | |
| transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | |
| border: none; | |
| letter-spacing: 0.5px; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 20px rgba(0, 255, 255, 0.4); | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link:after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| bottom: 0; | |
| left: 0; | |
| background: #00ffff; | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover:after { | |
| width: 100%; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-20px); } | |
| } | |
| .floating { | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="canvas-container"></div> | |
| <header class="fixed w-full z-50"> | |
| <nav class="container mx-auto px-6 py-4"> | |
| <div class="flex justify-between items-center"> | |
| <div class="text-2xl font-bold glow-text"> | |
| <span class="text-cyan-400">Maya</span><span class="text-pink-400">folio</span> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#about" class="nav-link text-white hover:text-cyan-300">À propos</a> | |
| <a href="#dreams" class="nav-link text-white hover:text-cyan-300">Rêves</a> | |
| <a href="#gallery" class="nav-link text-white hover:text-cyan-300">Galerie</a> | |
| <a href="#friends" class="nav-link text-white hover:text-cyan-300">Copines</a> | |
| <a href="#contact" class="nav-link text-white hover:text-cyan-300">Contact</a> | |
| </div> | |
| <div class="md:hidden"> | |
| <button id="menu-btn" class="text-white focus:outline-none"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div id="mobile-menu" class="hidden md:hidden mt-4"> | |
| <a href="#about" class="block py-2 text-white hover:text-cyan-300">À propos</a> | |
| <a href="#dreams" class="block py-2 text-white hover:text-cyan-300">Rêves</a> | |
| <a href="#gallery" class="block py-2 text-white hover:text-cyan-300">Galerie</a> | |
| <a href="#friends" class="block py-2 text-white hover:text-cyan-300">Copines</a> | |
| <a href="#contact" class="block py-2 text-white hover:text-cyan-300">Contact</a> | |
| </div> | |
| </nav> | |
| </header> | |
| <main class="pt-24 pb-16 px-4 md:px-0"> | |
| <!-- Hero Section --> | |
| <section class="container mx-auto flex flex-col md:flex-row items-center justify-between min-h-screen py-20"> | |
| <div class="md:w-1/2 mb-12 md:mb-0"> | |
| <h1 class="text-5xl md:text-7xl font-bold mb-6 glow-text"> | |
| <span class="text-cyan-400">Bonjour, je suis</span><br> | |
| <span class="text-pink-400">[Arouna Mayaki]</span> | |
| </h1> | |
| <p class="text-xl md:text-2xl text-gray-300 mb-8">Découvrez mon univers à travers ce portfolio futuriste</p> | |
| <a href="#about" class="btn-primary text-white font-bold py-3 px-8 rounded-full inline-block">Explorer</a> | |
| </div> | |
| <div class="md:w-1/2 relative floating"> | |
| <div class="w-64 h-64 md:w-80 md:h-80 mx-auto glow-border rounded-full overflow-hidden border-4 border-cyan-400"> | |
| <img src="https://via.placeholder.com/400" alt="Ma photo" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="absolute -bottom-5 -right-5 w-24 h-24 rounded-full bg-pink-500 opacity-70 blur-xl"></div> | |
| <div class="absolute -top-5 -left-5 w-20 h-20 rounded-full bg-cyan-500 opacity-70 blur-xl"></div> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">À propos de moi</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12"> | |
| <div class="card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-cyan-400">Informations personnelles</h3> | |
| <ul class="space-y-4"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-user text-pink-400 mt-1 mr-4"></i> | |
| <div> | |
| <span class="font-bold">Nom complet:</span> | |
| <p>Arouna Mayaki</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-birthday-cake text-pink-400 mt-1 mr-4"></i> | |
| <div> | |
| <span class="font-bold">Âge / Date de naissance:</span> | |
| <p>17 ans - 06/06/2008</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-heart text-pink-400 mt-1 mr-4"></i> | |
| <div> | |
| <span class="font-bold">Situation amoureuse:</span> | |
| <p>En couple</p> | |
| </div> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-map-marker-alt text-pink-400 mt-1 mr-4"></i> | |
| <div> | |
| <span class="font-bold">Localisation:</span> | |
| <p>Parakou, Bénin</p> | |
| </div> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-cyan-400">Ma personnalité</h3> | |
| <div class="mb-6"> | |
| <h4 class="font-bold text-lg mb-2">Mes passions:</h4> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Ingénieur Robotique</span> | |
| <span class="bg-pink-900 bg-opacity-50 px-3 py-1 rounded-full">Voyages</span> | |
| <span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Musique</span> | |
| <span class="bg-pink-900 bg-opacity-50 px-3 py-1 rounded-full">Technologie</span> | |
| <span class="bg-cyan-900 bg-opacity-50 px-3 py-1 rounded-full">Sport</span> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-2">Description:</h4> | |
| <p class="text-gray-300">Je suis une personne créative et passionnée par la technologie. J'aime apprendre de nouvelles choses et relever des défis. Mon caractère est à la fois déterminé et sociable. Ce qui me motive au quotidien, c'est la perspective de créer des innovations qui peuvent améliorer la vie des gens.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Dreams Section --> | |
| <section id="dreams" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Rêves & Ambitions</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="card p-8 hover:border-cyan-400 transition-all"> | |
| <div class="text-5xl text-cyan-400 mb-6"> | |
| <i class="fas fa-globe-americas"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">Voyager</h3> | |
| <p class="text-gray-300">Mon rêve est de visiter au moins 30 pays avant mes 30 ans. Je veux découvrir de nouvelles cultures, goûter à des plats exotiques et me faire des amis partout dans le monde.</p> | |
| </div> | |
| <div class="card p-8 hover:border-pink-400 transition-all"> | |
| <div class="text-5xl text-pink-400 mb-6"> | |
| <i class="fas fa-briefcase"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">Carrière</h3> | |
| <p class="text-gray-300">Je vise à devenir ingénieur en robotique. Mon objectif est de concevoir des systèmes automatisés qui facilitent la vie quotidienne. Je travaille chaque jour pour me rapprocher de ce rêve en développant mes compétences techniques.</p> | |
| </div> | |
| <div class="card p-8 hover:border-cyan-400 transition-all"> | |
| <div class="text-5xl text-cyan-400 mb-6"> | |
| <i class="fas fa-heart"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">Vie personnelle</h3> | |
| <p class="text-gray-300">Je rêve de créer une famille heureuse et équilibrée. Pour moi, le bonheur c'est partager des moments simples avec les personnes que j'aime, tout en poursuivant mes passions.</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Gallery Section --> | |
| <section id="gallery" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">Ma Galerie Photo</h2> | |
| <div class="photo-gallery grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6"> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 1" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 2" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 3" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 4" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 5" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 6" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 7" class="w-full h-48 object-cover"> | |
| </div> | |
| <div class="overflow-hidden rounded-lg"> | |
| <img src="https://via.placeholder.com/400x300" alt="Photo 8" class="w-full h-48 object-cover"> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Best Friends Section --> | |
| <section id="best-friends" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Meilleurs Amis</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12"> | |
| <div class="best-friend-card card p-8 flex flex-col md:flex-row items-center gap-6 hover:border-cyan-400 transition-all"> | |
| <div class="relative"> | |
| <div class="w-40 h-40 rounded-full overflow-hidden border-4 border-cyan-400"> | |
| <img src="https://via.placeholder.com/200" alt="Meilleur ami 1" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="absolute -bottom-2 -right-2 bg-cyan-500 text-white rounded-full w-10 h-10 flex items-center justify-center"> | |
| <i class="fas fa-heart"></i> | |
| </div> | |
| </div> | |
| <div class="text-center md:text-left"> | |
| <h3 class="text-2xl font-bold mb-2 text-cyan-400">[Nom Meilleur Ami]</h3> | |
| <p class="text-gray-300 mb-4">"Nous nous connaissons depuis [nombre] ans. C'est mon confident et mon frère/sœur de cœur."</p> | |
| <div class="flex justify-center md:justify-start gap-4"> | |
| <a href="#" class="text-cyan-400 hover:text-cyan-300"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="text-cyan-400 hover:text-cyan-300"><i class="fab fa-whatsapp"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="best-friend-card card p-8 flex flex-col md:flex-row items-center gap-6 hover:border-pink-400 transition-all"> | |
| <div class="relative"> | |
| <div class="w-40 h-40 rounded-full overflow-hidden border-4 border-pink-400"> | |
| <img src="https://via.placeholder.com/200" alt="Meilleur ami 2" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="absolute -bottom-2 -right-2 bg-pink-500 text-white rounded-full w-10 h-10 flex items-center justify-center"> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| <div class="text-center md:text-left"> | |
| <h3 class="text-2xl font-bold mb-2 text-pink-400">[Nom Meilleur Ami]</h3> | |
| <p class="text-gray-300 mb-4">"Notre amitié a commencé [année/occasion]. Nous partageons les mêmes passions et valeurs."</p> | |
| <div class="flex justify-center md:justify-start gap-4"> | |
| <a href="#" class="text-pink-400 hover:text-pink-300"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="text-pink-400 hover:text-pink-300"><i class="fab fa-whatsapp"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Friends Section --> | |
| <section id="friends" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">Mes Autres Amis</h2> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="friend-card card p-6 text-center"> | |
| <div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-pink-400 mb-4"> | |
| <img src="https://via.placeholder.com/200" alt="Amie 1" class="w-full h-full object-cover"> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">[Nom Amie 1]</h3> | |
| <p class="text-gray-400">"Notre amitié a commencé [année/occasion]. Elle est [décrivez en quelques mots]."</p> | |
| </div> | |
| <div class="friend-card card p-6 text-center"> | |
| <div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-cyan-400 mb-4"> | |
| <img src="https://via.placeholder.com/200" alt="Amie 2" class="w-full h-full object-cover"> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">[Nom Amie 2]</h3> | |
| <p class="text-gray-400">"Nous nous connaissons depuis [durée]. Ce que j'aime chez elle c'est [qualités]."</p> | |
| </div> | |
| <div class="friend-card card p-6 text-center"> | |
| <div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-pink-400 mb-4"> | |
| <img src="https://via.placeholder.com/200" alt="Amie 3" class="w-full h-full object-cover"> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">[Nom Amie 3]</h3> | |
| <p class="text-gray-400">"Notre meilleur souvenir ensemble est [décrivez un souvenir]. Elle est toujours là pour moi."</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Style for best friends section --> | |
| <style> | |
| .best-friend-card { | |
| transition: all 0.4s ease; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .best-friend-card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: 0 15px 30px rgba(0, 195, 255, 0.3); | |
| } | |
| .best-friend-card:hover h3 { | |
| text-shadow: 0 0 10px rgba(0, 255, 255, 0.7); | |
| } | |
| </style> | |
| <!-- Contact Section --> | |
| <section id="contact" class="container mx-auto py-20"> | |
| <h2 class="section-title text-4xl font-bold mb-16 text-center">Me Contacter</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12"> | |
| <div class="card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-cyan-400">Mes réseaux</h3> | |
| <div class="space-y-6"> | |
| <a href="#" class="flex items-center text-white hover:text-pink-400 transition-colors"> | |
| <i class="fab fa-instagram text-2xl mr-4"></i> | |
| <span>@moninstagram</span> | |
| </a> | |
| <a href="#" class="flex items-center text-white hover:text-cyan-400 transition-colors"> | |
| <i class="fab fa-twitter text-2xl mr-4"></i> | |
| <span>@montwitter</span> | |
| </a> | |
| <a href="#" class="flex items-center text-white hover:text-blue-400 transition-colors"> | |
| <i class="fab fa-facebook text-2xl mr-4"></i> | |
| <span>Mon Facebook</span> | |
| </a> | |
| <a href="#" class="flex items-center text-white hover:text-red-400 transition-colors"> | |
| <i class="fas fa-envelope text-2xl mr-4"></i> | |
| <span>monemail@example.com</span> | |
| </a> | |
| <a href="#" class="flex items-center text-white hover:text-green-400 transition-colors"> | |
| <i class="fab fa-whatsapp text-2xl mr-4"></i> | |
| <span>+123 456 7890</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="card p-8"> | |
| <h3 class="text-2xl font-bold mb-6 text-cyan-400">Formulaire de contact</h3> | |
| <form class="space-y-4"> | |
| <div> | |
| <label for="name" class="block mb-2">Votre nom</label> | |
| <input type="text" id="name" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none"> | |
| </div> | |
| <div> | |
| <label for="email" class="block mb-2">Votre email</label> | |
| <input type="email" id="email" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none"> | |
| </div> | |
| <div> | |
| <label for="message" class="block mb-2">Votre message</label> | |
| <textarea id="message" rows="4" class="contact-input w-full px-4 py-3 rounded-lg focus:outline-none"></textarea> | |
| </div> | |
| <button type="submit" class="btn-primary text-white font-bold py-3 px-6 rounded-lg w-full mt-6">Envoyer</button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer class="py-8 text-center text-gray-400"> | |
| <div class="container mx-auto px-4"> | |
| <p>© <span id="year"></span> [Votre Prénom] [Votre Nom]. Tous droits réservés.</p> | |
| <div class="flex justify-center space-x-6 mt-4"> | |
| <a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-instagram text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-twitter text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-facebook text-xl"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-cyan-400 transition-colors"><i class="fab fa-linkedin text-xl"></i></a> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Set current year in footer | |
| document.getElementById('year').textContent = new Date().getFullYear(); | |
| // Mobile menu toggle | |
| document.getElementById('menu-btn').addEventListener('click', function() { | |
| document.getElementById('mobile-menu').classList.toggle('hidden'); | |
| }); | |
| // Smooth scrolling for anchor links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| document.getElementById('mobile-menu').classList.add('hidden'); | |
| }); | |
| }); | |
| // 3D Background with Three.js | |
| const scene = new THREE.Scene(); | |
| const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); | |
| const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true }); | |
| renderer.setSize(window.innerWidth, window.innerHeight); | |
| document.getElementById('canvas-container').appendChild(renderer.domElement); | |
| // Particles | |
| const particlesGeometry = new THREE.BufferGeometry(); | |
| const particleCount = 1500; | |
| const posArray = new Float32Array(particleCount * 3); | |
| for(let i = 0; i < particleCount * 3; i++) { | |
| posArray[i] = (Math.random() - 0.5) * 10; | |
| } | |
| particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3)); | |
| const particlesMaterial = new THREE.PointsMaterial({ | |
| size: 0.03, | |
| sizeAttenuation: true, | |
| color: 0x4facfe, | |
| transparent: true, | |
| opacity: 0.9, | |
| blending: THREE.AdditiveBlending, | |
| vertexColors: true | |
| }); | |
| const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial); | |
| scene.add(particlesMesh); | |
| // Add some floating shapes | |
| const geometry = new THREE.IcosahedronGeometry(0.5, 0); | |
| const material = new THREE.MeshBasicMaterial({ | |
| color: 0xff00ff, | |
| wireframe: true, | |
| transparent: true, | |
| opacity: 0.5 | |
| }); | |
| const shapes = []; | |
| for(let i = 0; i < 5; i++) { | |
| const shape = new THREE.Mesh(geometry, material); | |
| shape.position.x = (Math.random() - 0.5) * 10; | |
| shape.position.y = (Math.random() - 0.5) * 10; | |
| shape.position.z = (Math.random() - 0.5) * 10; | |
| shape.rotation.x = Math.random() * Math.PI; | |
| shape.rotation.y = Math.random() * Math.PI; | |
| shapes.push(shape); | |
| scene.add(shape); | |
| } | |
| camera.position.z = 5; | |
| // Animation | |
| function animate() { | |
| requestAnimationFrame(animate); | |
| particlesMesh.rotation.x += 0.0005; | |
| particlesMesh.rotation.y += 0.0005; | |
| shapes.forEach(shape => { | |
| shape.rotation.x += 0.005; | |
| shape.rotation.y += 0.005; | |
| // Float up and down | |
| shape.position.y += Math.sin(Date.now() * 0.001 + shape.position.x) * 0.001; | |
| }); | |
| renderer.render(scene, camera); | |
| } | |
| animate(); | |
| // Handle window resize | |
| window.addEventListener('resize', () => { | |
| camera.aspect = window.innerWidth / window.innerHeight; | |
| camera.updateProjectionMatrix(); | |
| renderer.setSize(window.innerWidth, window.innerHeight); | |
| }); | |
| // GSAP animations | |
| gsap.from('header', { duration: 1, y: -100, opacity: 0, ease: 'power3.out' }); | |
| gsap.from('.floating', { duration: 1.5, y: 50, opacity: 0, ease: 'elastic.out(1, 0.5)' }); | |
| gsap.from('h1', { duration: 1, x: -50, opacity: 0, delay: 0.5, ease: 'power3.out' }); | |
| gsap.from('section', { | |
| duration: 1, | |
| y: 50, | |
| opacity: 0, | |
| stagger: 0.2, | |
| scrollTrigger: { | |
| trigger: 'section', | |
| start: 'top 80%', | |
| toggleActions: 'play none none none' | |
| } | |
| }); | |
| </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=bcoco57/arouna" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |