Spaces:
Running

fos / index.html
holyredbeard's picture
Skapa en snygg, tilltalande, modern och ungdomlig men professionell receptsajt som verkligen sticker ut. Inget generiskt "FlavorFuse"-skit nu, utan verkligen unikt i färg, form och funktion. Man ska kunna generera recept från videos, webbrecept och matbloggar. Näringsvärden och annat läggs till av AI. Man ska kunna göra om receptet till t ex vegansk version (görs med AI). Man ska kunna skapa Collections där man samlar andras recept (t ex "Vegan Recipes"), och dessa ska andra kunna följa. Man ska kunna kommentera, rate:a, like:a recept. Etc. - Initial Deployment
39caf56 verified
Raw History Blame Contribute Delete
21.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlavorCraft | Modern Recipe Platform</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#FF6B6B',
secondary: '#4ECDC4',
accent: '#FFE66D',
dark: '#292F36',
light: '#F7FFF7',
},
fontFamily: {
sans: ['"Poppins"', 'sans-serif'],
display: ['"Bungee"', 'cursive'],
},
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Poppins:wght@300;400;500;600;700&display=swap');
.recipe-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.recipe-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.nutrition-badge {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(5px);
}
.gradient-bg {
background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}
.search-shadow {
box-shadow: 0 10px 25px -5px rgba(255, 107, 107, 0.3);
}
.transform-btn {
transition: all 0.3s ease;
}
.transform-btn:hover {
transform: scale(1.05);
}
.comment-box {
transition: all 0.3s ease;
}
.comment-box:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
</style>
</head>
<body class="bg-light font-sans text-dark">
<!-- Navigation -->
<nav class="bg-white shadow-sm sticky top-0 z-50">
<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="flex items-center">
<div class="gradient-bg rounded-lg p-2 mr-2">
<i class="fas fa-utensils text-white text-xl"></i>
</div>
<span class="text-2xl font-display text-transparent bg-clip-text bg-gradient-to-r from-primary to-secondary">FlavorCraft</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#" class="text-gray-700 hover:text-primary transition">Explore</a>
<a href="#" class="text-gray-700 hover:text-primary transition">Collections</a>
<a href="#" class="text-gray-700 hover:text-primary transition">AI Tools</a>
<a href="#" class="text-gray-700 hover:text-primary transition">Community</a>
</div>
<div class="flex items-center space-x-4">
<button class="p-2 text-gray-500 hover:text-primary">
<i class="fas fa-search"></i>
</button>
<button class="hidden md:block bg-gradient-to-r from-primary to-secondary text-white px-4 py-2 rounded-full transform-btn">
Upload Recipe
</button>
<button class="p-2 text-gray-500 hover:text-primary">
<i class="fas fa-user-circle text-xl"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="relative gradient-bg text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6 font-display">Craft Your Perfect Dish</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">AI-powered recipe customization, nutrition insights, and a vibrant cooking community all in one place.</p>
<div class="max-w-2xl mx-auto bg-white rounded-full p-2 search-shadow">
<div class="flex">
<input type="text" placeholder="Search for recipes, ingredients, or creators..." class="w-full px-6 py-3 rounded-l-full focus:outline-none text-gray-700">
<button class="bg-primary text-white px-6 py-3 rounded-r-full font-medium transform-btn">
<i class="fas fa-search mr-2"></i> Search
</button>
</div>
</div>
<div class="mt-8 flex justify-center space-x-4">
<button class="bg-white text-primary px-6 py-3 rounded-full font-medium transform-btn flex items-center">
<i class="fas fa-play-circle mr-2"></i> Extract from Video
</button>
<button class="bg-white text-secondary px-6 py-3 rounded-full font-medium transform-btn flex items-center">
<i class="fas fa-link mr-2"></i> Import from URL
</button>
</div>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 h-8 bg-white rounded-t-3xl"></div>
</div>
<!-- AI Features Section -->
<div class="bg-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-bold text-center mb-12">Supercharge Your Cooking with AI</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-light rounded-xl p-6 shadow-md hover:shadow-lg transition">
<div class="gradient-bg rounded-lg p-4 w-16 h-16 flex items-center justify-center mb-4">
<i class="fas fa-robot text-white text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Smart Recipe Conversion</h3>
<p class="text-gray-600">Turn any recipe vegan, gluten-free, or keto with one click. Our AI adapts ingredients while keeping flavors intact.</p>
<button class="mt-4 text-primary font-medium flex items-center">
Try it now <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-light rounded-xl p-6 shadow-md hover:shadow-lg transition">
<div class="gradient-bg rounded-lg p-4 w-16 h-16 flex items-center justify-center mb-4">
<i class="fas fa-chart-pie text-white text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Nutrition Insights</h3>
<p class="text-gray-600">Get detailed nutritional breakdowns and personalized recommendations based on your dietary needs.</p>
<button class="mt-4 text-primary font-medium flex items-center">
Analyze recipe <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-light rounded-xl p-6 shadow-md hover:shadow-lg transition">
<div class="gradient-bg rounded-lg p-4 w-16 h-16 flex items-center justify-center mb-4">
<i class="fas fa-magic text-white text-2xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Smart Recommendations</h3>
<p class="text-gray-600">Discover recipes tailored to your taste, pantry ingredients, and cooking skill level.</p>
<button class="mt-4 text-primary font-medium flex items-center">
Get recommendations <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Trending Recipes -->
<div class="py-16 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold">Trending This Week</h2>
<a href="#" class="text-primary font-medium">See all <i class="fas fa-arrow-right ml-1"></i></a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Recipe Card 1 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden shadow-md">
<div class="relative">
<img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Avocado Toast" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-white rounded-full p-2 shadow-sm">
<i class="fas fa-heart text-primary"></i>
</div>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">420 kcal</span>
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">22g protein</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg">Avocado Toast with Poached Egg</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-700">4.8</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-4">Creamy avocado on sourdough with perfectly poached eggs</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-user-circle mr-1"></i>
<span>JamieOliver</span>
</div>
<button class="text-xs bg-accent px-3 py-1 rounded-full font-medium">Make Vegan</button>
</div>
</div>
</div>
<!-- Recipe Card 2 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden shadow-md">
<div class="relative">
<img src="https://images.unsplash.com/photo-1512621776951-a57141f2eefd?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Buddha Bowl" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-white rounded-full p-2 shadow-sm">
<i class="fas fa-heart text-gray-300"></i>
</div>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">380 kcal</span>
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">18g protein</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg">Rainbow Buddha Bowl</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-700">4.9</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-4">Colorful plant-based bowl with tahini dressing</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-user-circle mr-1"></i>
<span>GreenEats</span>
</div>
<button class="text-xs bg-accent px-3 py-1 rounded-full font-medium">High Protein</button>
</div>
</div>
</div>
<!-- Recipe Card 3 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden shadow-md">
<div class="relative">
<img src="https://images.unsplash.com/photo-1544025162-d76694265947?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Ramen" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-white rounded-full p-2 shadow-sm">
<i class="fas fa-heart text-primary"></i>
</div>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">550 kcal</span>
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">30g protein</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg">Spicy Miso Ramen</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-700">4.7</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-4">Rich broth with perfect noodles and soft-boiled egg</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-user-circle mr-1"></i>
<span>RamenMaster</span>
</div>
<button class="text-xs bg-accent px-3 py-1 rounded-full font-medium">Quick Fix</button>
</div>
</div>
</div>
<!-- Recipe Card 4 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden shadow-md">
<div class="relative">
<img src="https://images.unsplash.com/photo-1484723091739-30a097e8f929?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Pancakes" class="w-full h-48 object-cover">
<div class="absolute top-2 right-2 bg-white rounded-full p-2 shadow-sm">
<i class="fas fa-heart text-gray-300"></i>
</div>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">320 kcal</span>
<span class="nutrition-badge px-2 py-1 rounded-full text-xs font-medium">8g protein</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start mb-2">
<h3 class="font-bold text-lg">Blueberry Banana Pancakes</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="ml-1 text-gray-700">4.6</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-4">Fluffy pancakes with maple syrup and fresh berries</p>
<div class="flex justify-between items-center">
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-user-circle mr-1"></i>
<span>BreakfastQueen</span>
</div>
<button class="text-xs bg-accent px-3 py-1 rounded-full font-medium">Gluten-Free</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Featured Collections -->
<div class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold">Featured Collections</h2>
<a href="#" class="text-primary font-medium">Browse all <i class="fas fa-arrow-right ml-1"></i></a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Collection 1 -->
<div class="relative rounded-xl overflow-hidden h-64 shadow-md">
<img src="https://images.unsplash.com/photo-1547592180-85f173990554?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Vegan Recipes" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6 w-full">
<div class="flex justify-between items-end">
<div>
<h3 class="text-xl font-bold text-white">Vegan Wonders</h3>
<p class="text-gray-200">128 recipes • 12.4k followers</p>
</div>
<button class="bg-white text-primary px-4 py-2 rounded-full font-medium transform-btn">
Follow
</button>
</div>
</div>
</div>
<!-- Collection 2 -->
<div class="relative rounded-xl overflow-hidden h-64 shadow-md">
<img src="https://images.unsplash.com/photo-1518779578993-ec3579fee39f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Quick Meals" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6 w-full">
<div class="flex justify-between items-end">
<div>
<h3 class="text-xl font-bold text-white">30-Minute Meals</h3>
<p class="text-gray-200">87 recipes • 8.2k followers</p>
</div>
<button class="bg-white text-primary px-4 py-2 rounded-full font-medium transform-btn">
Follow
</button>
</div>
</div>
</div>
<!-- Collection 3 -->
<div class="relative rounded-xl overflow-hidden h-64 shadow-md">
<img src="https://images.unsplash.com/photo-1490645935967-10de6ba17061?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" alt="Protein Power" class="w-full h-full object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent"></div>
<div class="absolute bottom-0 left-0 p-6 w-full">
<div class="flex justify-between items-end">
<div>
<h3 class="text-xl font-bold text-white">Protein Power</h3>
{"ok":false,"message":"terminated"}
<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=holyredbeard/fos" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>