Koktél kereső
This commit is contained in:
1 parent
60ba721b85
commit
bdac48678b
25 files changed
+4087
No files matched your search
@@ -0,0 +1,48 @@
|
||||
|
||||
<div class="bg-white rounded-xl shadow-md overflow-hidden border border-orange-100 transform hover:scale-105 transition-transform duration-300">
|
||||
<!-- Kép helye -->
|
||||
<div class="h-48 bg-orange-200 flex items-center justify-center relative">
|
||||
<img src="" alt="" class="w-full h-full object-cover absolute inset-0" id="cocktail-image">
|
||||
<div class="absolute inset-0 bg-black opacity-20"></div>
|
||||
<span class="relative z-10 text-white font-bold text-lg px-3 py-1 bg-orange-600 rounded-full">
|
||||
Koktél
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- Tartalom -->
|
||||
<div class="p-6">
|
||||
<h3 class="text-2xl font-bold text-orange-800 mb-2" id="cocktail-name">Koktél neve</h3>
|
||||
<p class="text-gray-600 text-sm mb-4" id="cocktail-description">
|
||||
Leírás:
|
||||
</p>
|
||||
|
||||
<!-- Összetevők -->
|
||||
<div class="mb-4">
|
||||
<h4 class="text-sm font-semibold text-orange-700 uppercase tracking-wider mb-2">Összetevők</h4>
|
||||
<ul class="space-y-1" id="cocktail-ingredients">
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Tequila
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Narancslé
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Szörp
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Gombok -->
|
||||
<div class="flex space-x-3">
|
||||
<button class="flex-1 bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Készítés
|
||||
</button>
|
||||
<button class="flex-1 bg-white border border-orange-300 hover:bg-orange-50 text-orange-700 font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Kedvencek
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,225 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="hu">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>CocktailJoy - Főoldal</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>
|
||||
|
||||
<!-- Fő tartalom -->
|
||||
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
||||
<!-- Fejléc -->
|
||||
<div class="text-center mb-16">
|
||||
<h1 class="text-5xl font-extrabold text-orange-900 mb-4 tracking-tight">
|
||||
Ünnepelj a koktélozással! 🍹
|
||||
</h1>
|
||||
<p class="text-xl text-gray-700 max-w-2xl mx-auto">
|
||||
Találd meg a kedvenc koktélted, vagy próbáld ki az új receptjeinket.
|
||||
A koktélozás egy vidám dolog, és mi itt vagyunk, hogy segítsünk!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Kereső rész -->
|
||||
<div class="bg-white rounded-2xl shadow-xl p-8 mb-16 max-w-3xl mx-auto">
|
||||
<h2 class="text-2xl font-bold text-orange-800 mb-6 text-center">Keresés</h2>
|
||||
<form action="Searchname.html" method="GET" class="space-y-4">
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-gray-700 mb-1">Koktél neve</label>
|
||||
<input type="text" name="name" placeholder="Pl. Margarita, Mojito..."
|
||||
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">
|
||||
</div>
|
||||
<button type="submit" class="w-full 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 név szerint
|
||||
</button>
|
||||
</form>
|
||||
<div class="mt-6 text-center">
|
||||
<a href="Searchingredients.html" class="text-orange-600 hover:text-orange-800 font-medium transition-colors">
|
||||
Vagy keresés összetevő szerint?
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Népszerű koktélok (Card komponens példái) -->
|
||||
<div>
|
||||
<h2 class="text-3xl font-bold text-orange-900 mb-8 text-center">Népszerű koktélok</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
|
||||
<!-- Card 1: Margarita -->
|
||||
<div class="bg-white rounded-xl shadow-md overflow-hidden border border-orange-100 transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="h-48 bg-orange-200 flex items-center justify-center relative">
|
||||
<img src="https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&w=500&q=80" alt="Margarita" class="w-full h-full object-cover absolute inset-0">
|
||||
<div class="absolute inset-0 bg-black opacity-20"></div>
|
||||
<span class="relative z-10 text-white font-bold text-lg px-3 py-1 bg-orange-600 rounded-full">
|
||||
Koktél
|
||||
</span>
|
||||
</div>
|
||||
<div class="p-6">
|
||||
<h3 class="text-2xl font-bold text-orange-800 mb-2">Margarita</h3>
|
||||
<p class="text-gray-600 text-sm mb-4">
|
||||
Egy klasszikus mexikói koktél, amely tequilaból, narancsléből és citromléből készül.
|
||||
</p>
|
||||
<div class="mb-4">
|
||||
<h4 class="text-sm font-semibold text-orange-700 uppercase tracking-wider mb-2">Összetevők</h4>
|
||||
<ul class="space-y-1">
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Tequila
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Cointreau
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Citromlé
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex space-x-3">
|
||||
<button class="flex-1 bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Készítés
|
||||
</button>
|
||||
<button class="flex-1 bg-white border border-orange-300 hover:bg-orange-50 text-orange-700 font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Kedvencek
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Card 2: Mojito -->
|
||||
<div class="bg-white rounded-xl shadow-md overflow-hidden border border-orange-100 transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="h-48 bg-orange-200 flex items-center justify-center relative">
|
||||
<img src="https://images.unsplash.com/photo-1576675466969-38eeae4b41f6?auto=format&fit=crop&w=500&q=80" alt="Mojito" class="w-full h-full object-cover absolute inset-0">
|
||||
<div class="absolute inset-0 bg-black opacity-20"></div>
|
||||
<span class="relative z-10 text-white font-bold text-lg px-3 py-1 bg-orange-600 rounded-full">
|
||||
Koktél
|
||||
</span>
|
||||
</div>
|
||||
<div class="p-6">
|
||||
<h3 class="text-2xl font-bold text-orange-800 mb-2">Mojito</h3>
|
||||
<p class="text-gray-600 text-sm mb-4">
|
||||
Frissítő kubai koktél, amely rumot, mentát, cukrot, citromlevet és szódát tartalmaz.
|
||||
</p>
|
||||
<div class="mb-4">
|
||||
<h4 class="text-sm font-semibold text-orange-700 uppercase tracking-wider mb-2">Összetevők</h4>
|
||||
<ul class="space-y-1">
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Fehér rum
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Mentalevel
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Szóda
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex space-x-3">
|
||||
<button class="flex-1 bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Készítés
|
||||
</button>
|
||||
<button class="flex-1 bg-white border border-orange-300 hover:bg-orange-50 text-orange-700 font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Kedvencek
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Card 3: Piña Colada -->
|
||||
<div class="bg-white rounded-xl shadow-md overflow-hidden border border-orange-100 transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="h-48 bg-orange-200 flex items-center justify-center relative">
|
||||
<img src="https://images.unsplash.com/photo-1599974579868-4447ec03c3a4?auto=format&fit=crop&w=500&q=80" alt="Piña Colada" class="w-full h-full object-cover absolute inset-0">
|
||||
<div class="absolute inset-0 bg-black opacity-20"></div>
|
||||
<span class="relative z-10 text-white font-bold text-lg px-3 py-1 bg-orange-600 rounded-full">
|
||||
Koktél
|
||||
</span>
|
||||
</div>
|
||||
<div class="p-6">
|
||||
<h3 class="text-2xl font-bold text-orange-800 mb-2">Piña Colada</h3>
|
||||
<p class="text-gray-600 text-sm mb-4">
|
||||
Tropikus koktél, amely rumot, kókusztejet és ananászlevet tartalmaz.
|
||||
</p>
|
||||
<div class="mb-4">
|
||||
<h4 class="text-sm font-semibold text-orange-700 uppercase tracking-wider mb-2">Összetevők</h4>
|
||||
<ul class="space-y-1">
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Fehér rum
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Kókusztej
|
||||
</li>
|
||||
<li class="flex items-center text-gray-700 text-sm">
|
||||
<span class="w-2 h-2 bg-orange-400 rounded-full mr-2"></span>
|
||||
Ananászlé
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="flex space-x-3">
|
||||
<button class="flex-1 bg-orange-500 hover:bg-orange-600 text-white font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Készítés
|
||||
</button>
|
||||
<button class="flex-1 bg-white border border-orange-300 hover:bg-orange-50 text-orange-700 font-bold py-2 px-4 rounded-lg transition-colors duration-200">
|
||||
Kedvencek
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Hívás a tevékenységre -->
|
||||
<div class="mt-24 bg-orange-600 rounded-2xl p-12 text-center shadow-xl">
|
||||
<h2 class="text-4xl font-extrabold text-white mb-4">Kezdd el a koktélozást!</h2>
|
||||
<p class="text-xl text-yellow-100 mb-8 max-w-2xl mx-auto">
|
||||
Találd meg a tökéletes receptet, vagy hozz létre saját koktélted.
|
||||
A koktélozás egy vidám dolog, és minden alkalomra megfelelő!
|
||||
</p>
|
||||
<a href="Searchname.html" class="inline-block bg-white text-orange-600 hover:bg-yellow-50 font-bold py-4 px-8 rounded-full text-lg transition-all shadow-lg transform hover:-translate-y-1">
|
||||
Keresés most
|
||||
</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">© 2026 CocktailJoy - A koktélozás egy vidám dolog! 🍹</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a5cd7c46de4bf7ef',t:'MTc5NTA3MzE3Mw=='};var l=window.parent.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/jsd/main.js?ray=a5cd7c46de4bf7ef',a=document.createElement('script');a.src=o?new URL(u,o).href:u;document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
|
||||
</html>
|
||||
@@ -0,0 +1,23 @@
|
||||
|
||||
<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="" class="text-white hover:text-yellow-300 transition-colors duration-300 font-medium">Főoldal</a>
|
||||
<a href="" class="text-white hover:text-yellow-300 transition-colors duration-300 font-medium">Keresés név szerint</a>
|
||||
<a href="" 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>
|
||||
@@ -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">© 2026 CocktailJoy - 🍹</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,96 @@
|
||||
<!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 név 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 koktél név szerint 🍹
|
||||
</h1>
|
||||
<p class="text-lg text-gray-700">
|
||||
Írd be a koktél nevét, és találd meg a receptet!
|
||||
</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">Koktél neve</label>
|
||||
<input type="text" name="cocktail-name" placeholder="Pl. Margarita, Mojito, Piña Colada..."
|
||||
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="cocktail-name-input">
|
||||
</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 egy koktél nevet a keresőbe, hogy megjelenjen az eredmény!
|
||||
</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">© 2026 CocktailJoy 🍹</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user