Koktél kereső

This commit is contained in:
Kovács Rudolf committed 2026-11-19 10:02:28 +01:00
1 parent 60ba721b85
commit bdac48678b
25 files changed
+4087

No files matched your search

+127
View File
@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html lang="hu">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CocktailJoy - Keresés összetevő szerint</title>
</head>
<body class="bg-gradient-to-br from-orange-50 to-yellow-50 min-h-screen font-sans">
<!-- Menü beillesztése -->
<div id="menu-container">
<!-- Menu.html tartalma -->
<nav class="bg-orange-500 text-white shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16 items-center">
<div class="flex-shrink-0 flex items-center">
<span class="text-2xl font-bold tracking-wider text-yellow-200">🍹 CocktailJoy</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="Main.html" class="text-white hover:text-yellow-300 transition-colors duration-300 font-medium">Főoldal</a>
<a href="Searchname.html" class="text-white hover:text-yellow-300 transition-colors duration-300 font-medium">Keresés név szerint</a>
<a href="Searchingredients.html" class="text-white hover:text-yellow-300 transition-colors duration-300 font-medium">Keresés összetevő szerint</a>
</div>
<div class="md:hidden">
<button class="text-white hover:text-yellow-300">
<svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
</div>
</nav>
</div>
<!-- Kereső oldal tartalma -->
<main class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<!-- Fejléc -->
<div class="text-center mb-12">
<h1 class="text-4xl font-extrabold text-orange-900 mb-4">
Keresés összetevő szerint 🍹
</h1>
<p class="text-lg text-gray-700">
Válaszd ki az összetevőket, és találd meg az összes megfelelő koktélot!
</p>
</div>
<!-- Kereső űrlap -->
<div class="bg-white rounded-2xl shadow-xl p-8 mb-12 max-w-2xl mx-auto">
<form action="#" method="GET" class="space-y-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Keresett összetevők</label>
<div class="flex flex-wrap gap-3 mb-4">
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-orange-100 text-orange-800">
Rum
</span>
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-orange-100 text-orange-800">
Tequila
</span>
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-orange-100 text-orange-800">
Vodka
</span>
<span class="inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-orange-100 text-orange-800">
Gin
</span>
</div>
<input type="text" name="ingredients" placeholder="Írj be összetevőket (pl. rum, narancs, menta)..."
class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500 transition-all"
id="ingredients-input">
</div>
<!-- Keresési opciók -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="flex items-center">
<input type="checkbox" checked class="h-4 w-4 text-orange-600 border-gray-300 rounded focus:ring-orange-500">
<span class="ml-2 text-sm font-medium text-gray-700">Minden összetevőt tartalmaz</span>
</label>
</div>
<div>
<label class="flex items-center">
<input type="checkbox" class="h-4 w-4 text-orange-600 border-gray-300 rounded focus:ring-orange-500">
<span class="ml-2 text-sm font-medium text-gray-700">Legalább egyet tartalmaz</span>
</label>
</div>
</div>
<div class="flex space-x-4">
<button type="submit" class="flex-1 bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-4 rounded-lg transition-colors duration-300 shadow-md">
Keresés
</button>
<button type="button" class="flex-1 bg-white border border-orange-300 hover:bg-orange-50 text-orange-700 font-bold py-3 px-4 rounded-lg transition-colors duration-300">
Törlés
</button>
</div>
</form>
</div>
<!-- Keresési eredmények (helyholder - a React alkalmazás fogja kitölteni) -->
<div id="search-results" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Ezt a React fogja kitölteni a Card komponenssel -->
<p class="col-span-full text-center text-gray-500 py-12 text-lg">
Írj be összetevőket a keresőbe, hogy megjelenjenek az eredmények!
</p>
</div>
<!-- Visszatérés a főoldalra -->
<div class="mt-16 text-center">
<a href="Main.html" class="inline-flex items-center justify-center bg-orange-100 hover:bg-orange-200 text-orange-800 font-bold py-3 px-6 rounded-lg transition-colors duration-300">
<svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
</svg>
Vissza a főoldalra
</a>
</div>
</main>
<!-- Lábjegyzet -->
<footer class="bg-orange-900 text-yellow-100 py-8 mt-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<p class="text-sm">&copy; 2026 CocktailJoy - 🍹</p>
</div>
</footer>
</html>