sample / index.html
georgemalar07's picture
Add 3 files
57fc092 verified
Raw History Blame Contribute Delete
34.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Food Buddies - Discover Culinary Companions</title>
<script src="https://cdn.tailwindcss.com"></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>
<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');
body {
font-family: 'Poppins', sans-serif;
overflow-x: hidden;
background-color: #fff9f0;
}
.hero-gradient {
background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}
.food-card {
transform-style: preserve-3d;
transition: all 0.5s ease;
}
.food-card:hover {
transform: translateY(-10px) rotateX(5deg);
box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}
.floating {
animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
.floating-delay-1 {
animation-delay: 1s;
}
.floating-delay-2 {
animation-delay: 2s;
}
.parallax-bg {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.text-stroke {
-webkit-text-stroke: 2px #ff6b6b;
color: transparent;
}
</style>
</head>
<body class="text-gray-800">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-white bg-opacity-90 backdrop-filter backdrop-blur-lg shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-20 items-center">
<div class="flex-shrink-0 flex items-center">
<div class="flex items-center">
<i class="fas fa-utensils text-3xl text-amber-500 mr-2"></i>
<span class="text-2xl font-bold text-gray-800">Food<span class="text-amber-500">Buddies</span></span>
</div>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-center space-x-8">
<a href="#" class="text-gray-800 hover:text-amber-500 px-3 py-2 font-medium transition-all duration-300">Home</a>
<a href="#" class="text-gray-800 hover:text-amber-500 px-3 py-2 font-medium transition-all duration-300">How It Works</a>
<a href="#" class="text-gray-800 hover:text-amber-500 px-3 py-2 font-medium transition-all duration-300">Features</a>
<a href="#" class="text-gray-800 hover:text-amber-500 px-3 py-2 font-medium transition-all duration-300">Testimonials</a>
<a href="#" class="bg-amber-500 hover:bg-amber-600 text-white px-6 py-2 rounded-full font-medium transition-all duration-300 shadow-lg hover:shadow-xl">Get Started</a>
</div>
</div>
<div class="md:hidden">
<button class="text-gray-800 focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-gradient pt-32 pb-20 px-4 relative overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full opacity-10">
<div class="absolute top-20 left-10 w-40 h-40 rounded-full bg-pink-300 filter blur-3xl"></div>
<div class="absolute bottom-10 right-10 w-60 h-60 rounded-full bg-amber-300 filter blur-3xl"></div>
</div>
<div class="max-w-7xl mx-auto relative z-10">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div class="space-y-8">
<h1 class="text-5xl md:text-6xl font-bold text-white leading-tight">
Find Your Perfect <span class="text-stroke">Food</span> Buddy
</h1>
<p class="text-xl text-white opacity-90 max-w-lg">
Connect with fellow food lovers, share meals, and discover new culinary experiences together. Because every meal tastes better with company!
</p>
<div class="flex flex-col sm:flex-row gap-4 pt-4">
<button class="bg-white text-amber-600 hover:bg-gray-100 px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 shadow-lg hover:shadow-xl flex items-center justify-center">
<i class="fas fa-utensils mr-3"></i> Find Buddies
</button>
<button class="bg-transparent border-2 border-white text-white hover:bg-white hover:text-amber-600 px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 shadow-lg hover:shadow-xl flex items-center justify-center">
<i class="fas fa-play-circle mr-3"></i> Watch Video
</button>
</div>
</div>
<div class="relative">
<img src="https://images.unsplash.com/photo-1606787366852-5b62e7a4aa2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="People enjoying food together" class="rounded-3xl shadow-2xl w-full h-auto floating">
<div class="absolute -bottom-8 -left-8 bg-white p-6 rounded-2xl shadow-xl w-64 food-card">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-amber-100 flex items-center justify-center">
<i class="fas fa-heart text-amber-500"></i>
</div>
<div class="ml-3">
<p class="font-bold">1,200+</p>
<p class="text-sm text-gray-500">Happy Buddies</p>
</div>
</div>
</div>
<div class="absolute -top-8 -right-8 bg-white p-6 rounded-2xl shadow-xl w-64 food-card">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center">
<i class="fas fa-utensils text-pink-500"></i>
</div>
<div class="ml-3">
<p class="font-bold">850+</p>
<p class="text-sm text-gray-500">Restaurants</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Partners Section -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<p class="text-center text-gray-500 mb-10">Trusted by top restaurants and food communities</p>
<div class="grid grid-cols-2 md:grid-cols-5 gap-8 items-center justify-center">
<img src="https://logo.clearbit.com/ubereats.com" alt="Uber Eats" class="h-12 opacity-60 hover:opacity-100 transition-all duration-300">
<img src="https://logo.clearbit.com/doordash.com" alt="DoorDash" class="h-10 opacity-60 hover:opacity-100 transition-all duration-300">
<img src="https://logo.clearbit.com/grubhub.com" alt="Grubhub" class="h-14 opacity-60 hover:opacity-100 transition-all duration-300">
<img src="https://logo.clearbit.com/postmates.com" alt="Postmates" class="h-10 opacity-60 hover:opacity-100 transition-all duration-300">
<img src="https://logo.clearbit.com/yelp.com" alt="Yelp" class="h-12 opacity-60 hover:opacity-100 transition-all duration-300">
</div>
</div>
</section>
<!-- How It Works Section -->
<section class="py-20 bg-amber-50 relative overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full opacity-10">
<div class="absolute top-1/4 left-1/4 w-60 h-60 rounded-full bg-amber-200 filter blur-3xl"></div>
<div class="absolute bottom-1/4 right-1/4 w-80 h-80 rounded-full bg-pink-200 filter blur-3xl"></div>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold text-gray-800 mb-4">How Food Buddies Works</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Find your perfect food companion in just three simple steps</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-8 rounded-3xl shadow-lg food-card">
<div class="w-16 h-16 rounded-full bg-amber-100 flex items-center justify-center mb-6">
<span class="text-2xl font-bold text-amber-600">1</span>
</div>
<h3 class="text-2xl font-bold mb-4">Create Your Profile</h3>
<p class="text-gray-600">Tell us about your food preferences, dietary restrictions, and favorite cuisines.</p>
<div class="mt-6">
<div class="w-full h-48 bg-gray-100 rounded-xl overflow-hidden">
<img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Profile creation" class="w-full h-full object-cover">
</div>
</div>
</div>
<div class="bg-white p-8 rounded-3xl shadow-lg food-card transform translate-y-10">
<div class="w-16 h-16 rounded-full bg-pink-100 flex items-center justify-center mb-6">
<span class="text-2xl font-bold text-pink-600">2</span>
</div>
<h3 class="text-2xl font-bold mb-4">Find Food Buddies</h3>
<p class="text-gray-600">Browse through profiles of food lovers near you with similar tastes and schedules.</p>
<div class="mt-6">
<div class="w-full h-48 bg-gray-100 rounded-xl overflow-hidden">
<img src="https://images.unsplash.com/photo-1551218372-a1af05f926c2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Finding buddies" class="w-full h-full object-cover">
</div>
</div>
</div>
<div class="bg-white p-8 rounded-3xl shadow-lg food-card">
<div class="w-16 h-16 rounded-full bg-purple-100 flex items-center justify-center mb-6">
<span class="text-2xl font-bold text-purple-600">3</span>
</div>
<h3 class="text-2xl font-bold mb-4">Enjoy Meals Together</h3>
<p class="text-gray-600">Connect, meet up, and share delicious food experiences with your new food buddies.</p>
<div class="mt-6">
<div class="w-full h-48 bg-gray-100 rounded-xl overflow-hidden">
<img src="https://images.unsplash.com/photo-1547592180-85f173990554?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Enjoying meals" class="w-full h-full object-cover">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-2 gap-12 items-center">
<div class="space-y-8">
<h2 class="text-4xl font-bold text-gray-800">Features Designed for Food Lovers</h2>
<p class="text-xl text-gray-600">We've built Food Buddies with features that make connecting over food simple and enjoyable.</p>
<div class="space-y-6">
<div class="flex items-start">
<div class="flex-shrink-0 bg-amber-100 p-3 rounded-full mr-4">
<i class="fas fa-search text-amber-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Smart Matching</h3>
<p class="text-gray-600">Our algorithm matches you with compatible food buddies based on your preferences, location, and schedule.</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-pink-100 p-3 rounded-full mr-4">
<i class="fas fa-map-marker-alt text-pink-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Local Recommendations</h3>
<p class="text-gray-600">Discover hidden gems and popular spots recommended by your food buddies in your area.</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 bg-purple-100 p-3 rounded-full mr-4">
<i class="fas fa-shield-alt text-purple-600 text-xl"></i>
</div>
<div>
<h3 class="text-xl font-bold mb-2">Safety First</h3>
<p class="text-gray-600">Verified profiles and in-app messaging ensure safe connections before meeting up.</p>
</div>
</div>
</div>
</div>
<div class="relative">
<div class="relative z-10">
<img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Food Buddies app features" class="rounded-3xl shadow-2xl w-full h-auto">
</div>
<div class="absolute -bottom-8 -right-8 w-64 h-64 bg-amber-200 rounded-full filter blur-3xl opacity-30 -z-10"></div>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section class="py-20 bg-gray-50 parallax-bg" style="background-image: url('https://images.unsplash.com/photo-1517248135467-4dbc16a492d4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-4xl font-bold text-white mb-4">What Our Food Buddies Say</h2>
<p class="text-xl text-white opacity-90 max-w-3xl mx-auto">Real stories from people who found their perfect food companions</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white bg-opacity-90 backdrop-filter backdrop-blur-lg p-8 rounded-3xl shadow-lg food-card">
<div class="flex items-center mb-6">
<img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=688&q=80" alt="Sarah J." class="w-16 h-16 rounded-full object-cover">
<div class="ml-4">
<h3 class="font-bold text-xl">Sarah J.</h3>
<p class="text-amber-500">Food Enthusiast</p>
</div>
</div>
<p class="text-gray-700 mb-6">"I moved to a new city and didn't know anyone. Food Buddies helped me meet amazing people who share my love for Korean BBQ. Now I have a regular group to explore new restaurants with!"</p>
<div class="flex text-amber-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="bg-white bg-opacity-90 backdrop-filter backdrop-blur-lg p-8 rounded-3xl shadow-lg food-card transform translate-y-10">
<div class="flex items-center mb-6">
<img src="https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Michael T." class="w-16 h-16 rounded-full object-cover">
<div class="ml-4">
<h3 class="font-bold text-xl">Michael T.</h3>
<p class="text-amber-500">Adventurous Eater</p>
</div>
</div>
<p class="text-gray-700 mb-6">"As someone who loves trying exotic foods but none of my friends do, Food Buddies has been a game-changer. I've discovered so many new cuisines and made genuine friendships along the way."</p>
<div class="flex text-amber-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="bg-white bg-opacity-90 backdrop-filter backdrop-blur-lg p-8 rounded-3xl shadow-lg food-card">
<div class="flex items-center mb-6">
<img src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=688&q=80" alt="Priya K." class="w-16 h-16 rounded-full object-cover">
<div class="ml-4">
<h3 class="font-bold text-xl">Priya K.</h3>
<p class="text-amber-500">Vegetarian Foodie</p>
</div>
</div>
<p class="text-gray-700 mb-6">"Finding other vegetarians who appreciate fine dining was tough until I found Food Buddies. The specialized matching for dietary preferences is brilliant. My food experiences have leveled up!"</p>
<div class="flex text-amber-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 bg-gradient-to-r from-amber-400 to-pink-400 relative overflow-hidden">
<div class="absolute top-0 left-0 w-full h-full opacity-20">
<div class="absolute top-1/3 left-1/4 w-80 h-80 rounded-full bg-white filter blur-3xl"></div>
<div class="absolute bottom-1/4 right-1/4 w-96 h-96 rounded-full bg-white filter blur-3xl"></div>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="text-center">
<h2 class="text-4xl md:text-5xl font-bold text-white mb-6">Ready to Find Your Food Buddy?</h2>
<p class="text-xl text-white opacity-90 max-w-3xl mx-auto mb-10">Join thousands of food lovers discovering new flavors and friendships every day.</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<button class="bg-white text-amber-600 hover:bg-gray-100 px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 shadow-lg hover:shadow-xl flex items-center justify-center">
<i class="fas fa-user-plus mr-3"></i> Sign Up Now
</button>
<button class="bg-transparent border-2 border-white text-white hover:bg-white hover:text-amber-600 px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 shadow-lg hover:shadow-xl flex items-center justify-center">
<i class="fas fa-question-circle mr-3"></i> Learn More
</button>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-4 gap-12">
<div>
<div class="flex items-center mb-6">
<i class="fas fa-utensils text-3xl text-amber-500 mr-2"></i>
<span class="text-2xl font-bold">Food<span class="text-amber-500">Buddies</span></span>
</div>
<p class="text-gray-400 mb-6">Connecting food lovers to share delicious experiences and create lasting friendships.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">
<i class="fab fa-facebook-f text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">
<i class="fab fa-instagram text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">
<i class="fab fa-tiktok text-xl"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Company</h3>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Press</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Support</h3>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Help Center</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Safety Tips</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Community Guidelines</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Contact Us</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-6">Legal</h3>
<ul class="space-y-3">
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Terms of Service</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Privacy Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">Cookie Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors duration-300">GDPR</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 text-sm mb-4 md:mb-0">© 2023 Food Buddies. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-500 hover:text-white text-sm transition-colors duration-300">Privacy</a>
<a href="#" class="text-gray-500 hover:text-white text-sm transition-colors duration-300">Terms</a>
<a href="#" class="text-gray-500 hover:text-white text-sm transition-colors duration-300">Sitemap</a>
</div>
</div>
</div>
</footer>
<script>
// GSAP Animations
document.addEventListener('DOMContentLoaded', function() {
// Register ScrollTrigger plugin
gsap.registerPlugin(ScrollTrigger);
// Hero section animations
gsap.from('nav', {
duration: 1,
y: -50,
opacity: 0,
ease: "power3.out"
});
gsap.from('.hero-gradient h1', {
duration: 1,
y: 50,
opacity: 0,
delay: 0.3,
ease: "power3.out"
});
gsap.from('.hero-gradient p', {
duration: 1,
y: 50,
opacity: 0,
delay: 0.5,
ease: "power3.out"
});
gsap.from('.hero-gradient button', {
duration: 1,
y: 50,
opacity: 0,
delay: 0.7,
ease: "power3.out",
stagger: 0.1
});
gsap.from('.hero-gradient img', {
duration: 1,
scale: 0.8,
opacity: 0,
delay: 0.5,
ease: "back.out(1.7)"
});
gsap.from('.hero-gradient .food-card', {
duration: 1,
y: 30,
opacity: 0,
delay: 1,
ease: "power3.out",
stagger: 0.2
});
// How it works section animations
gsap.from('.bg-amber-50 h2', {
scrollTrigger: {
trigger: '.bg-amber-50',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
ease: "power3.out"
});
gsap.from('.bg-amber-50 p', {
scrollTrigger: {
trigger: '.bg-amber-50',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
delay: 0.2,
ease: "power3.out"
});
gsap.from('.bg-amber-50 .food-card', {
scrollTrigger: {
trigger: '.bg-amber-50',
start: "top 60%",
toggleActions: "play none none none"
},
duration: 1,
y: 50,
opacity: 0,
ease: "power3.out",
stagger: 0.2
});
// Features section animations
gsap.from('.bg-white h2', {
scrollTrigger: {
trigger: '.bg-white',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
x: -30,
opacity: 0,
ease: "power3.out"
});
gsap.from('.bg-white p', {
scrollTrigger: {
trigger: '.bg-white',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
x: -30,
opacity: 0,
delay: 0.2,
ease: "power3.out"
});
gsap.from('.bg-white .flex.items-start', {
scrollTrigger: {
trigger: '.bg-white',
start: "top 60%",
toggleActions: "play none none none"
},
duration: 0.8,
x: -30,
opacity: 0,
ease: "power3.out",
stagger: 0.2
});
gsap.from('.bg-white img', {
scrollTrigger: {
trigger: '.bg-white',
start: "top 60%",
toggleActions: "play none none none"
},
duration: 1,
x: 30,
opacity: 0,
ease: "power3.out"
});
// Testimonials section animations
gsap.from('.parallax-bg h2', {
scrollTrigger: {
trigger: '.parallax-bg',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
ease: "power3.out"
});
gsap.from('.parallax-bg p', {
scrollTrigger: {
trigger: '.parallax-bg',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
delay: 0.2,
ease: "power3.out"
});
gsap.from('.parallax-bg .food-card', {
scrollTrigger: {
trigger: '.parallax-bg',
start: "top 60%",
toggleActions: "play none none none"
},
duration: 1,
y: 50,
opacity: 0,
ease: "power3.out",
stagger: 0.2
});
// CTA section animations
gsap.from('.bg-gradient-to-r h2', {
scrollTrigger: {
trigger: '.bg-gradient-to-r',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
ease: "power3.out"
});
gsap.from('.bg-gradient-to-r p', {
scrollTrigger: {
trigger: '.bg-gradient-to-r',
start: "top 70%",
toggleActions: "play none none none"
},
duration: 0.8,
y: 30,
opacity: 0,
delay: 0.2,
ease: "power3.out"
});
gsap.from('.bg-gradient-to-r button', {
scrollTrigger: {
trigger: '.bg-gradient-to-r',
start: "top 60%",
toggleActions: "play none none none"
},
duration: 1,
y: 30,
opacity: 0,
ease: "power3.out",
stagger: 0.2
});
// Floating animation for food cards on hover
document.querySelectorAll('.food-card').forEach(card => {
card.addEventListener('mouseenter', () => {
gsap.to(card, {
duration: 0.3,
y: -10,
ease: "power1.out"
});
});
card.addEventListener('mouseleave', () => {
gsap.to(card, {
duration: 0.3,
y: 0,
ease: "power1.out"
});
});
});
});
</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=georgemalar07/sample" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>