Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Alex Carter | Creative Developer</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=Poppins:wght@300;400;500;600;700&display=swap'); | |
:root { | |
--primary: #3b82f6; | |
--primary-dark: #2563eb; | |
--dark: #1e293b; | |
--light: #f8fafc; | |
} | |
body { | |
font-family: 'Poppins', sans-serif; | |
background-color: var(--light); | |
color: var(--dark); | |
scroll-behavior: smooth; | |
} | |
.hero-gradient { | |
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); | |
} | |
.nav-link { | |
position: relative; | |
} | |
.nav-link::after { | |
content: ''; | |
position: absolute; | |
width: 0; | |
height: 2px; | |
bottom: -2px; | |
left: 0; | |
background-color: var(--primary); | |
transition: width 0.3s ease; | |
} | |
.nav-link:hover::after { | |
width: 100%; | |
} | |
.project-card { | |
transition: all 0.3s ease; | |
transform: translateY(0); | |
} | |
.project-card: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); | |
} | |
.skill-bar { | |
height: 8px; | |
border-radius: 4px; | |
background-color: #e2e8f0; | |
overflow: hidden; | |
} | |
.skill-progress { | |
height: 100%; | |
background: linear-gradient(90deg, var(--primary), var(--primary-dark)); | |
transition: width 1s ease; | |
} | |
.animate-in { | |
opacity: 0; | |
transform: translateY(20px); | |
animation: fadeInUp 0.6s forwards; | |
} | |
@keyframes fadeInUp { | |
to { | |
opacity: 1; | |
transform: translateY(0); | |
} | |
} | |
.delay-1 { | |
animation-delay: 0.2s; | |
} | |
.delay-2 { | |
animation-delay: 0.4s; | |
} | |
.delay-3 { | |
animation-delay: 0.6s; | |
} | |
.floating { | |
animation: floating 3s ease-in-out infinite; | |
} | |
@keyframes floating { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-15px); } | |
100% { transform: translateY(0px); } | |
} | |
</style> | |
</head> | |
<body> | |
<!-- Navigation --> | |
<nav class="fixed w-full bg-white shadow-sm z-50"> | |
<div class="max-w-6xl mx-auto px-6 py-4 flex justify-between items-center"> | |
<a href="#" class="text-2xl font-bold text-blue-500">AC.</a> | |
<div class="hidden md:flex space-x-8"> | |
<a href="#home" class="nav-link text-gray-700 hover:text-blue-500">Home</a> | |
<a href="#about" class="nav-link text-gray-700 hover:text-blue-500">About</a> | |
<a href="#skills" class="nav-link text-gray-700 hover:text-blue-500">Skills</a> | |
<a href="#projects" class="nav-link text-gray-700 hover:text-blue-500">Projects</a> | |
<a href="#contact" class="nav-link text-gray-700 hover:text-blue-500">Contact</a> | |
</div> | |
<button class="md:hidden text-gray-700"> | |
<i class="fas fa-bars text-2xl"></i> | |
</button> | |
</div> | |
</nav> | |
<!-- Hero Section --> | |
<section id="home" class="hero-gradient min-h-screen flex items-center pt-16"> | |
<div class="max-w-6xl mx-auto px-6 py-20 flex flex-col md:flex-row items-center"> | |
<div class="md:w-1/2 animate-in"> | |
<h1 class="text-4xl md:text-6xl font-bold text-white mb-4">Hi, I'm <span class="text-yellow-300">Alex Carter</span></h1> | |
<h2 class="text-2xl md:text-3xl text-blue-100 mb-6">Frontend Developer & UI Designer</h2> | |
<p class="text-blue-100 mb-8 max-w-lg">I create beautiful, responsive websites and applications with modern technologies and user experience in mind.</p> | |
<div class="flex space-x-4"> | |
<a href="#projects" class="bg-white text-blue-600 px-6 py-3 rounded-full font-medium hover:bg-blue-50 transition">View Work</a> | |
<a href="#contact" class="border-2 border-white text-white px-6 py-3 rounded-full font-medium hover:bg-white hover:text-blue-600 transition">Contact Me</a> | |
</div> | |
</div> | |
<div class="md:w-1/2 mt-12 md:mt-0 flex justify-center animate-in delay-1"> | |
<div class="relative"> | |
<div class="w-64 h-64 md:w-80 md:h-80 rounded-full bg-white/10 backdrop-blur-sm border-2 border-white/20 flex items-center justify-center floating"> | |
<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-60 h-60 md:w-72 md:h-72 rounded-full object-cover border-4 border-white"> | |
</div> | |
<div class="absolute -bottom-6 -right-6 bg-white p-4 rounded-lg shadow-lg"> | |
<div class="flex items-center"> | |
<div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div> | |
<span class="text-sm font-medium">Available for work</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- About Section --> | |
<section id="about" class="py-20 bg-white"> | |
<div class="max-w-6xl mx-auto px-6"> | |
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4 animate-in">About Me</h2> | |
<div class="w-20 h-1 bg-blue-500 mx-auto mb-12 animate-in delay-1"></div> | |
<div class="flex flex-col md:flex-row items-center gap-12"> | |
<div class="md:w-1/3 animate-in delay-1"> | |
<img src="https://images.unsplash.com/photo-1571171637578-41bc2dd41cd2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80" | |
alt="Working" | |
class="rounded-lg shadow-xl w-full"> | |
</div> | |
<div class="md:w-2/3 animate-in delay-2"> | |
<h3 class="text-2xl font-semibold mb-4">Who am I?</h3> | |
<p class="text-gray-600 mb-6"> | |
I'm a passionate frontend developer with 5 years of experience creating digital experiences that users love. | |
I specialize in React, Vue.js, and modern CSS frameworks like TailwindCSS. | |
</p> | |
<p class="text-gray-600 mb-6"> | |
My journey in web development started when I was in college, and since then I've worked with startups | |
and established companies to bring their digital visions to life. | |
</p> | |
<div class="grid grid-cols-2 gap-4 mb-8"> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
<i class="fas fa-calendar-alt text-blue-600"></i> | |
</div> | |
<div> | |
<p class="font-medium">Age</p> | |
<p class="text-gray-600">28</p> | |
</div> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
<i class="fas fa-map-marker-alt text-blue-600"></i> | |
</div> | |
<div> | |
<p class="font-medium">Location</p> | |
<p class="text-gray-600">San Francisco, CA</p> | |
</div> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
<i class="fas fa-envelope text-blue-600"></i> | |
</div> | |
<div> | |
<p class="font-medium">Email</p> | |
<p class="text-gray-600">[email protected]</p> | |
</div> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3"> | |
<i class="fas fa-phone text-blue-600"></i> | |
</div> | |
<div> | |
<p class="font-medium">Phone</p> | |
<p class="text-gray-600">(123) 456-7890</p> | |
</div> | |
</div> | |
</div> | |
<a href="#" class="inline-block bg-blue-600 text-white px-6 py-3 rounded-full hover:bg-blue-700 transition"> | |
Download CV <i class="fas fa-download ml-2"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Skills Section --> | |
<section id="skills" class="py-20 bg-gray-50"> | |
<div class="max-w-6xl mx-auto px-6"> | |
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4 animate-in">My Skills</h2> | |
<div class="w-20 h-1 bg-blue-500 mx-auto mb-12 animate-in delay-1"></div> | |
<div class="grid md:grid-cols-2 gap-12"> | |
<div class="animate-in delay-1"> | |
<h3 class="text-xl font-semibold mb-6">Technical Skills</h3> | |
<div class="space-y-6"> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">HTML/CSS</span> | |
<span>95%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 95%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">JavaScript</span> | |
<span>90%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 90%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">React</span> | |
<span>85%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 85%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">Vue.js</span> | |
<span>80%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 80%"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="animate-in delay-2"> | |
<h3 class="text-xl font-semibold mb-6">Professional Skills</h3> | |
<div class="space-y-6"> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">UI/UX Design</span> | |
<span>85%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 85%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">Teamwork</span> | |
<span>90%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 90%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">Problem Solving</span> | |
<span>88%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 88%"></div> | |
</div> | |
</div> | |
<div> | |
<div class="flex justify-between mb-2"> | |
<span class="font-medium">Communication</span> | |
<span>92%</span> | |
</div> | |
<div class="skill-bar"> | |
<div class="skill-progress" style="width: 92%"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="mt-16 grid md:grid-cols-3 gap-8"> | |
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition animate-in delay-1"> | |
<div class="w-14 h-14 bg-blue-100 rounded-full 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 mb-3">Clean Code</h3> | |
<p class="text-gray-600">I write maintainable, efficient code following best practices and design patterns.</p> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition animate-in delay-2"> | |
<div class="w-14 h-14 bg-blue-100 rounded-full flex items-center justify-center mb-6"> | |
<i class="fas fa-mobile-alt text-blue-600 text-2xl"></i> | |
</div> | |
<h3 class="text-xl font-semibold mb-3">Responsive Design</h3> | |
<p class="text-gray-600">All my projects are fully responsive and work perfectly on any device.</p> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-sm hover:shadow-md transition animate-in delay-3"> | |
<div class="w-14 h-14 bg-blue-100 rounded-full flex items-center justify-center mb-6"> | |
<i class="fas fa-rocket text-blue-600 text-2xl"></i> | |
</div> | |
<h3 class="text-xl font-semibold mb-3">Fast Performance</h3> | |
<p class="text-gray-600">I optimize websites to load quickly and provide smooth user experience.</p> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Projects Section --> | |
<section id="projects" class="py-20 bg-white"> | |
<div class="max-w-6xl mx-auto px-6"> | |
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4 animate-in">My Projects</h2> | |
<div class="w-20 h-1 bg-blue-500 mx-auto mb-12 animate-in delay-1"></div> | |
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
<!-- Project 1 --> | |
<div class="project-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg animate-in delay-1"> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80" | |
alt="E-commerce Dashboard" | |
class="w-full h-full object-cover transition duration-500 hover:scale-105"> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-semibold">E-commerce Dashboard</h3> | |
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">React</span> | |
</div> | |
<p class="text-gray-600 mb-4">A comprehensive dashboard for online stores with analytics, inventory management, and order processing.</p> | |
<div class="flex space-x-3"> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fas fa-external-link-alt"></i> | |
</a> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fab fa-github"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
<!-- Project 2 --> | |
<div class="project-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg animate-in delay-2"> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1738&q=80" | |
alt="Travel App" | |
class="w-full h-full object-cover transition duration-500 hover:scale-105"> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-semibold">Travel Companion App</h3> | |
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Vue.js</span> | |
</div> | |
<p class="text-gray-600 mb-4">An interactive travel app that helps users discover destinations, plan trips, and book accommodations.</p> | |
<div class="flex space-x-3"> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fas fa-external-link-alt"></i> | |
</a> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fab fa-github"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
<!-- Project 3 --> | |
<div class="project-card bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg animate-in delay-3"> | |
<div class="h-48 overflow-hidden"> | |
<img src="https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80" | |
alt="Task Manager" | |
class="w-full h-full object-cover transition duration-500 hover:scale-105"> | |
</div> | |
<div class="p-6"> | |
<div class="flex justify-between items-start mb-2"> | |
<h3 class="text-xl font-semibold">Task Management System</h3> | |
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">React</span> | |
</div> | |
<p class="text-gray-600 mb-4">A productivity app for teams to collaborate on projects, assign tasks, and track progress.</p> | |
<div class="flex space-x-3"> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fas fa-external-link-alt"></i> | |
</a> | |
<a href="#" class="text-blue-600 hover:text-blue-800"> | |
<i class="fab fa-github"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="text-center mt-12 animate-in delay-2"> | |
<a href="#" class="inline-block border-2 border-blue-600 text-blue-600 px-6 py-3 rounded-full font-medium hover:bg-blue-600 hover:text-white transition"> | |
View All Projects <i class="fas fa-arrow-right ml-2"></i> | |
</a> | |
</div> | |
</div> | |
</section> | |
<!-- Contact Section --> | |
<section id="contact" class="py-20 bg-gray-50"> | |
<div class="max-w-6xl mx-auto px-6"> | |
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4 animate-in">Get In Touch</h2> | |
<div class="w-20 h-1 bg-blue-500 mx-auto mb-12 animate-in delay-1"></div> | |
<div class="grid md:grid-cols-2 gap-12"> | |
<div class="animate-in delay-1"> | |
<h3 class="text-2xl font-semibold mb-6">Let's talk about your project</h3> | |
<p class="text-gray-600 mb-8"> | |
Have a project in mind or want to discuss potential opportunities? | |
Feel free to reach out and I'll get back to you as soon as possible. | |
</p> | |
<div class="space-y-6"> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-map-marker-alt text-blue-600"></i> | |
</div> | |
<div> | |
<h4 class="font-medium">Location</h4> | |
<p class="text-gray-600">San Francisco, California</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-envelope text-blue-600"></i> | |
</div> | |
<div> | |
<h4 class="font-medium">Email</h4> | |
<p class="text-gray-600">[email protected]</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-phone text-blue-600"></i> | |
</div> | |
<div> | |
<h4 class="font-medium">Phone</h4> | |
<p class="text-gray-600">(123) 456-7890</p> | |
</div> | |
</div> | |
</div> | |
<div class="mt-8 flex space-x-4"> | |
<a href="#" class="w-10 h-10 rounded-full bg-blue-600 text-white flex items-center justify-center hover:bg-blue-700 transition"> | |
<i class="fab fa-twitter"></i> | |
</a> | |
<a href="#" class="w-10 h-10 rounded-full bg-blue-600 text-white flex items-center justify-center hover:bg-blue-700 transition"> | |
<i class="fab fa-linkedin-in"></i> | |
</a> | |
<a href="#" class="w-10 h-10 rounded-full bg-blue-600 text-white flex items-center justify-center hover:bg-blue-700 transition"> | |
<i class="fab fa-github"></i> | |
</a> | |
<a href="#" class="w-10 h-10 rounded-full bg-blue-600 text-white flex items-center justify-center hover:bg-blue-700 transition"> | |
<i class="fab fa-dribbble"></i> | |
</a> | |
</div> | |
</div> | |
<div class="animate-in delay-2"> | |
<form class="bg-white p-8 rounded-xl shadow-sm"> | |
<div class="mb-6"> | |
<label for="name" class="block text-gray-700 font-medium mb-2">Your Name</label> | |
<input type="text" id="name" class="w-full px-4 py-3 border border-gray-300 rounded-lg 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-gray-700 font-medium mb-2">Email Address</label> | |
<input type="email" id="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg 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-gray-700 font-medium mb-2">Subject</label> | |
<input type="text" id="subject" class="w-full px-4 py-3 border border-gray-300 rounded-lg 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-gray-700 font-medium mb-2">Message</label> | |
<textarea id="message" rows="5" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition"></textarea> | |
</div> | |
<button type="submit" class="w-full bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition flex items-center justify-center"> | |
Send Message <i class="fas fa-paper-plane ml-2"></i> | |
</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Footer --> | |
<footer class="bg-gray-900 text-white py-12"> | |
<div class="max-w-6xl mx-auto px-6"> | |
<div class="flex flex-col md:flex-row justify-between items-center"> | |
<div class="mb-6 md:mb-0"> | |
<a href="#" class="text-2xl font-bold text-blue-400">AC.</a> | |
<p class="text-gray-400 mt-2">Creating digital experiences that matter.</p> | |
</div> | |
<div class="flex space-x-6"> | |
<a href="#" class="text-gray-400 hover:text-white transition"> | |
<i class="fab fa-twitter text-xl"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-white transition"> | |
<i class="fab fa-linkedin-in text-xl"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-white transition"> | |
<i class="fab fa-github text-xl"></i> | |
</a> | |
<a href="#" class="text-gray-400 hover:text-white transition"> | |
<i class="fab fa-dribbble text-xl"></i> | |
</a> | |
</div> | |
</div> | |
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
<p class="text-gray-400 text-sm mb-4 md:mb-0">© 2023 Alex Carter. All rights reserved.</p> | |
<div class="flex space-x-6"> | |
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Privacy Policy</a> | |
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Terms of Service</a> | |
<a href="#" class="text-gray-400 hover:text-white text-sm transition">Cookies</a> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Simple animation trigger on scroll | |
document.addEventListener('DOMContentLoaded', function() { | |
const animateElements = document.querySelectorAll('.animate-in'); | |
const observer = new IntersectionObserver((entries) => { | |
entries.forEach(entry => { | |
if (entry.isIntersecting) { | |
entry.target.style.animationPlayState = 'running'; | |
} | |
}); | |
}, { threshold: 0.1 }); | |
animateElements.forEach(element => { | |
observer.observe(element); | |
}); | |
// 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); | |
window.scrollTo({ | |
top: targetElement.offsetTop - 80, | |
behavior: 'smooth' | |
}); | |
}); | |
}); | |
// Mobile menu toggle (would need implementation) | |
const mobileMenuButton = document.querySelector('.md\\:hidden'); | |
mobileMenuButton.addEventListener('click', function() { | |
alert('Mobile menu would open here in a full implementation'); | |
}); | |
}); | |
// Animate skill bars on scroll | |
window.addEventListener('scroll', function() { | |
const skillBars = document.querySelectorAll('.skill-progress'); | |
const skillsSection = document.getElementById('skills'); | |
const sectionPosition = skillsSection.getBoundingClientRect().top; | |
const screenPosition = window.innerHeight / 1.3; | |
if (sectionPosition < screenPosition) { | |
skillBars.forEach(bar => { | |
const width = bar.style.width; | |
bar.style.width = '0'; | |
setTimeout(() => { | |
bar.style.width = width; | |
}, 100); | |
}); | |
} | |
}); | |
</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=vatsal-p-wa/portfolio-website" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |