Spaces:
Running
Running
Download index.html from KevinLevin123/lebron: direct link, hf CLI and curl.
- Browser
- Download file 29.4 kB
-
https://huggingface.co/spaces/KevinLevin123/lebron/resolve/main/index.html
- Command line
-
hf download hf://spaces/KevinLevin123/lebron/index.html
-
curl -L -o index.html https://huggingface.co/spaces/KevinLevin123/lebron/resolve/main/index.html
29.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>KYCJM | Game Sound Design</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=Major+Mono+Display&family=Montserrat:wght@300;400;600&display=swap'); | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| background-color: #f8f8f8; | |
| color: #222; | |
| } | |
| .logo-font { | |
| font-family: 'Major Mono Display', monospace; | |
| } | |
| .audio-wave { | |
| background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23000000' fill-opacity='0.1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E"); | |
| background-size: cover; | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| } | |
| .audio-player { | |
| background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.1) 100%); | |
| } | |
| .project-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.2); | |
| } | |
| .sound-wave { | |
| height: 40px; | |
| background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.1) 50%, transparent 100%); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .sound-wave::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23000000' fill-opacity='0.1' d='M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,181.3C672,181,768,203,864,202.7C960,203,1056,181,1152,181.3C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E"); | |
| background-size: 200% 100%; | |
| animation: wave 2s linear infinite; | |
| } | |
| @keyframes wave { | |
| 0% { background-position-x: 0%; } | |
| 100% { background-position-x: 200%; } | |
| } | |
| /* Modal styles */ | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-color: rgba(0,0,0,0.7); | |
| z-index: 1000; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .modal-content { | |
| background-color: white; | |
| padding: 2rem; | |
| border-radius: 0.5rem; | |
| max-width: 500px; | |
| width: 90%; | |
| text-align: center; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen flex flex-col"> | |
| <!-- Navigation --> | |
| <nav class="bg-black text-white py-4 px-6 shadow-lg"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="logo-font text-2xl">KYCJM</div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#portfolio" class="hover:text-gray-300 transition">Portfolio</a> | |
| <a href="#about" class="hover:text-gray-300 transition">About</a> | |
| <a href="#contact" class="hover:text-gray-300 transition">Contact</a> | |
| </div> | |
| <button class="md:hidden text-white focus:outline-none"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <header class="audio-wave bg-white py-20 px-6 text-center"> | |
| <div class="container mx-auto max-w-4xl"> | |
| <h1 class="logo-font text-5xl md:text-7xl mb-6">KYCJM</h1> | |
| <div class="flex flex-col md:flex-row justify-center gap-4"> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- About Section --> | |
| <section id="about" class="py-16 px-6 bg-black text-white"> | |
| <div class="container mx-auto max-w-4xl text-center"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-8">About me</h2> | |
| <p class="mb-12 max-w-2xl mx-auto">I am video game audio designer</p> | |
| <div class="flex flex-col md:flex-row items-center justify-center gap-12"> | |
| <div class="md:w-1/2"> | |
| <img src="https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Studio" class="w-full h-auto rounded-lg shadow-lg"> | |
| </div> | |
| <div class="md:w-1/2 text-left"> | |
| <h3 class="text-2xl font-semibold mb-4">My Philosophy</h3> | |
| <p class="text-gray-300 mb-6">I believe that sound is half of the gaming experience. My approach combines technical precision with artistic creativity to deliver audio that not only sounds great but enhances gameplay and storytelling.</p> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <div class="bg-gray-900 p-4 rounded-lg"> | |
| <div class="text-3xl mb-2"><i class="fas fa-microphone-alt"></i></div> | |
| <h4 class="font-semibold mb-1">Field Recording</h4> | |
| <p class="text-sm text-gray-400">I capture authentic sounds from real-world sources</p> | |
| </div> | |
| <div class="bg-gray-900 p-4 rounded-lg"> | |
| <div class="text-3xl mb-2"><i class="fas fa-sliders-h"></i></div> | |
| <h4 class="font-semibold mb-1">Sound Design</h4> | |
| <p class="text-sm text-gray-400">Custom crafted effects for your game's unique needs</p> | |
| </div> | |
| <div class="bg-gray-900 p-4 rounded-lg"> | |
| <div class="text-3xl mb-2"><i class="fas fa-music"></i></div> | |
| <h4 class="font-semibold mb-1">Composition</h4> | |
| <p class="text-sm text-gray-400">Original scores that enhance your game's atmosphere</p> | |
| </div> | |
| <div class="bg-gray-900 p-4 rounded-lg"> | |
| <div class="text-3xl mb-2"><i class="fas fa-code"></i></div> | |
| <h4 class="font-semibold mb-1">Implementation</h4> | |
| <p class="text-sm text-gray-400">Seamless integration with your game engine</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Portfolio Section --> | |
| <section id="portfolio" class="py-16 px-6 bg-gray-100"> | |
| <div class="container mx-auto max-w-6xl"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">RECENT PROJECTS</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8"> | |
| <!-- Project 1 --> | |
| <div class="project-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="h-48 bg-gray-800 flex items-center justify-center"> | |
| <i class="fas fa-gamepad text-6xl text-white"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-semibold mb-2">Panoptic</h3> | |
| <p class="text-gray-600 mb-4"> Psychological Horror - Full soundtrack + SFX</p> | |
| <div class="audio-player p-4 rounded"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm">Track Preview</span> | |
| <button class="text-black play-btn" data-sound="synth"><i class="fas fa-play"></i></button> | |
| </div> | |
| <div class="sound-wave"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 2 --> | |
| <div class="project-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="h-48 bg-gray-800 flex items-center justify-center"> | |
| <i class="fas fa-ghost text-6xl text-white"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-semibold mb-2">Trouble Train</h3> | |
| <p class="text-gray-600 mb-4">Simulator - SFX</p> | |
| <div class="audio-player p-4 rounded"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm">Track Preview</span> | |
| <button class="text-black play-btn" data-sound="ambient"><i class="fas fa-play"></i></button> | |
| </div> | |
| <div class="sound-wave"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 3 --> | |
| <div class="project-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="h-48 bg-gray-800 flex items-center justify-center"> | |
| <i class="fas fa-robot text-6xl text-white"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-semibold mb-2">"Mech Wars"</h3> | |
| <p class="text-gray-600 mb-4">Action Shooter - Combat SFX package</p> | |
| <div class="audio-player p-4 rounded"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm">Track Preview</span> | |
| <button class="text-black play-btn" data-sound="impact"><i class="fas fa-play"></i></button> | |
| </div> | |
| <div class="sound-wave"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 4 (New Project) --> | |
| <div class="project-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="h-48 bg-gray-800 flex items-center justify-center"> | |
| <i class="fas fa-dragon text-6xl text-white"></i> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-semibold mb-2">"Dragon's Legacy"</h3> | |
| <p class="text-gray-600 mb-4">Fantasy RPG - Orchestral soundtrack</p> | |
| <div class="audio-player p-4 rounded"> | |
| <div class="flex items-center justify-between mb-2"> | |
| <span class="text-sm">Track Preview</span> | |
| <button class="text-black play-btn" data-sound="orchestral"><i class="fas fa-play"></i></button> | |
| </div> | |
| <div class="sound-wave"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="py-16 px-6 bg-gray-100"> | |
| <div class="container mx-auto max-w-4xl"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">DEVELOPER TESTIMONIALS</h2> | |
| <div class="bg-white p-8 rounded-lg shadow-sm mb-8"> | |
| <div class="flex items-start mb-4"> | |
| <div class="text-3xl mr-4 text-gray-400">"</div> | |
| <p class="text-gray-700 italic">Working with KYCJM transformed our game. Their ability to translate visual concepts into sound is unparalleled. The combat SFX package they delivered added so much weight and impact to our gameplay.</p> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-800 mr-3"></div> | |
| <div> | |
| <p class="font-semibold">Sarah Chen</p> | |
| <p class="text-sm text-gray-600">Lead Designer, Neon Dystopia</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-8 rounded-lg shadow-sm"> | |
| <div class="flex items-start mb-4"> | |
| <div class="text-3xl mr-4 text-gray-400">"</div> | |
| <p class="text-gray-700 italic">The dynamic soundtrack they composed adapts perfectly to different game states while maintaining a cohesive identity. Players consistently mention the audio as one of the most memorable aspects of our game.</p> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-gray-800 mr-3"></div> | |
| <div> | |
| <p class="font-semibold">James Rodriguez</p> | |
| <p class="text-sm text-gray-600">Director, Specter Hunt</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="py-16 px-6 bg-black text-white"> | |
| <div class="container mx-auto max-w-4xl"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-12 text-center">START YOUR PROJECT</h2> | |
| <form id="contactForm" class="grid grid-cols-1 md:grid-cols-2 gap-6" action="https://formspree.io/f/xjvqjqyy" method="POST"> | |
| <div> | |
| <label for="name" class="block mb-2">Name</label> | |
| <input type="text" id="name" name="name" required class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"> | |
| </div> | |
| <div> | |
| <label for="email" class="block mb-2">Email</label> | |
| <input type="email" id="email" name="email" required class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"> | |
| </div> | |
| <div> | |
| <label for="company" class="block mb-2">Company Name</label> | |
| <input type="text" id="company" name="company" class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"> | |
| </div> | |
| <div> | |
| <label for="phone" class="block mb-2">Phone (Optional)</label> | |
| <input type="tel" id="phone" name="phone" class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"> | |
| </div> | |
| <div class="md:col-span-2"> | |
| <label for="project" class="block mb-2">Project Type</label> | |
| <select id="project" name="project" required class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"> | |
| <option value="">Select a service</option> | |
| <option value="soundtrack">Original Soundtrack</option> | |
| <option value="sfx">Sound Effects</option> | |
| <option value="full">Full Audio Package</option> | |
| <option value="other">Other</option> | |
| </select> | |
| </div> | |
| <div class="md:col-span-2"> | |
| <label for="message" class="block mb-2">Project Details</label> | |
| <textarea id="message" name="message" rows="5" required class="w-full bg-gray-900 border border-gray-700 rounded px-4 py-3 focus:outline-none focus:border-white"></textarea> | |
| </div> | |
| <div class="md:col-span-2"> | |
| <button type="submit" class="bg-white text-black py-3 px-8 rounded-full hover:bg-gray-200 transition w-full md:w-auto">Submit Request</button> | |
| </div> | |
| </form> | |
| </div> | |
| </section> | |
| <!-- Success Modal --> | |
| <div id="successModal" class="modal"> | |
| <div class="modal-content"> | |
| <i class="fas fa-check-circle text-5xl text-green-500 mb-4"></i> | |
| <h3 class="text-2xl font-bold mb-2">Thank You!</h3> | |
| <p class="mb-6">Your message has been sent successfully. I'll get back to you soon.</p> | |
| <button onclick="closeModal()" class="bg-black text-white py-2 px-6 rounded-full hover:bg-gray-800 transition">Close</button> | |
| </div> | |
| </div> | |
| <!-- Error Modal --> | |
| <div id="errorModal" class="modal"> | |
| <div class="modal-content"> | |
| <i class="fas fa-exclamation-circle text-5xl text-red-500 mb-4"></i> | |
| <h3 class="text-2xl font-bold mb-2">Error</h3> | |
| <p class="mb-6" id="errorMessage">There was a problem sending your message. Please try again later.</p> | |
| <button onclick="closeModal()" class="bg-black text-white py-2 px-6 rounded-full hover:bg-gray-800 transition">Close</button> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-gray-400 py-12 px-6"> | |
| <div class="container mx-auto max-w-6xl"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="logo-font text-xl text-white mb-4">KYCJM</h3> | |
| <p class="mb-4">Crafting immersive sound experiences for games since 2015.</p> | |
| <div class="flex space-x-4"> | |
| <a href="https://www.google.com/search?q=bing+chilling&sca_esv=ccd6930778b679eb&rlz=1C1GCEU_enMX1161MX1161&ei=Mv80aPHPKpPHkPIP08irwQ4&ved=0ahUKEwjxsI3YqsKNAxWTI0QIHVPkKugQ4dUDCBA&uact=5&oq=bing+chilling&gs_lp=Egxnd3Mtd2l6LXNlcnAiDWJpbmcgY2hpbGxpbmcyBRAuGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAESJsKUABY2glwAHgAkAEAmAGAAaAB-gmqAQM0Lji4AQPIAQD4AQGYAgygAqQKwgILEAAYgAQYkQIYigXCAgoQABiABBhDGIoFwgILEC4YgAQY0QMYxwHCAhAQLhiABBjRAxhDGMcBGIoFwgINEAAYgAQYQxjJAxiKBcICCxAAGIAEGJIDGIoFwgIQEC4YgAQYQxjUAhjJAxiKBZgDAJIHAzMuOaAH8JQBsgcDMy45uAekCg&sclient=gws-wiz-serp" class="hover:text-white"><i class="fab fa-twitter"></i></a> | |
| <a href="https://www.google.com/search?q=bing+chilling&sca_esv=ccd6930778b679eb&rlz=1C1GCEU_enMX1161MX1161&ei=Mv80aPHPKpPHkPIP08irwQ4&ved=0ahUKEwjxsI3YqsKNAxWTI0QIHVPkKugQ4dUDCBA&uact=5&oq=bing+chilling&gs_lp=Egxnd3Mtd2l6LXNlcnAiDWJpbmcgY2hpbGxpbmcyBRAuGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAESJsKUABY2glwAHgAkAEAmAGAAaAB-gmqAQM0Lji4AQPIAQD4AQGYAgygAqQKwgILEAAYgAQYkQIYigXCAgoQABiABBhDGIoFwgILEC4YgAQY0QMYxwHCAhAQLhiABBjRAxhDGMcBGIoFwgINEAAYgAQYQxjJAxiKBcICCxAAGIAEGJIDGIoFwgIQEC4YgAQYQxjUAhjJAxiKBZgDAJIHAzMuOaAH8JQBsgcDMy45uAekCg&sclient=gws-wiz-serp" class="hover:text-white"><i class="fab fa-instagram"></i></a> | |
| <a href="https://www.google.com/search?q=bing+chilling&sca_esv=ccd6930778b679eb&rlz=1C1GCEU_enMX1161MX1161&ei=Mv80aPHPKpPHkPIP08irwQ4&ved=0ahUKEwjxsI3YqsKNAxWTI0QIHVPkKugQ4dUDCBA&uact=5&oq=bing+chilling&gs_lp=Egxnd3Mtd2l6LXNlcnAiDWJpbmcgY2hpbGxpbmcyBRAuGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAESJsKUABY2glwAHgAkAEAmAGAAaAB-gmqAQM0Lji4AQPIAQD4AQGYAgygAqQKwgILEAAYgAQYkQIYigXCAgoQABiABBhDGIoFwgILEC4YgAQY0QMYxwHCAhAQLhiABBjRAxhDGMcBGIoFwgINEAAYgAQYQxjJAxiKBcICCxAAGIAEGJIDGIoFwgIQEC4YgAQYQxjUAhjJAxiKBZgDAJIHAzMuOaAH8JQBsgcDMy45uAekCg&sclient=gws-wiz-serp" class="hover:text-white"><i class="fab fa-soundcloud"></i></a> | |
| <a href="https://www.google.com/search?q=bing+chilling&sca_esv=ccd6930778b679eb&rlz=1C1GCEU_enMX1161MX1161&ei=Mv80aPHPKpPHkPIP08irwQ4&ved=0ahUKEwjxsI3YqsKNAxWTI0QIHVPkKugQ4dUDCBA&uact=5&oq=bing+chilling&gs_lp=Egxnd3Mtd2l6LXNlcnAiDWJpbmcgY2hpbGxpbmcyBRAuGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAEMgUQABiABDIFEAAYgAQyBRAAGIAESJsKUABY2glwAHgAkAEAmAGAAaAB-gmqAQM0Lji4AQPIAQD4AQGYAgygAqQKwgILEAAYgAQYkQIYigXCAgoQABiABBhDGIoFwgILEC4YgAQY0QMYxwHCAhAQLhiABBjRAxhDGMcBGIoFwgINEAAYgAQYQxjJAxiKBcICCxAAGIAEGJIDGIoFwgIQEC4YgAQYQxjUAhjJAxiKBZgDAJIHAzMuOaAH8JQBsgcDMy45uAekCg&sclient=gws-wiz-serp" class="hover:text-white"><i class="fab fa-youtube"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-white mb-4">Services</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white">Game Soundtracks</a></li> | |
| <li><a href="#" class="hover:text-white">Sound Effects</a></li> | |
| <li><a href="#" class="hover:text-white">Audio Implementation</a></li> | |
| <li><a href="#" class="hover:text-white">Voice Over</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-white">About Me</a></li> | |
| <li><a href="#" class="hover:text-white">Portfolio</a></li> | |
| <li><a href="#" class="hover:text-white">Testimonials</a></li> | |
| <li><a href="#" class="hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white mb-4">Contact</h4> | |
| <ul class="space-y-2"> | |
| <li>jungyechan333@outlook.com</li> | |
| <li>+1 (555) 123-4567</li> | |
| <li>123 Sound Street</li> | |
| <li>Seattle, WA 98101</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center"> | |
| <p>© 2023 KYCJM. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.querySelector('nav button').addEventListener('click', function() { | |
| const menu = document.querySelector('nav .md\\:flex'); | |
| menu.classList.toggle('hidden'); | |
| menu.classList.toggle('flex'); | |
| menu.classList.toggle('flex-col'); | |
| menu.classList.toggle('absolute'); | |
| menu.classList.toggle('top-16'); | |
| menu.classList.toggle('left-0'); | |
| menu.classList.toggle('right-0'); | |
| menu.classList.toggle('bg-black'); | |
| menu.classList.toggle('p-4'); | |
| menu.classList.toggle('space-y-4'); | |
| menu.classList.toggle('space-x-8'); | |
| }); | |
| // Audio context for sound playback | |
| const audioContext = new (window.AAudioContext || window.webkitAudioContext)(); | |
| // Sound generator function (replace with your actual audio files) | |
| function playSound(type) { | |
| // This is just a placeholder - replace with your actual audio files | |
| const oscillator = audioContext.createOscillator(); | |
| const gainNode = audioContext.createGain(); | |
| // Different sound types | |
| switch(type) { | |
| case 'synth': | |
| oscillator.type = 'sawtooth'; | |
| oscillator.frequency.value = 220; | |
| break; | |
| case 'ambient': | |
| oscillator.type = 'sine'; | |
| oscillator.frequency.value = 110; | |
| break; | |
| case 'impact': | |
| oscillator.type = 'square'; | |
| oscillator.frequency.value = 55; | |
| break; | |
| case 'ui': | |
| oscillator.type = 'triangle'; | |
| oscillator.frequency.value = 880; | |
| break; | |
| case 'orchestral': | |
| oscillator.type = 'sine'; | |
| oscillator.frequency.value = 440; | |
| break; | |
| default: | |
| oscillator.type = 'sine'; | |
| oscillator.frequency.value = 440; | |
| } | |
| gainNode.gain.value = 0.3; | |
| oscillator.connect(gainNode); | |
| gainNode.connect(audioContext.destination); | |
| oscillator.start(); | |
| gainNode.gain.exponentialRampToValueAtTime(0.0001, audioContext.currentTime + 1); | |
| oscillator.stop(audioContext.currentTime + 1); | |
| } | |
| // Play buttons in project cards | |
| document.querySelectorAll('.play-btn').forEach(btn => { | |
| btn.addEventListener('click', function() { | |
| const icon = this.querySelector('i'); | |
| const soundType = this.getAttribute('data-sound'); | |
| if (icon.classList.contains('fa-play')) { | |
| icon.classList.remove('fa-play'); | |
| icon.classList.add('fa-pause'); | |
| playSound(soundType); | |
| // In a real implementation, you would play your actual audio file here | |
| // Example: new Audio('path/to/your/audio.mp3').play(); | |
| // Reset after 3 seconds (demo only) | |
| setTimeout(() => { | |
| icon.classList.remove('fa-pause'); | |
| icon.classList.add('fa-play'); | |
| }, 3000); | |
| } else { | |
| icon.classList.remove('fa-pause'); | |
| icon.classList.add('fa-play'); | |
| // In a real implementation, you would pause the audio here | |
| } | |
| }); | |
| }); | |
| // Form submission | |
| document.getElementById('contactForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| const form = e.target; | |
| const formData = new FormData(form); | |
| const submitButton = form.querySelector('button[type="submit"]'); | |
| const originalButtonText = submitButton.textContent; | |
| // Show loading state | |
| submitButton.disabled = true; | |
| submitButton.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Sending...'; | |
| // Using Formspree to send the form data to your email | |
| fetch('https://formspree.io/f/xjvqjqyy', { | |
| method: 'POST', | |
| body: formData, | |
| headers: { | |
| 'Accept': 'application/json' | |
| } | |
| }) | |
| .then(response => { | |
| if (response.ok) { | |
| showSuccessModal(); | |
| form.reset(); | |
| } else { | |
| throw new Error('Network response was not ok'); | |
| } | |
| }) | |
| .catch(error => { | |
| console.error('Error:', error); | |
| showErrorModal('There was a problem sending your message. Please try again later.'); | |
| }) | |
| .finally(() => { | |
| // Reset button state | |
| submitButton.disabled = false; | |
| submitButton.textContent = originalButtonText; | |
| }); | |
| }); | |
| // Modal functions | |
| function showSuccessModal() { | |
| document.getElementById('successModal').style.display = 'flex'; | |
| } | |
| function showErrorModal(message) { | |
| document.getElementById('errorMessage').textContent = message; | |
| document.getElementById('errorModal').style.display = 'flex'; | |
| } | |
| function closeModal() { | |
| document.getElementById('successModal').style.display = 'none'; | |
| document.getElementById('errorModal').style.display = '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=KevinLevin123/lebron" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |