pixelportfolio-pro / index.html
zerobugs001's picture
Create a web apps like this: https://alineajava.co.id/
0aa62f9 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixelPortfolio Pro | Creative Developer Portfolio</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
}
}
}
}
</script>
<style>
.hero-text {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(90deg, #6366f1, #8b5cf6);
}
.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);
}
.section-divider {
height: 150px;
width: 100%;
background: linear-gradient(to bottom right, transparent 49%, white 50%), linear-gradient(to top right, transparent 49%, white 50%);
background-size: 50% 100%;
background-repeat: no-repeat;
background-position: left, right;
}
.dark .section-divider {
background: linear-gradient(to bottom right, transparent 49%, #1e293b 50%), linear-gradient(to top right, transparent 49%, #1e293b 50%);
}
</style>
</head>
<body class="bg-white dark:bg-slate-800 transition-colors duration-300">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-white/80 dark:bg-slate-800/80 backdrop-blur-md border-b border-gray-200 dark:border-slate-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="#" class="text-xl font-bold text-gray-900 dark:text-white flex items-center">
<span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">PixelPortfolio</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#home" class="text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary transition">Home</a>
<a href="#about" class="text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary transition">About</a>
<a href="#work" class="text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary transition">Work</a>
<a href="#contact" class="text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary transition">Contact</a>
<button id="theme-toggle" class="p-2 rounded-full bg-gray-100 dark:bg-slate-700 text-gray-700 dark:text-gray-300">
<i data-feather="moon" class="hidden dark:block"></i>
<i data-feather="sun" class="dark:hidden"></i>
</button>
</div>
<div class="md:hidden flex items-center">
<button id="mobile-menu-button" class="p-2 rounded-md text-gray-700 dark:text-gray-300">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white dark:bg-slate-800 border-t border-gray-200 dark:border-slate-700">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a href="#home" class="block px-3 py-2 text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary">Home</a>
<a href="#about" class="block px-3 py-2 text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary">About</a>
<a href="#work" class="block px-3 py-2 text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary">Work</a>
<a href="#contact" class="block px-3 py-2 text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary">Contact</a>
<button class="block px-3 py-2 text-left text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary flex items-center">
<span class="mr-2">Toggle Theme</span>
<i data-feather="moon" class="hidden dark:block w-4 h-4"></i>
<i data-feather="sun" class="dark:hidden w-4 h-4"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="relative pt-24 pb-12 md:pt-32 md:pb-24">
<div id="vanta-bg" class="absolute inset-0"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12 items-center">
<div class="text-center md:text-left">
<h1 class="text-4xl md:text-6xl font-bold mb-6">
<span class="hero-text">Creative Solutions</span><br>
<span class="text-gray-900 dark:text-white">For Your Digital Needs</span>
</h1>
<p class="text-lg text-gray-600 dark:text-gray-300 mb-8 max-w-lg">
I craft beautiful, functional digital experiences that help businesses stand out and achieve their goals.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center md:justify-start">
<a href="#work" class="px-6 py-3 bg-gradient-to-r from-primary to-secondary text-white rounded-lg font-medium hover:opacity-90 transition shadow-lg">
View My Work
</a>
<a href="#contact" class="px-6 py-3 border border-primary text-primary dark:text-white rounded-lg font-medium hover:bg-primary hover:text-white transition">
Contact Me
</a>
</div>
</div>
<div class="flex justify-center">
<div class="relative">
<div class="w-64 h-64 md:w-80 md:h-80 rounded-full bg-gradient-to-r from-primary to-secondary p-1">
<div class="w-full h-full rounded-full bg-white dark:bg-slate-800 overflow-hidden">
<img src="http://static.photos/people/640x360/42" alt="Profile" class="w-full h-full object-cover">
</div>
</div>
<div class="absolute -bottom-4 -right-4 bg-white dark:bg-slate-700 p-3 rounded-lg shadow-lg border border-gray-200 dark:border-slate-600">
<div class="text-primary font-bold text-xl">5+</div>
<div class="text-gray-500 dark:text-gray-300 text-sm">Years Experience</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Clients Section -->
<section class="py-12 bg-gray-50 dark:bg-slate-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-center text-gray-500 dark:text-gray-300 text-sm uppercase tracking-wider mb-8">Trusted by innovative companies</h2>
<div class="grid grid-cols-2 md:grid-cols-5 gap-8">
<div class="flex items-center justify-center">
<img src="https://via.placeholder.com/150x80?text=Company+1" alt="Company Logo" class="h-8 opacity-70 hover:opacity-100 transition">
</div>
<div class="flex items-center justify-center">
<img src="https://via.placeholder.com/150x80?text=Company+2" alt="Company Logo" class="h-8 opacity-70 hover:opacity-100 transition">
</div>
<div class="flex items-center justify-center">
<img src="https://via.placeholder.com/150x80?text=Company+3" alt="Company Logo" class="h-8 opacity-70 hover:opacity-100 transition">
</div>
<div class="flex items-center justify-center">
<img src="https://via.placeholder.com/150x80?text=Company+4" alt="Company Logo" class="h-8 opacity-70 hover:opacity-100 transition">
</div>
<div class="flex items-center justify-center">
<img src="https://via.placeholder.com/150x80?text=Company+5" alt="Company Logo" class="h-8 opacity-70 hover:opacity-100 transition">
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 relative">
<div class="section-divider absolute -top-px left-0"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12 items-center">
<div>
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 dark:text-white mb-6">
About <span class="hero-text">Me</span>
</h2>
<p class="text-gray-600 dark:text-gray-300 mb-6">
I'm a passionate UI/UX Designer and Front-End Developer with 5+ years of experience creating digital products that users love.
</p>
<p class="text-gray-600 dark:text-gray-300 mb-8">
My approach combines aesthetic sensibility with technical expertise to deliver solutions that are not only beautiful but also functional and user-friendly. I believe in the power of design to solve problems and create meaningful experiences.
</p>
<div class="flex flex-wrap gap-4 mb-8">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3">
<i data-feather="check" class="text-primary"></i>
</div>
<span class="text-gray-700 dark:text-gray-300">UI/UX Design</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3">
<i data-feather="check" class="text-primary"></i>
</div>
<span class="text-gray-700 dark:text-gray-300">Front-End Dev</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3">
<i data-feather="check" class="text-primary"></i>
</div>
<span class="text-gray-700 dark:text-gray-300">Responsive Design</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3">
<i data-feather="check" class="text-primary"></i>
</div>
<span class="text-gray-700 dark:text-gray-300">Web Animation</span>
</div>
</div>
<a href="#" class="inline-flex items-center text-primary font-medium hover:underline">
Download CV
<i data-feather="download" class="ml-2 w-4 h-4"></i>
</a>
</div>
<div class="relative">
<div class="bg-gradient-to-r from-primary to-secondary p-1 rounded-lg">
<div class="bg-white dark:bg-slate-800 rounded-lg overflow-hidden">
<img src="http://static.photos/workspace/640x360/23" alt="Working" class="w-full h-auto">
</div>
</div>
<div class="absolute -bottom-6 -left-6 bg-white dark:bg-slate-700 p-4 rounded-lg shadow-lg border border-gray-200 dark:border-slate-600">
<div class="text-primary font-bold text-2xl">100%</div>
<div class="text-gray-500 dark:text-gray-300 text-sm">Satisfaction Rate</div>
</div>
</div>
</div>
</div>
</section>
<!-- Work Section -->
<section id="work" class="py-20 bg-gray-50 dark:bg-slate-700/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 md:text-4xl font-bold text-gray-900 dark:text-white mb-4">
Featured <span class="hero-text">Projects</span>
</h2>
<p class="text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">
Here are some of my recent projects that showcase my skills and expertise.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Project 1 -->
<div class="project-card bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/technology/640x360/1" alt="Project 1" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">E-commerce Platform</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">A modern e-commerce solution with seamless checkout experience.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">UI/UX</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">React</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">Node.js</span>
</div>
<a href="#" class="text-primary font-medium hover:underline flex items-center">
View Project
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<!-- Project 2 -->
<div class="project-card bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/finance/640x360/2" alt="Project 2" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">Banking Dashboard</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">A comprehensive financial dashboard for personal banking.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">Dashboard</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">Vue.js</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">D3.js</span>
</div>
<a href="#" class="text-primary font-medium hover:underline flex items-center">
View Project
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<!-- Project 3 -->
<div class="project-card bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-md transition duration-300">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/education/640x360/3" alt="Project 3" class="w-full h-full object-cover">
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">Learning Platform</h3>
<p class="text-gray-600 dark:text-gray-300 mb-4">An interactive online learning platform with video courses.</p>
<div class="flex flex-wrap gap-2 mb-4">
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">Education</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">React</span>
<span class="px-2 py-1 bg-primary/10 text-primary text-xs rounded">Firebase</span>
</div>
<a href="#" class="text-primary font-medium hover:underline flex items-center">
View Project
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
<div class="text-center mt-12">
<a href="#" class="px-6 py-3 border border-primary text-primary dark:text-white rounded-lg font-medium hover:bg-primary hover:text-white transition inline-flex items-center">
View All Projects
<i data-feather="chevron-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-20">
<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 md:text-4xl font-bold text-gray-900 dark:text-white mb-4">
Client <span class="hero-text">Testimonials</span>
</h2>
<p class="text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">
What my clients say about working with me.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-white dark:bg-slate-800 p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/1" alt="Client" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-gray-900 dark:text-white">Sarah Johnson</h4>
<p class="text-gray-500 dark:text-gray-400 text-sm">CEO, TechStart</p>
</div>
</div>
<p class="text-gray-600 dark:text-gray-300">
"Working with this designer was a game-changer for our product. They understood our vision immediately and delivered beyond our expectations."
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white dark:bg-slate-800 p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/2" alt="Client" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-gray-900 dark:text-white">Michael Chen</h4>
<p class="text-gray-500 dark:text-gray-400 text-sm">Product Manager, FinCorp</p>
</div>
</div>
<p class="text-gray-600 dark:text-gray-300">
"The attention to detail and user experience focus was exceptional. Our conversion rates improved by 35% after the redesign."
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-white dark:bg-slate-800 p-8 rounded-xl shadow-md">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full overflow-hidden mr-4">
<img src="http://static.photos/people/200x200/3" alt="Client" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-gray-900 dark:text-white">Emma Rodriguez</h4>
<p class="text-gray-500 dark:text-gray-400 text-sm">Marketing Director, EduLearn</p>
</div>
</div>
<p class="text-gray-600 dark:text-gray-300">
"From concept to execution, the process was smooth and professional. The final product exceeded all our expectations."
</p>
<div class="flex mt-4">
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
<i data-feather="star" class="text-yellow-400 w-4 h-4 fill-current"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 bg-gray-50 dark:bg-slate-700/50 relative">
<div class="section-divider absolute -top-px left-0 rotate-180"></div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-2 gap-12 items-center">
<div>
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 dark:text-white mb-6">
Get In <span class="hero-text">Touch</span>
</h2>
<p class="text-gray-600 dark:text-gray-300 mb-8 max-w-lg">
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-4">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-4">
<i data-feather="mail" class="text-primary"></i>
</div>
<div>
<h4 class="font-medium text-gray-700 dark:text-gray-300">Email</h4>
<a href="mailto:hello@example.com" class="text-gray-600 dark:text-gray-400 hover:text-primary transition">hello@example.com</a>
</div>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-4">
<i data-feather="phone" class="text-primary"></i>
</div>
<div>
<h4 class="font-medium text-gray-700 dark:text-gray-300">Phone</h4>
<a href="tel:+1234567890" class="text-gray-600 dark:text-gray-400 hover:text-primary transition">+1 (234) 567-890</a>
</div>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-4">
<i data-feather="map-pin" class="text-primary"></i>
</div>
<div>
<h4 class="font-medium text-gray-700 dark:text-gray-300">Location</h4>
<p class="text-gray-600 dark:text-gray-400">San Francisco, CA</p>
</div>
</div>
</div>
<div class="mt-8 flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="dribbble"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="github"></i>
</a>
</div>
</div>
<div class="bg-white dark:bg-slate-800 p-8 rounded-xl shadow-md">
<form>
<div class="mb-6">
<label for="name" class="block text-gray-700 dark:text-gray-300 mb-2">Your Name</label>
<input type="text" id="name" class="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-slate-600 bg-white dark:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition">
</div>
<div class="mb-6">
<label for="email" class="block text-gray-700 dark:text-gray-300 mb-2">Email Address</label>
<input type="email" id="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-slate-600 bg-white dark:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition">
</div>
<div class="mb-6">
<label for="message" class="block text-gray-700 dark:text-gray-300 mb-2">Your Message</label>
<textarea id="message" rows="5" class="w-full px-4 py-3 rounded-lg border border-gray-300 dark:border-slate-600 bg-white dark:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition"></textarea>
</div>
<button type="submit" class="w-full px-6 py-3 bg-gradient-to-r from-primary to-secondary text-white rounded-lg font-medium hover:opacity-90 transition shadow-lg">
Send Message
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-white dark:bg-slate-800 border-t border-gray-200 dark:border-slate-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-bold text-gray-900 dark:text-white mb-4">PixelPortfolio</h3>
<p class="text-gray-600 dark:text-gray-300">
Creating beautiful digital experiences that make an impact.
</p>
</div>
<div>
<h4 class="text-gray-900 dark:text-white font-medium mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Home</a></li>
<li><a href="#about" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">About</a></li>
<li><a href="#work" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Work</a></li>
<li><a href="#contact" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-gray-900 dark:text-white font-medium mb-4">Services</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">UI/UX Design</a></li>
<li><a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Web Development</a></li>
<li><a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Mobile Design</a></li>
<li><a href="#" class="text-gray-600 dark:text-gray-300 hover:text-primary transition">Branding</a></li>
</ul>
</div>
<div>
<h4 class="text-gray-900 dark:text-white font-medium mb-4">Connect</h4>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="dribbble"></i>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-100 dark:bg-slate-700 flex items-center justify-center text-gray-700 dark:text-gray-300 hover:text-primary transition">
<i data-feather="github"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-200 dark:border-slate-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 dark:text-gray-400 text-sm">
© 2023 PixelPortfolio. All rights reserved.
</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-500 dark:text-gray-400 hover:text-primary transition text-sm">Privacy Policy</a>
<a href="#" class="text-gray-500 dark:text-gray-400 hover:text-primary transition text-sm">Terms of Service</a>
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// Theme toggle
const themeToggle = document.getElementById('theme-toggle');
const mobileThemeToggle = document.querySelector('#mobile-menu button');
function toggleTheme() {
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.remove('dark');
localStorage.theme = 'light';
} else {
document.documentElement.classList.add('dark');
localStorage.theme = 'dark';
}
}
themeToggle.addEventListener('click', toggleTheme);
mobileThemeToggle.addEventListener('click', toggleTheme);
// Set initial theme
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
// Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x6366f1,
backgroundColor: 0xffffff,
points: 12.00,
maxDistance: 22.00,
spacing: 18.00
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
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');
}
}
});
});
// Close mobile menu when clicking outside
document.addEventListener('click', (e) => {
if (!mobileMenu.contains(e.target) && e.target !== mobileMenuButton) {
mobileMenu.classList.add('hidden');
}
});
</script>
<script>
feather.replace();
</script>
</body>
</html>