Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>FlavorFiesta - Discover Tasty Recipes</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> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#FF6B6B', | |
| secondary: '#4ECDC4', | |
| accent: '#FFE66D', | |
| dark: '#292F36', | |
| light: '#F7FFF7' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| .hero-bg { | |
| background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('http://static.photos/food/1200x630/42'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .recipe-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); | |
| } | |
| .floating { | |
| animation: floating 3s ease-in-out infinite; | |
| } | |
| @keyframes floating { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-light"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-lg sticky top-0 z-50"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="flex justify-between"> | |
| <div class="flex space-x-7"> | |
| <div> | |
| <a href="#" class="flex items-center py-4 px-2"> | |
| <i data-feather="coffee" class="text-primary h-8 w-8 mr-2"></i> | |
| <span class="font-bold text-primary text-2xl">FlavorFiesta</span> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-3"> | |
| <a href="#" class="py-4 px-2 text-dark font-semibold hover:text-primary transition duration-300">Home</a> | |
| <a href="#" class="py-4 px-2 text-dark font-semibold hover:text-primary transition duration-300">Recipes</a> | |
| <a href="#" class="py-4 px-2 text-dark font-semibold hover:text-primary transition duration-300">Categories</a> | |
| <a href="#" class="py-4 px-2 text-dark font-semibold hover:text-primary transition duration-300">About</a> | |
| <a href="#" class="py-2 px-4 bg-primary text-white font-medium rounded-full hover:bg-primary-dark transition duration-300">Login</a> | |
| </div> | |
| <div class="md:hidden flex items-center"> | |
| <button class="outline-none mobile-menu-button"> | |
| <i data-feather="menu" class="w-6 h-6 text-dark"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="hero-bg h-screen flex items-center justify-center text-center"> | |
| <div class="px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto"> | |
| <h1 class="text-4xl md:text-6xl font-bold text-white mb-6 font-serif">Discover Culinary Delights</h1> | |
| <p class="text-xl text-white mb-8">Explore thousands of delicious recipes from around the world</p> | |
| <div class="relative max-w-md mx-auto"> | |
| <input type="text" placeholder="Search recipes..." class="w-full py-4 px-6 rounded-full shadow-lg focus:outline-none"> | |
| <button class="absolute right-2 top-2 bg-primary text-white p-2 rounded-full hover:bg-primary-dark transition duration-300"> | |
| <i data-feather="search" class="h-5 w-5"></i> | |
| </button> | |
| </div> | |
| <div class="mt-8"> | |
| <a href="#trending" class="inline-block bg-white text-primary font-bold py-3 px-6 rounded-full hover:bg-gray-100 transition duration-300">Explore Now</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Trending Recipes --> | |
| <section id="trending" class="py-16 bg-white"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-dark mb-4 font-serif">Trending This Week</h2> | |
| <div class="w-20 h-1 bg-primary mx-auto"></div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Recipe Card 1 --> | |
| <div class="recipe-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/food/640x360/1" alt="Avocado Toast" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="bg-secondary text-white text-xs px-2 py-1 rounded-full">Breakfast</span> | |
| <span class="ml-auto text-gray-500 text-sm flex items-center"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> 15 min | |
| </span> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Avocado Toast with Egg</h3> | |
| <p class="text-gray-600 mb-4">Simple yet delicious breakfast that's packed with nutrients.</p> | |
| <div class="flex items-center"> | |
| <div class="flex -space-x-2"> | |
| <img class="w-8 h-8 rounded-full border-2 border-white" src="http://static.photos/people/200x200/1" alt="Chef"> | |
| <img class="w-8 h-8 rounded-full border-2 border-white" src="http://static.photos/people/200x200/2" alt="Chef"> | |
| </div> | |
| <button class="ml-auto bg-primary text-white px-4 py-2 rounded-full text-sm hover:bg-primary-dark transition duration-300">View Recipe</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recipe Card 2 --> | |
| <div class="recipe-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/food/640x360/2" alt="Pasta" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="bg-accent text-dark text-xs px-2 py-1 rounded-full">Dinner</span> | |
| <span class="ml-auto text-gray-500 text-sm flex items-center"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> 30 min | |
| </span> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Creamy Garlic Pasta</h3> | |
| <p class="text-gray-600 mb-4">Rich and flavorful pasta dish that comes together in minutes.</p> | |
| <div class="flex items-center"> | |
| <div class="flex -space-x-2"> | |
| <img class="w-8 h-8 rounded-full border-2 border-white" src="http://static.photos/people/200x200/3" alt="Chef"> | |
| </div> | |
| <button class="ml-auto bg-primary text-white px-4 py-2 rounded-full text-sm hover:bg-primary-dark transition duration-300">View Recipe</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recipe Card 3 --> | |
| <div class="recipe-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <img src="http://static.photos/food/640x360/3" alt="Smoothie" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="bg-secondary text-white text-xs px-2 py-1 rounded-full">Smoothie</span> | |
| <span class="ml-auto text-gray-500 text-sm flex items-center"> | |
| <i data-feather="clock" class="w-4 h-4 mr-1"></i> 5 min | |
| </span> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Berry Blast Smoothie</h3> | |
| <p class="text-gray-600 mb-4">Refreshing and nutritious smoothie packed with antioxidants.</p> | |
| <div class="flex items-center"> | |
| <div class="flex -space-x-2"> | |
| <img class="w-8 h-8 rounded-full border-2 border-white" src="http://static.photos/people/200x200/4" alt="Chef"> | |
| <img class="w-8 h-8 rounded-full border-2 border-white" src="http://static.photos/people/200x200/5" alt="Chef"> | |
| </div> | |
| <button class="ml-auto bg-primary text-white px-4 py-2 rounded-full text-sm hover:bg-primary-dark transition duration-300">View Recipe</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <a href="#" class="inline-block border-2 border-primary text-primary font-bold py-3 px-8 rounded-full hover:bg-primary hover:text-white transition duration-300">View All Recipes</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features --> | |
| <section class="py-16 bg-gray-50"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-dark mb-4 font-serif">Why Choose FlavorFiesta</h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">We bring the world's best recipes to your kitchen with easy-to-follow instructions</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-lg transition duration-300"> | |
| <div class="bg-primary-light rounded-full p-4 w-16 h-16 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="clock" class="text-primary w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Quick Recipes</h3> | |
| <p class="text-gray-600">Find meals you can whip up in 30 minutes or less</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-lg transition duration-300"> | |
| <div class="bg-primary-light rounded-full p-4 w-16 h-16 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="heart" class="text-primary w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Healthy Options</h3> | |
| <p class="text-gray-600">Nutritious meals that don't compromise on taste</p> | |
| </div> | |
| <div class="bg-white p-8 rounded-lg shadow-md text-center hover:shadow-lg transition duration-300"> | |
| <div class="bg-primary-light rounded-full p-4 w-16 h-16 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="globe" class="text-primary w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-dark mb-2">Global Cuisine</h3> | |
| <p class="text-gray-600">Explore flavors from around the world</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="py-16 bg-primary text-white"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold mb-4 font-serif">What Our Foodies Say</h2> | |
| <div class="w-20 h-1 bg-white mx-auto"></div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div class="bg-white bg-opacity-10 p-8 rounded-lg backdrop-blur-sm"> | |
| <div class="flex items-center mb-4"> | |
| <img class="w-12 h-12 rounded-full border-2 border-white" src="http://static.photos/people/200x200/6" alt="User"> | |
| <div class="ml-4"> | |
| <h4 class="font-bold">Sarah Johnson</h4> | |
| <div class="flex"> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="italic">"The creamy garlic pasta recipe was a hit with my family! So easy to make and absolutely delicious."</p> | |
| </div> | |
| <div class="bg-white bg-opacity-10 p-8 rounded-lg backdrop-blur-sm"> | |
| <div class="flex items-center mb-4"> | |
| <img class="w-12 h-12 rounded-full border-2 border-white" src="http://static.photos/people/200x200/7" alt="User"> | |
| <div class="ml-4"> | |
| <h4 class="font-bold">Michael Chen</h4> | |
| <div class="flex"> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| <i data-feather="star" class="text-accent w-4 h-4 fill-current"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="italic">"I've tried many recipe sites, but FlavorFiesta has the best collection of quick and healthy meals."</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="py-16 bg-accent"> | |
| <div class="max-w-4xl mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold text-dark mb-4 font-serif">Join Our Culinary Community</h2> | |
| <p class="text-dark mb-8 max-w-2xl mx-auto">Subscribe to our newsletter and get weekly recipe inspiration delivered to your inbox</p> | |
| <div class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto"> | |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-full focus:outline-none"> | |
| <button class="bg-primary text-white px-6 py-3 rounded-full font-bold hover:bg-primary-dark transition duration-300">Subscribe</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-dark text-white py-12"> | |
| <div class="max-w-6xl mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4 flex items-center"> | |
| <i data-feather="coffee" class="text-primary h-6 w-6 mr-2"></i> | |
| FlavorFiesta | |
| </h3> | |
| <p class="text-gray-400">Bringing world flavors to your kitchen since 2023.</p> | |
| <div class="flex mt-4 space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i data-feather="facebook" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i data-feather="instagram" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i data-feather="youtube" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Explore</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">All Recipes</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Popular</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Seasonal</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Chef's Picks</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Categories</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Breakfast</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Lunch</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Dinner</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Desserts</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Contact</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center text-gray-400"> | |
| <i data-feather="mail" class="w-4 h-4 mr-2"></i> | |
| hello@flavorfiesta.com | |
| </li> | |
| <li class="flex items-center text-gray-400"> | |
| <i data-feather="phone" class="w-4 h-4 mr-2"></i> | |
| +1 (555) 123-4567 | |
| </li> | |
| <li class="flex items-center text-gray-400"> | |
| <i data-feather="map-pin" class="w-4 h-4 mr-2"></i> | |
| Foodie Street, Culinary City | |
| </li> | |
| </ul> | |
| </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">© 2023 FlavorFiesta. All rights reserved.</p> | |
| <div class="flex space-x-6 mt-4 md:mt-0"> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition duration-300">Privacy Policy</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition duration-300">Terms of Service</a> | |
| <a href="#" class="text-gray-400 hover:text-white text-sm transition duration-300">Cookies</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| // Mobile menu toggle | |
| const btn = document.querySelector(".mobile-menu-button"); | |
| const menu = document.querySelector(".mobile-menu"); | |
| btn.addEventListener("click", () => { | |
| menu.classList.toggle("hidden"); | |
| }); | |
| // Simple animation for hero section | |
| anime({ | |
| targets: '.hero-bg h1', | |
| translateY: [-20, 0], | |
| opacity: [0, 1], | |
| duration: 1000, | |
| easing: 'easeOutExpo' | |
| }); | |
| anime({ | |
| targets: '.hero-bg p', | |
| translateY: [20, 0], | |
| opacity: [0, 1], | |
| duration: 1000, | |
| delay: 300, | |
| easing: 'easeOutExpo' | |
| }); | |
| anime({ | |
| targets: '.hero-bg input', | |
| translateY: [20, 0], | |
| opacity: [0, 1], | |
| duration: 1000, | |
| delay: 600, | |
| easing: 'easeOutExpo' | |
| }); | |
| anime({ | |
| targets: '.hero-bg a', | |
| translateY: [20, 0], | |
| opacity: [0, 1], | |
| duration: 1000, | |
| delay: 900, | |
| easing: 'easeOutExpo' | |
| }); | |
| // Recipe card animation | |
| document.querySelectorAll('.recipe-card').forEach((card, index) => { | |
| anime({ | |
| targets: card, | |
| translateY: [50, 0], | |
| opacity: [0, 1], | |
| duration: 800, | |
| delay: index * 100, | |
| easing: 'easeOutExpo' | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |