p / index.html
holyredbeard's picture
Gör en modern, unik, autentisk receptsida som verkligen sticker ut i sin moderna, professionella men lekfulla design. Det är en sida där man kan generera recept från videos (t ex Youtube/TikTok), webbrecept och matbloggar till ett enhetligt recept som AI sedan fixar så att man får fram näringsinfo etc. Man kan även söka bland recept som andra användare skapat, kommentera dom, gilla dom, rate:a dom. Man kan skapa kollektioner (t ex "Vegan Recipies") där man lägger till recept man hittar, och dessa kollektioner kan andra sedan följa. - Initial Deployment
e5b4afc verified
Raw History Blame Contribute Delete
36.4 kB
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlavorFusion | Modern receptplattform</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">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f8f9fa;
}
.playfair {
font-family: 'Playfair Display', serif;
}
.gradient-bg {
background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}
.recipe-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.recipe-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.nutri-badge {
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(5px);
}
.collection-card {
position: relative;
overflow: hidden;
}
.collection-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
padding: 1rem;
}
.animate-pulse-slow {
animation: pulse 3s infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}
#videoPreview {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
z-index: 1000;
justify-content: center;
align-items: center;
}
</style>
</head>
<body class="min-h-screen">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<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">
<span class="playfair text-2xl font-bold text-pink-600">FlavorFusion</span>
</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative hidden md:block">
<input type="text" placeholder="Sök recept..." class="pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-pink-400 focus:border-transparent">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 rounded-md text-sm font-medium"><i class="fas fa-heart mr-1"></i> Kollektioner</a>
<a href="#" class="text-gray-700 hover:text-pink-600 px-3 py-2 rounded-md text-sm font-medium"><i class="fas fa-plus-circle mr-1"></i> Skapa</a>
<button class="bg-pink-500 hover:bg-pink-600 text-white px-4 py-2 rounded-full text-sm font-medium transition duration-300">
Logga in
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="gradient-bg text-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="md:flex items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h1 class="playfair text-4xl md:text-5xl font-bold mb-4">Upptäck matglädje på nytt</h1>
<p class="text-xl mb-6">Transformera videor, bloggar och webben till perfekta recept med AI. Spara, organisera och dela dina favoriter.</p>
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-pink-600 hover:bg-gray-100 px-6 py-3 rounded-full font-medium flex items-center justify-center">
<i class="fas fa-bolt mr-2"></i> Importera recept nu
</button>
<button class="bg-black bg-opacity-20 hover:bg-opacity-30 px-6 py-3 rounded-full font-medium border border-white border-opacity-30 flex items-center justify-center">
<i class="fas fa-play-circle mr-2"></i> Se demo
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative w-full max-w-md">
<div class="absolute -top-6 -left-6 w-32 h-32 bg-yellow-300 rounded-full mix-blend-multiply filter blur-xl opacity-70"></div>
<div class="absolute -bottom-8 -right-8 w-32 h-32 bg-pink-300 rounded-full mix-blend-multiply filter blur-xl opacity-70"></div>
<div class="relative bg-white rounded-2xl shadow-xl overflow-hidden">
<div class="p-4 bg-gray-100 border-b">
<div class="flex space-x-1">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
</div>
<div class="p-4">
<img src="https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Recipe example" class="rounded-lg mb-3 w-full">
<div class="flex justify-between items-center mb-2">
<h3 class="font-bold text-lg">Krämig vegan pastasås</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="text-gray-700 ml-1">4.8</span>
</div>
</div>
<div class="flex flex-wrap gap-2 mb-3">
<span class="text-xs bg-gray-200 px-2 py-1 rounded-full">Vegan</span>
<span class="text-xs bg-gray-200 px-2 py-1 rounded-full">Snabbt</span>
<span class="text-xs bg-gray-200 px-2 py-1 rounded-full">Pasta</span>
</div>
<div class="flex justify-between text-sm text-gray-600">
<span><i class="fas fa-clock mr-1"></i> 25 min</span>
<span><i class="fas fa-utensils mr-1"></i> 4 portioner</span>
<span><i class="fas fa-fire mr-1"></i> 320 kcal</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Video Import Section -->
<div class="py-16 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="playfair text-3xl font-bold mb-4">Importera recept från var som helst</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Klistra in en länk från Youtube, TikTok, eller en matblogg så extraherar vår AI receptet åt dig</p>
</div>
<div class="bg-white rounded-2xl shadow-md p-6 max-w-3xl mx-auto">
<div class="flex items-center mb-4">
<div class="flex space-x-2">
<button class="px-4 py-2 rounded-lg bg-pink-100 text-pink-600 font-medium"><i class="fab fa-youtube mr-2"></i> YouTube</button>
<button class="px-4 py-2 rounded-lg bg-gray-100 text-gray-700 font-medium"><i class="fab fa-tiktok mr-2"></i> TikTok</button>
<button class="px-4 py-2 rounded-lg bg-gray-100 text-gray-700 font-medium"><i class="fas fa-globe mr-2"></i> Webb</button>
</div>
</div>
<div class="relative">
<input type="text" placeholder="Klistra in länk här..." class="w-full pl-12 pr-4 py-4 rounded-xl border border-gray-300 focus:outline-none focus:ring-2 focus:ring-pink-400 focus:border-transparent">
<i class="fas fa-link absolute left-4 top-5 text-gray-400"></i>
<button class="absolute right-2 top-2 bg-pink-500 hover:bg-pink-600 text-white px-6 py-2 rounded-lg font-medium transition duration-300">
<i class="fas fa-magic mr-2"></i> Skapa recept
</button>
</div>
<div class="mt-6 grid grid-cols-3 gap-4">
<div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center cursor-pointer hover:border-pink-400 transition">
<i class="fas fa-video text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-600">YouTube video</p>
</div>
<div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center cursor-pointer hover:border-pink-400 transition">
<i class="fas fa-mobile-alt text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-600">TikTok video</p>
</div>
<div class="border-2 border-dashed border-gray-300 rounded-lg p-4 text-center cursor-pointer hover:border-pink-400 transition">
<i class="fas fa-newspaper text-2xl text-gray-400 mb-2"></i>
<p class="text-sm text-gray-600">Blogginlägg</p>
</div>
</div>
</div>
</div>
</div>
<!-- Featured Recipes -->
<div class="py-16">
<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="playfair text-3xl font-bold">Populära recept just nu</h2>
<a href="#" class="text-pink-600 hover:text-pink-700 font-medium">Visa alla <i class="fas fa-chevron-right ml-1"></i></a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Recipe Card 1 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Avocado Toast" class="w-full h-48 object-cover">
<button class="absolute top-3 right-3 bg-white p-2 rounded-full text-pink-500 hover:text-pink-700">
<i class="far fa-heart"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-1">
<span class="nutri-badge px-2 py-1 rounded-full text-xs font-medium">430 kcal</span>
<span class="nutri-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">Avocadotoast med ägg</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="text-gray-700 ml-1">4.7</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-3">Krämig avocado på rostat bröd med perfekt kokt ägg och chiliflakes.</p>
<div class="flex justify-between text-sm text-gray-500">
<span><i class="far fa-clock mr-1"></i> 10 min</span>
<span>Av <a href="#" class="text-pink-600 hover:underline">LisaKocken</a></span>
</div>
</div>
</div>
<!-- Recipe Card 2 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1518779578993-ec3579fee39f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Pancakes" class="w-full h-48 object-cover">
<button class="absolute top-3 right-3 bg-white p-2 rounded-full text-pink-500 hover:text-pink-700">
<i class="fas fa-heart"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-1">
<span class="nutri-badge px-2 py-1 rounded-full text-xs font-medium">320 kcal</span>
<span class="nutri-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">Amerikanska pannkakor</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="text-gray-700 ml-1">4.9</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-3">Fluffiga pannkakor med lönnsirap och färska bär - perfekt helgfrukost!</p>
<div class="flex justify-between text-sm text-gray-500">
<span><i class="far fa-clock mr-1"></i> 20 min</span>
<span>Av <a href="#" class="text-pink-600 hover:underline">MatsResor</a></span>
</div>
</div>
</div>
<!-- Recipe Card 3 -->
<div class="recipe-card bg-white rounded-xl overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1601050690597-df0568f70950?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Buddha Bowl" class="w-full h-48 object-cover">
<button class="absolute top-3 right-3 bg-white p-2 rounded-full text-pink-500 hover:text-pink-700">
<i class="far fa-heart"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-1">
<span class="nutri-badge px-2 py-1 rounded-full text-xs font-medium">380 kcal</span>
<span class="nutri-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">Vegetarisk Buddha Bowl</h3>
<div class="flex items-center text-yellow-400">
<i class="fas fa-star"></i>
<span class="text-gray-700 ml-1">4.5</span>
</div>
</div>
<p class="text-gray-600 text-sm mb-3">Färgglad skål med quinoa, sötpotatis, avokado och tahinisås.</p>
<div class="flex justify-between text-sm text-gray-500">
<span><i class="far fa-clock mr-1"></i> 35 min</span>
<span>Av <a href="#" class="text-pink-600 hover:underline">GreenEats</a></span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Collections Section -->
<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="playfair text-3xl font-bold">Trendande kollektioner</h2>
<a href="#" class="text-pink-600 hover:text-pink-700 font-medium">Visa alla <i class="fas fa-chevron-right ml-1"></i></a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Collection 1 -->
<div class="collection-card bg-white rounded-xl overflow-hidden shadow-md">
<img src="https://images.unsplash.com/photo-1547592180-85f173990554?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Vegan Recipes" class="w-full h-48 object-cover">
<div class="collection-overlay">
<h3 class="text-white font-bold text-lg mb-1">Veganska favoriter</h3>
<p class="text-white text-opacity-80 text-sm">32 recept • 1.2k följare</p>
</div>
<div class="p-4">
<div class="flex justify-between items-center">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/32.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/22.jpg" alt="User">
</div>
<button class="text-xs bg-pink-100 text-pink-600 px-3 py-1 rounded-full font-medium">
Följ
</button>
</div>
</div>
</div>
<!-- Collection 2 -->
<div class="collection-card bg-white rounded-xl overflow-hidden shadow-md">
<img src="https://images.unsplash.com/photo-1473093295043-cdd812d0e601?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Pasta Recipes" class="w-full h-48 object-cover">
<div class="collection-overlay">
<h3 class="text-white font-bold text-lg mb-1">Pastaparadis</h3>
<p class="text-white text-opacity-80 text-sm">28 recept • 845 följare</p>
</div>
<div class="p-4">
<div class="flex justify-between items-center">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/41.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/63.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/12.jpg" alt="User">
</div>
<button class="text-xs bg-gray-100 text-gray-600 px-3 py-1 rounded-full font-medium">
Följer
</button>
</div>
</div>
</div>
<!-- Collection 3 -->
<div class="collection-card bg-white rounded-xl overflow-hidden shadow-md">
<img src="https://images.unsplash.com/photo-1490645935967-10de6ba17061?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Quick Meals" class="w-full h-48 object-cover">
<div class="collection-overlay">
<h3 class="text-white font-bold text-lg mb-1">Snabbmiddagar</h3>
<p class="text-white text-opacity-80 text-sm">45 recept • 2.1k följare</p>
</div>
<div class="p-4">
<div class="flex justify-between items-center">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/28.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/36.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/19.jpg" alt="User">
</div>
<button class="text-xs bg-pink-100 text-pink-600 px-3 py-1 rounded-full font-medium">
Följ
</button>
</div>
</div>
</div>
<!-- Collection 4 -->
<div class="collection-card bg-white rounded-xl overflow-hidden shadow-md">
<img src="https://images.unsplash.com/photo-1551504734-5ee1c4a1479b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Desserts" class="w-full h-48 object-cover">
<div class="collection-overlay">
<h3 class="text-white font-bold text-lg mb-1">Söta frestelser</h3>
<p class="text-white text-opacity-80 text-sm">36 recept • 1.8k följare</p>
</div>
<div class="p-4">
<div class="flex justify-between items-center">
<div class="flex -space-x-2">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/76.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/women/53.jpg" alt="User">
<img class="w-8 h-8 rounded-full border-2 border-white" src="https://randomuser.me/api/portraits/men/65.jpg" alt="User">
</div>
<button class="text-xs bg-pink-100 text-pink-600 px-3 py-1 rounded-full font-medium">
Följ
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- AI Features Section -->
<div class="py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="playfair text-3xl font-bold mb-4">Smart matlagning med AI</h2>
<p class="text-gray-600 max-w-2xl mx-auto">Vår avancerade AI hjälper dig att skapa, anpassa och förbättra recept</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="w-12 h-12 bg-pink-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-robot text-pink-500 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-3">Reptextrahering</h3>
<p class="text-gray-600 mb-4">Klistra in en länk från valfri video eller webbplats så extraherar vår AI receptet automatiskt.</p>
<button class="text-pink-600 font-medium flex items-center text-sm">
Prova nu <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-calculator text-blue-500 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-3">Näringsberäkningar</h3>
<p class="text-gray-600 mb-4">Få fullständig näringsinformation automatiskt genererad för alla dina recept.</p>
<button class="text-pink-600 font-medium flex items-center text-sm">
Läs mer <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-white p-6 rounded-xl shadow-md">
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-lightbulb text-purple-500 text-xl"></i>
</div>
<h3 class="font-bold text-xl mb-3">Anpassningsförslag</h3>
<p class="text-gray-600 mb-4">Få AI-genererade förslag på hur du kan anpassa recept efter dina preferenser.</p>
<button class="text-pink-600 font-medium flex items-center text-sm">
Testa <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
</div>
</div>
<!-- CTA Section -->
<div class="gradient-bg text-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="playfair text-3xl md:text-4xl font-bold mb-4">Redo att transformera din matupplevelse?</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Bli en del av FlavorFusion-communityt och upptäck ett nytt sätt att samla, skapa och dela recept.</p>
<div class="flex flex-col sm:flex-row justify-center space-y-3 sm:space-y-0 sm:space-x-4">
<button class="bg-white text-pink-600 hover:bg-gray-100 px-8 py-3 rounded-full font-medium">
Skapa konto gratis
</button>
<button class="bg-black bg-opacity-20 hover:bg-opacity-30 px-8 py-3 rounded-full font-medium border border-white border-opacity-30">
Läs mer om funktioner
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white pt-16 pb-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-8">
<div>
<h3 class="text-lg font-semibold mb-4">FlavorFusion</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Om oss</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Jobba hos oss</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Press</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Upptäck</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Populära recept</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Nyaste kollektioner</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Kategorier</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Community</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Blogg</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Forum</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Händelser</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Kontakt</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Hjälpcenter</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Support</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Feedback</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<span class="playfair text-2xl font-bold text-pink-500">FlavorFusion</span>
</div>
<div class="flex space-x-6 mb-4 md:mb-0">
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-pinterest-p"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube"></i></a>
</div>
<div class="text-sm text-gray-500">
&copy; 2023 FlavorFusion. Alla rättigheter reserverade.
</div>
</div>
</div>
</footer>
<!-- Video Preview Modal -->
<div id="videoPreview" class="hidden">
<div class="bg-white rounded-lg w-full max-w-4xl max-h-[90vh] overflow-hidden">
<div class="relative">
<button id="closePreview" class="absolute top-4 right-4 bg-black bg-opacity-50 text-white p-2 rounded-full z-10">
<i class="fas fa-times"></i>
</button>
<div class="aspect-w-16 aspect-h-9">
<iframe id="videoFrame" class="w-full h-[500px]" src="" frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2" id="videoTitle">Laddar...</h3>
<p class="text-gray-600 mb-4" id="videoDesc"></p>
<button id="importVideo" class="bg-pink-500 hover:bg-pink-600 text-white px-6 py-2 rounded-lg font-medium">
<i class="fas fa-magic mr-2"></i> Extrahera recept
</button>
</div>
</div>
</div>
<script>
// Simple demo functionality
document.addEventListener('DOMContentLoaded', function() {
// Video import demo
const videoCards = document.querySelectorAll('[class*="fa-video"], [class*="fa-mobile-alt"], [class*="fa-newspaper"]');
const videoPreview = document.getElementById('videoPreview');
const closePreview = document.getElementById('closePreview');
const importVideoBtn = document.getElementById('importVideo');
videoCards.forEach(card => {
card.addEventListener('click', function() {
const type = this.classList.contains('fa-video') ? 'YouTube' :
this.classList.contains('fa-mobile-alt') ? 'TikTok' : 'Blogg';
document.getElementById('videoTitle').textContent = `Recept från ${type}`;
document.getElementById('videoDesc').textContent = `Vår AI analyserar nu ${type}-innehållet för att extrahera receptinformation...`;
// Demo video URLs for different types
let videoUrl = '';
if (type === 'YouTube') {
videoUrl = 'https://www.youtube.com/embed/oHg5SJYRHA0?autoplay=1';
} else if (type === 'TikTok') {
videoUrl = 'https://www.tiktok.com/embed/v2/12345';
}
if (videoUrl) {
document.getElementById('videoFrame').src = videoUrl;
}
videoPreview.style.display = 'flex';
});
});
closePreview.addEventListener('click', function() {
videoPreview.style.display = 'none';
document.getElementById('videoFrame').src = '';
});
importVideoBtn.addEventListener('click', function() {
alert('Receptet extraheras nu! Vi analyserar videon och presenterar resultatet om några sekunder.');
videoPreview.style.display = 'none';
document.getElementById('videoFrame').src = '';
});
// Like buttons
const likeButtons = document.querySelectorAll('[class*="fa-heart"]');
likeButtons.forEach(button => {
button.addEventListener('click', function() {
if (this.classList.contains('far')) {
this.classList.remove('far');
this.classList.add('fas', 'text-pink-500');
} else {
this.classList.remove('fas', 'text-pink-500');
this.classList.add('far');
}
});
});
// Follow buttons
const followButtons = document.querySelectorAll('[class*="Följ"]');
followButtons.forEach(button => {
button.addEventListener('click', function() {
if (this.textContent.trim() === 'Följ') {
this.textContent = 'Följer';
this.classList.remove('bg-pink-100', 'text-pink-600');
this.classList.add('bg-gray-100', 'text-gray-600');
} else {
this.textContent = 'Följ';
this.classList.remove('bg-gray-100', 'text-gray-600');
this.classList.add('bg-pink-100', 'text-pink-600');
}
});
});
});
</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=holyredbeard/p" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>