undefined / index.html
BeatleOG's picture
Got it! Here's the updated prompt for a **clean, animated landing page** for **Pixel Pair** with **no images** but with **cool animations**, focusing on a **minimalist, modern look** with a **rich, nature-inspired color theme**.
7d1dda6 verified
Raw History Blame Contribute Delete
17.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PixelPair | Premium Digital Content</title>
<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://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');
body {
font-family: 'Montserrat', sans-serif;
overflow-x: hidden;
}
.nature-bg {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}
.leaf-animation {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
z-index: -1;
}
.leaf {
position: absolute;
background-color: #27ae60;
opacity: 0.2;
border-radius: 50% 50% 50% 0;
}
.wave {
position: absolute;
bottom: 0;
left: 0;
width: 200%;
height: 10vw;
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%2327ae60" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%2327ae60" opacity=".25"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%2327ae60"/></svg>');
background-size: 50% 100%;
animation: wave 10s linear infinite;
}
@keyframes wave {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.service-card {
transition: all 0.3s ease;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.portfolio-item {
transition: all 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
opacity: 1;
transform: translateY(0);
}
.portfolio-overlay {
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease;
}
</style>
</head>
<body class="bg-[#f8f9fa] text-gray-800">
<!-- Leaf Animation Background -->
<div class="leaf-animation" id="leafAnimation"></div>
<!-- Header -->
<header class="fixed w-full z-50 bg-white bg-opacity-90 backdrop-blur-sm shadow-sm">
<div class="container mx-auto px-6 py-4">
<div class="flex justify-between items-center">
<a href="#" class="text-2xl font-bold text-[#2c3e50]">pixelpair.co</a>
<nav class="hidden md:flex space-x-8">
<a href="#" class="text-[#2c3e50] hover:text-[#27ae60] transition">Home</a>
<a href="#services" class="text-[#2c3e50] hover:text-[#27ae60] transition">Services</a>
<a href="#portfolio" class="text-[#2c3e50] hover:text-[#27ae60] transition">Portfolio</a>
<a href="#about" class="text-[#2c3e50] hover:text-[#27ae60] transition">About</a>
<a href="#contact" class="text-[#2c3e50] hover:text-[#27ae60] transition">Contact</a>
</nav>
<a href="#contact" class="hidden md:block px-6 py-2 bg-[#27ae60] text-white rounded-full hover:bg-[#219955] transition">Get Started</a>
<button class="md:hidden focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="relative h-screen flex items-center justify-center overflow-hidden">
<div class="wave"></div>
<div class="container mx-auto px-6 text-center">
<h1 class="text-5xl md:text-7xl font-bold mb-6 text-[#2c3e50] opacity-0" id="heroTitle">Pixel Pair: Elevating Brands with Premium Digital Content</h1>
<p class="text-xl md:text-2xl text-gray-600 mb-10 opacity-0" id="heroSubtitle">Founded in 2025</p>
<a href="#services" class="inline-block px-8 py-3 bg-[#27ae60] text-white rounded-full text-lg font-medium hover:bg-[#219955] transition opacity-0" id="heroButton">Explore Our Services</a>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-16 text-[#2c3e50]">About Us</h2>
<div class="max-w-3xl mx-auto text-center">
<p class="text-xl text-gray-600 leading-relaxed" id="aboutText">Pixel Pair is a collective of digital content creators and strategists, committed to delivering high-quality solutions that blend creativity with nature-inspired aesthetics.</p>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="py-20 nature-bg text-white">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-16">Our Services</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
<div class="text-4xl mb-4">
<i data-feather="instagram"></i>
</div>
<h3 class="text-xl font-bold mb-3">Social Media Content</h3>
<p class="text-gray-300">Crafting custom, engaging content for your brand's social platforms.</p>
</div>
<div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
<div class="text-4xl mb-4">
<i data-feather="youtube"></i>
</div>
<h3 class="text-xl font-bold mb-3">YouTube Production</h3>
<p class="text-gray-300">Designing eye-catching thumbnails and creating compelling edits.</p>
</div>
<div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
<div class="text-4xl mb-4">
<i data-feather="edit"></i>
</div>
<h3 class="text-xl font-bold mb-3">Blog Strategy</h3>
<p class="text-gray-300">Well-crafted, SEO-optimized blog posts to increase engagement.</p>
</div>
<div class="service-card bg-white bg-opacity-10 backdrop-blur-sm p-8 rounded-xl">
<div class="text-4xl mb-4">
<i data-feather="film"></i>
</div>
<h3 class="text-xl font-bold mb-3">Short-Form Videos</h3>
<p class="text-gray-300">Creating viral short-form videos for TikTok, Reels, and Shorts.</p>
</div>
</div>
</div>
</section>
<!-- Portfolio Section -->
<section id="portfolio" class="py-20 bg-white">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-16 text-[#2c3e50]">Our Portfolio</h2>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="portfolio-item relative h-64 bg-[#34495e] rounded-xl overflow-hidden">
<div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
<h3 class="text-2xl font-bold mb-2">Social Media Campaign</h3>
<p>Complete branding and content strategy for a wellness brand</p>
</div>
</div>
<div class="portfolio-item relative h-64 bg-[#2c3e50] rounded-xl overflow-hidden">
<div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
<h3 class="text-2xl font-bold mb-2">YouTube Series</h3>
<p>Thumbnail design and editing for a tech channel</p>
</div>
</div>
<div class="portfolio-item relative h-64 bg-[#34495e] rounded-xl overflow-hidden">
<div class="absolute inset-0 portfolio-overlay bg-[#27ae60] bg-opacity-90 flex flex-col justify-center items-center p-6 text-white text-center">
<h3 class="text-2xl font-bold mb-2">Blog Redesign</h3>
<p>Complete overhaul of content strategy and design</p>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 nature-bg text-white">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold text-center mb-16">Get In Touch</h2>
<div class="max-w-2xl mx-auto">
<form class="space-y-6">
<div>
<input type="text" placeholder="Your Name" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]">
</div>
<div>
<input type="email" placeholder="Your Email" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]">
</div>
<div>
<textarea placeholder="Your Message" rows="5" class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-blur-sm rounded-lg border border-white border-opacity-30 focus:outline-none focus:ring-2 focus:ring-[#27ae60]"></textarea>
</div>
<button type="submit" class="w-full px-6 py-3 bg-[#27ae60] text-white rounded-lg font-medium hover:bg-[#219955] transition">Send Message</button>
</form>
<div class="mt-12 text-center">
<p class="text-lg mb-4">Or reach us directly</p>
<div class="flex justify-center space-x-6">
<a href="mailto:pixelpairofc@gmail.com" class="flex items-center space-x-2 hover:text-[#27ae60] transition">
<i data-feather="mail"></i>
<span>pixelpairofc@gmail.com</span>
</a>
<a href="#" class="flex items-center space-x-2 hover:text-[#27ae60] transition">
<i data-feather="instagram"></i>
<span>@pixelpair.co</span>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-[#1a252f] text-white py-12">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<h3 class="text-2xl font-bold">pixelpair.co</h3>
<p class="mt-2 text-gray-400">Premium Digital Content Agency</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="youtube"></i>
</a>
</div>
</div>
<div class="mt-8 pt-8 border-t border-gray-800 text-center text-gray-400">
<p>&copy; 2025 Pixel Pair. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Initialize GSAP animations
document.addEventListener('DOMContentLoaded', () => {
feather.replace();
// Leaf animation
function createLeaves() {
const container = document.getElementById('leafAnimation');
for (let i = 0; i < 20; i++) {
const leaf = document.createElement('div');
leaf.classList.add('leaf');
const size = Math.random() * 20 + 10;
const posX = Math.random() * 100;
const posY = Math.random() * 100;
const rotation = Math.random() * 360;
const duration = Math.random() * 15 + 10;
const delay = Math.random() * 5;
leaf.style.width = `${size}px`;
leaf.style.height = `${size}px`;
leaf.style.left = `${posX}%`;
leaf.style.top = `${posY}%`;
leaf.style.transform = `rotate(${rotation}deg)`;
gsap.to(leaf, {
y: '+=100',
x: '+=50',
rotation: '+=180',
duration: duration,
delay: delay,
repeat: -1,
yoyo: true,
ease: 'sine.inOut'
});
container.appendChild(leaf);
}
}
createLeaves();
// Hero section animations
gsap.from('#heroTitle', {
opacity: 0,
y: 50,
duration: 1,
delay: 0.5,
ease: 'power3.out'
});
gsap.from('#heroSubtitle', {
opacity: 0,
y: 50,
duration: 1,
delay: 0.8,
ease: 'power3.out'
});
gsap.from('#heroButton', {
opacity: 0,
y: 50,
duration: 1,
delay: 1.1,
ease: 'power3.out'
});
// Scroll animations
gsap.utils.toArray('section').forEach((section, i) => {
if (i > 0) { // Skip hero section
gsap.from(section, {
scrollTrigger: {
trigger: section,
start: 'top 80%',
toggleActions: 'play none none none'
},
opacity: 0,
y: 50,
duration: 1
});
}
});
// Section specific animations
gsap.from('#aboutText', {
scrollTrigger: {
trigger: '#about',
start: 'top 70%',
toggleActions: 'play none none none'
},
opacity: 0,
duration: 1.5,
ease: 'power2.out'
});
gsap.utils.toArray('.service-card').forEach((card, i) => {
gsap.from(card, {
scrollTrigger: {
trigger: '#services',
start: 'top 70%',
toggleActions: 'play none none none'
},
opacity: 0,
y: 50,
duration: 0.5,
delay: i * 0.1
});
});
gsap.utils.toArray('.portfolio-item').forEach((item, i) => {
gsap.from(item, {
scrollTrigger: {
trigger: '#portfolio',
start: 'top 70%',
toggleActions: 'play none none none'
},
opacity: 0,
y: 50,
duration: 0.5,
delay: i * 0.1
});
});
});
</script>
</body>
</html>