Spaces:
Running
Running
https://floralwhite-wallaby-290883.hostingersite.com/ f莽a um site semelhante a esse s贸 que com html e css e j.s - Initial Deployment
c4e67dd
verified
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Modern Portfolio</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 CSS for animations and effects */ | |
| .gradient-text { | |
| background: linear-gradient(90deg, #3b82f6, #8b5cf6); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| bottom: -2px; | |
| left: 0; | |
| background-color: #3b82f6; | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .animate-fade-in { | |
| animation: fadeIn 0.8s ease forwards; | |
| } | |
| .delay-100 { | |
| animation-delay: 0.1s; | |
| } | |
| .delay-200 { | |
| animation-delay: 0.2s; | |
| } | |
| .delay-300 { | |
| animation-delay: 0.3s; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- Navigation --> | |
| <nav class="fixed w-full bg-white shadow-sm z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16 items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <span class="text-xl font-bold gradient-text">Portfolio</span> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-10 flex items-center space-x-4"> | |
| <a href="#home" class="nav-link px-3 py-2 text-sm font-medium text-gray-700 hover:text-blue-500">Home</a> | |
| <a href="#about" class="nav-link px-3 py-2 text-sm font-medium text-gray-700 hover:text-blue-500">About</a> | |
| <a href="#services" class="nav-link px-3 py-2 text-sm font-medium text-gray-700 hover:text-blue-500">Services</a> | |
| <a href="#portfolio" class="nav-link px-3 py-2 text-sm font-medium text-gray-700 hover:text-blue-500">Portfolio</a> | |
| <a href="#contact" class="nav-link px-3 py-2 text-sm font-medium text-gray-700 hover:text-blue-500">Contact</a> | |
| </div> | |
| </div> | |
| <div class="md:hidden"> | |
| <button id="mobile-menu-button" class="text-gray-500 hover:text-gray-900 focus:outline-none"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg"> | |
| <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3"> | |
| <a href="#home" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-blue-500 hover:bg-gray-50">Home</a> | |
| <a href="#about" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-blue-500 hover:bg-gray-50">About</a> | |
| <a href="#services" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-blue-500 hover:bg-gray-50">Services</a> | |
| <a href="#portfolio" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-blue-500 hover:bg-gray-50">Portfolio</a> | |
| <a href="#contact" class="block px-3 py-2 rounded-md text-base font-medium text-gray-700 hover:text-blue-500 hover:bg-gray-50">Contact</a> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section id="home" class="pt-24 pb-12 md:pt-32 md:pb-20 bg-gradient-to-r from-blue-50 to-purple-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="md:flex md:items-center md:justify-between"> | |
| <div class="md:w-1/2 animate-fade-in"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">Hi, I'm <span class="gradient-text">John Doe</span></h1> | |
| <h2 class="text-2xl md:text-3xl font-semibold text-gray-700 mb-6">Web Developer & Designer</h2> | |
| <p class="text-gray-600 mb-8 text-lg">I create beautiful, functional websites that help businesses grow online.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#contact" class="px-6 py-3 bg-blue-600 text-white font-medium rounded-lg hover:bg-blue-700 transition duration-300 shadow-lg">Hire Me</a> | |
| <a href="#portfolio" class="px-6 py-3 border border-blue-600 text-blue-600 font-medium rounded-lg hover:bg-blue-50 transition duration-300">View Work</a> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 mt-10 md:mt-0 animate-fade-in delay-100"> | |
| <div class="relative mx-auto w-64 h-64 md:w-80 md:h-80 rounded-full overflow-hidden border-4 border-white shadow-xl"> | |
| <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=774&q=80" | |
| alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-2 animate-fade-in">About Me</h2> | |
| <div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div> | |
| <p class="text-gray-600 max-w-2xl mx-auto animate-fade-in delay-100">Get to know me better</p> | |
| </div> | |
| <div class="md:flex md:items-center md:space-x-12"> | |
| <div class="md:w-1/3 mb-10 md:mb-0 animate-fade-in"> | |
| <div class="relative h-80 w-full rounded-xl overflow-hidden shadow-lg"> | |
| <img src="https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=870&q=80" | |
| alt="About" class="w-full h-full object-cover"> | |
| </div> | |
| </div> | |
| <div class="md:w-2/3 animate-fade-in delay-100"> | |
| <h3 class="text-2xl font-semibold text-gray-800 mb-4">Who am I?</h3> | |
| <p class="text-gray-600 mb-6">I'm a passionate web developer with over 5 years of experience creating modern, responsive websites and web applications. I specialize in front-end development with a focus on user experience and clean code.</p> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8"> | |
| <div> | |
| <h4 class="font-medium text-gray-900 mb-2">Name: <span class="text-gray-600">John Doe</span></h4> | |
| <h4 class="font-medium text-gray-900 mb-2">Email: <span class="text-gray-600">[email protected]</span></h4> | |
| </div> | |
| <div> | |
| <h4 class="font-medium text-gray-900 mb-2">Experience: <span class="text-gray-600">5+ Years</span></h4> | |
| <h4 class="font-medium text-gray-900 mb-2">Location: <span class="text-gray-600">New York, USA</span></h4> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap gap-3"> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">HTML5</span> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">CSS3</span> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">JavaScript</span> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">React</span> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">Node.js</span> | |
| <span class="px-4 py-2 bg-blue-100 text-blue-800 rounded-full text-sm font-medium">UI/UX</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Services Section --> | |
| <section id="services" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-2 animate-fade-in">My Services</h2> | |
| <div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div> | |
| <p class="text-gray-600 max-w-2xl mx-auto animate-fade-in delay-100">What I can do for you</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Service 1 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in"> | |
| <div class="w-14 h-14 bg-blue-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-code text-blue-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">Web Development</h3> | |
| <p class="text-gray-600">Custom website development with modern technologies to ensure fast, secure, and scalable solutions for your business needs.</p> | |
| </div> | |
| <!-- Service 2 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in delay-100"> | |
| <div class="w-14 h-14 bg-purple-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-paint-brush text-purple-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">UI/UX Design</h3> | |
| <p class="text-gray-600">Beautiful and intuitive user interfaces designed to enhance user experience and drive engagement with your product.</p> | |
| </div> | |
| <!-- Service 3 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in delay-200"> | |
| <div class="w-14 h-14 bg-green-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-mobile-alt text-green-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">Responsive Design</h3> | |
| <p class="text-gray-600">Fully responsive websites that look and function perfectly on all devices, from desktop to mobile.</p> | |
| </div> | |
| <!-- Service 4 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in"> | |
| <div class="w-14 h-14 bg-yellow-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-search-dollar text-yellow-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">SEO Optimization</h3> | |
| <p class="text-gray-600">Optimized websites that rank higher in search results, helping you attract more organic traffic and customers.</p> | |
| </div> | |
| <!-- Service 5 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in delay-100"> | |
| <div class="w-14 h-14 bg-red-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-shopping-cart text-red-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">E-commerce</h3> | |
| <p class="text-gray-600">Custom e-commerce solutions with secure payment gateways, inventory management, and user-friendly interfaces.</p> | |
| </div> | |
| <!-- Service 6 --> | |
| <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover animate-fade-in delay-200"> | |
| <div class="w-14 h-14 bg-indigo-100 rounded-lg flex items-center justify-center mb-6"> | |
| <i class="fas fa-server text-indigo-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-3">Web Hosting</h3> | |
| <p class="text-gray-600">Reliable and secure web hosting solutions with 99.9% uptime and expert technical support when you need it.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Portfolio Section --> | |
| <section id="portfolio" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-2 animate-fade-in">My Portfolio</h2> | |
| <div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div> | |
| <p class="text-gray-600 max-w-2xl mx-auto animate-fade-in delay-100">Some of my recent work</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Project 1 --> | |
| <div class="relative group overflow-hidden rounded-xl shadow-lg animate-fade-in"> | |
| <img src="https://images.unsplash.com/photo-1551650975-87deedd944c3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80" | |
| alt="Project 1" class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-center items-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 p-6"> | |
| <h3 class="text-white text-xl font-bold mb-2">E-commerce Website</h3> | |
| <p class="text-gray-300 text-center mb-4">A fully responsive online store with shopping cart and payment integration.</p> | |
| <a href="#" class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition">View Project</a> | |
| </div> | |
| </div> | |
| <!-- Project 2 --> | |
| <div class="relative group overflow-hidden rounded-xl shadow-lg animate-fade-in delay-100"> | |
| <img src="https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1169&q=80" | |
| alt="Project 2" class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-center items-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 p-6"> | |
| <h3 class="text-white text-xl font-bold mb-2">Corporate Website</h3> | |
| <p class="text-gray-300 text-center mb-4">Modern corporate website with CMS integration for easy content management.</p> | |
| <a href="#" class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition">View Project</a> | |
| </div> | |
| </div> | |
| <!-- Project 3 --> | |
| <div class="relative group overflow-hidden rounded-xl shadow-lg animate-fade-in delay-200"> | |
| <img src="https://images.unsplash.com/photo-1559028012-481c04fa702d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1136&q=80" | |
| alt="Project 3" class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110"> | |
| <div class="absolute inset-0 bg-black bg-opacity-70 flex flex-col justify-center items-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 p-6"> | |
| <h3 class="text-white text-xl font-bold mb-2">Mobile App UI</h3> | |
| <p class="text-gray-300 text-center mb-4">User interface design for a fitness tracking mobile application.</p> | |
| <a href="#" class="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition">View Project</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12 animate-fade-in delay-300"> | |
| <a href="#" class="px-6 py-3 border border-blue-600 text-blue-600 font-medium rounded-lg hover:bg-blue-50 transition duration-300 inline-flex items-center"> | |
| View All Projects <i class="fas fa-arrow-right ml-2"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-2 animate-fade-in">Get In Touch</h2> | |
| <div class="w-20 h-1 bg-blue-600 mx-auto mb-6"></div> | |
| <p class="text-gray-600 max-w-2xl mx-auto animate-fade-in delay-100">Have a project in mind? Let's talk!</p> | |
| </div> | |
| <div class="md:flex md:space-x-8"> | |
| <div class="md:w-1/2 mb-10 md:mb-0 animate-fade-in"> | |
| <div class="bg-white p-8 rounded-xl shadow-md"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-6">Contact Information</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-map-marker-alt text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-sm font-medium text-gray-500">Address</h4> | |
| <p class="text-gray-700">123 Main Street, New York, NY 10001</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-envelope text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-sm font-medium text-gray-500">Email</h4> | |
| <p class="text-gray-700">[email protected]</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-phone-alt text-blue-600"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h4 class="text-sm font-medium text-gray-500">Phone</h4> | |
| <p class="text-gray-700">+1 (555) 123-4567</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8"> | |
| <h4 class="text-sm font-medium text-gray-500 mb-4">Follow Me</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 hover:bg-blue-100 hover:text-blue-600 transition"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 hover:bg-blue-100 hover:text-blue-600 transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 hover:bg-blue-100 hover:text-blue-600 transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-700 hover:bg-blue-100 hover:text-blue-600 transition"> | |
| <i class="fab fa-linkedin-in"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 animate-fade-in delay-100"> | |
| <div class="bg-white p-8 rounded-xl shadow-md"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-6">Send Me a Message</h3> | |
| <form id="contactForm"> | |
| <div class="mb-6"> | |
| <label for="name" class="block text-sm font-medium text-gray-700 mb-2">Your Name</label> | |
| <input type="text" id="name" name="name" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-2">Your Email</label> | |
| <input type="email" id="email" name="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="subject" class="block text-sm font-medium text-gray-700 mb-2">Subject</label> | |
| <input type="text" id="subject" name="subject" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="message" class="block text-sm font-medium text-gray-700 mb-2">Message</label> | |
| <textarea id="message" name="message" rows="4" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"></textarea> | |
| </div> | |
| <button type="submit" class="w-full px-6 py-3 bg-blue-600 text-white font-medium rounded-lg hover:bg-blue-700 transition duration-300 shadow-lg"> | |
| Send Message | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="md:flex md:items-center md:justify-between"> | |
| <div class="text-center md:text-left mb-6 md:mb-0"> | |
| <h2 class="text-xl font-bold gradient-text">Portfolio</h2> | |
| <p class="text-gray-400 mt-2">漏 2023 John Doe. All rights reserved.</p> | |
| </div> | |
| <div class="flex justify-center md:justify-end space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition"> | |
| <i class="fab fa-linkedin-in"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Back to Top Button --> | |
| <button id="backToTop" class="fixed bottom-6 right-6 bg-blue-600 text-white p-3 rounded-full shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-blue-700"> | |
| <i class="fas fa-arrow-up"></i> | |
| </button> | |
| <script> | |
| // Mobile menu toggle | |
| const mobileMenuButton = document.getElementById('mobile-menu-button'); | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| }); | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| const targetId = this.getAttribute('href'); | |
| const targetElement = document.querySelector(targetId); | |
| if (targetElement) { | |
| window.scrollTo({ | |
| top: targetElement.offsetTop - 80, | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| if (!mobileMenu.classList.contains('hidden')) { | |
| mobileMenu.classList.add('hidden'); | |
| } | |
| } | |
| }); | |
| }); | |
| // Back to top button | |
| const backToTopButton = document.getElementById('backToTop'); | |
| window.addEventListener('scroll', () => { | |
| if (window.pageYOffset > 300) { | |
| backToTopButton.classList.remove('opacity-0', 'invisible'); | |
| backToTopButton.classList.add('opacity-100', 'visible'); | |
| } else { | |
| backToTopButton.classList.remove('opacity-100', 'visible'); | |
| backToTopButton.classList.add('opacity-0', 'invisible'); | |
| } | |
| }); | |
| backToTopButton.addEventListener('click', () => { | |
| window.scrollTo({ | |
| top: 0, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| // Form submission | |
| const contactForm = document.getElementById('contactForm'); | |
| contactForm.addEventListener('submit', (e) => { | |
| e.preventDefault(); | |
| // Get form values | |
| const name = document.getElementById('name').value; | |
| const email = document.getElementById('email').value; | |
| const subject = document.getElementById('subject').value; | |
| const message = document.getElementById('message').value; | |
| // Here you would typically send the form data to a server | |
| // For this example, we'll just log it and show an alert | |
| console.log({ name, email, subject, message }); | |
| alert('Thank you for your message! I will get back to you soon.'); | |
| contactForm.reset(); | |
| }); | |
| // Add animation classes when elements come into view | |
| const animateOnScroll = () => { | |
| const elements = document.querySelectorAll('.animate-fade-in'); | |
| elements.forEach(element => { | |
| const elementPosition = element.getBoundingClientRect().top; | |
| const screenPosition = window.innerHeight / 1.3; | |
| if (elementPosition < screenPosition) { | |
| element.classList.add('animate-fade-in'); | |
| } | |
| }); | |
| }; | |
| window.addEventListener('scroll', animateOnScroll); | |
| window.addEventListener('load', animateOnScroll); | |
| </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=Marcos-007/leila" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |