Files
ai-gift-planner-mockup/inspirations.html
Norbert Maciaszek cb459990a2 update ui sidebar
2025-12-28 23:05:41 +01:00

315 lines
21 KiB
HTML

<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inspiracje - Gift Planner</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://unpkg.com/lucide@latest"></script>
<script src="main.js" defer></script>
<style>
.masonry-item {
break-inside: avoid;
margin-bottom: 2rem;
}
.glass-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.reveal-overlay {
opacity: 0;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .reveal-overlay {
opacity: 1;
}
/* Custom scrollbar for better aesthetics */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #e2e8f0;
border-radius: 10px;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200 hidden lg:flex flex-col">
<div class="p-6 flex items-center gap-3">
<div class="w-10 h-10 gradient-bg rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="gift" class="text-white w-6 h-6"></i>
</div>
<span class="text-xl font-black tracking-tighter">GIFT<span class="text-indigo-600">PLANNER</span></span>
</div>
<nav class="flex-1 px-4 py-4 space-y-1">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-600 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="layout-dashboard" class="w-5 h-5"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="bell" class="w-5 h-5"></i> Powiadomienia
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="calendar" class="w-5 h-5"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="users" class="w-5 h-5"></i> Osoby
</a>
<a href="notes.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="pen-tool" class="w-5 h-5"></i> Notatki
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">AI Assistant</span>
</div>
<a href="search.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="sparkles" class="w-5 h-5"></i> Wyszukiwarka
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="image" class="w-5 h-5"></i> Inspiracje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm">
<i data-lucide="globe" class="w-5 h-5"></i> Święta
</a>
<div class="pt-4 pb-2 px-4">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-[0.2em]">Wiedza & Finanse</span>
</div>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="book-open" class="w-5 h-5"></i> Poradniki
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-500 hover:bg-indigo-50 rounded-2xl transition-all font-bold text-sm group">
<i data-lucide="wallet" class="w-5 h-5"></i> Budżet
</a>
</nav>
<div class="mt-auto p-6">
<a href="/settings.html">
<div class="bg-gray-50 rounded-3xl p-4">
<div class="flex items-center gap-3">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-bold text-xs">A</div>
<div class="flex flex-col">
<span class="text-xs font-bold">Adam Kowalski</span>
<div class="flex items-center gap-1">
<i data-lucide="zap" class="w-2.5 h-2.5 text-yellow-500 fill-yellow-500"></i>
<p class="text-[10px] font-bold text-gray-500 uppercase">120 Tokenów</p>
</div>
</div>
</div>
</div>
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 custom-scrollbar">
<header class="mb-10 flex flex-col md:flex-row md:items-end justify-between gap-6">
<div>
<h2 class="text-4xl font-black text-gray-900 leading-tight">Inspiracje</h2>
<p class="text-gray-500 font-medium">Odkryj najlepsze propozycje na nadchodzące wydarzenia.</p>
</div>
<div class="flex gap-3 bg-white p-2 rounded-2xl shadow-sm border border-gray-100">
<button class="px-6 py-2.5 bg-gray-900 text-white text-[10px] font-black rounded-xl uppercase tracking-widest shadow-lg shadow-gray-200">Wszystkie</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Boże Narodzenie</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Walentynki</button>
<button class="px-6 py-2.5 text-gray-400 hover:text-gray-900 transition-colors text-[10px] font-black rounded-xl uppercase tracking-widest">Urodziny</button>
</div>
</header>
<!-- Pinterest Style Masonry Grid -->
<div class="columns-1 md:columns-2 lg:columns-3 xl:columns-4 gap-8">
<!-- Masonry Item 1 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1544244015-0df4b3ffc6b0?q=80&w=600&auto=format&fit=crop" class="w-full h-[450px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-indigo-600 uppercase tracking-widest mb-1 leading-none">Technologia</p>
<h4 class="text-xl font-black mb-2">iPad Air 11" M2</h4>
<p class="text-xs text-gray-500 font-medium mb-4 leading-relaxed">Idealny do szkicowania i nauki.</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black">2 999 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 2 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1596460107916-430662021049?q=80&w=600&auto=format&fit=crop" class="w-full h-[320px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-orange-600 uppercase tracking-widest mb-1 leading-none">Kolekcje</p>
<h4 class="text-xl font-black mb-2">LEGO Botanicals</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">349 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<div class="absolute top-4 left-4 glass-card px-3 py-1 rounded-full text-[10px] font-black text-orange-600 uppercase">Hit Sezonu</div>
</div>
<!-- Masonry Item 3 (Small) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1540555700478-4be289aef09a?q=80&w=600&auto=format&fit=crop" class="w-full h-[280px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-pink-600 uppercase tracking-widest mb-1 leading-none">Wellness</p>
<h4 class="text-xl font-black mb-2">Pranamat Eco</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">620 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 4 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1591337676887-a217a6970a8a?q=80&w=600&auto=format&fit=crop" class="w-full h-[400px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-emerald-600 uppercase tracking-widest mb-1 leading-none">Dom & Ogród</p>
<h4 class="text-xl font-black mb-2">Click & Grow</h4>
<p class="text-xs text-gray-500 font-medium mb-4 leading-relaxed">Twoja domowa dżungla.</p>
<div class="flex items-center justify-between">
<span class="text-lg font-black">459 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 5 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1550517355-38f1fdb24227?q=80&w=600&auto=format&fit=crop" class="w-full h-[350px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-purple-600 uppercase tracking-widest mb-1 leading-none">Uroda</p>
<h4 class="text-xl font-black mb-2">Jo Malone Set</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">429 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Masonry Item 6 (Large) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-indigo-600 shadow-xl shadow-indigo-100 p-8 flex flex-col justify-center items-center text-center text-white min-h-[400px]">
<i data-lucide="sparkles" class="w-16 h-16 mb-6 text-indigo-300 animate-pulse"></i>
<h4 class="text-2xl font-black mb-4 leading-tight">Potrzebujesz czegoś unikalnego?</h4>
<p class="text-sm font-medium text-indigo-100 mb-8 leading-relaxed">Nasze AI może wygenerować personalne inspiracje na podstawie Twojej rozmowy.</p>
<a href="search.html" class="px-8 py-4 bg-white text-indigo-600 rounded-2xl font-black text-sm shadow-xl hover:scale-105 transition-transform">WYPRÓBUJ WYSZUKIWARKĘ</a>
</div>
<!-- Masonry Item 7 (Medium) -->
<div class="masonry-item group relative overflow-hidden rounded-[2.5rem] bg-white shadow-sm hover:shadow-2xl transition-all duration-500">
<img src="https://images.unsplash.com/photo-1593305841991-05c297ba4575?q=80&w=600&auto=format&fit=crop" class="w-full h-[320px] object-cover group-hover:scale-105 transition-transform duration-700">
<div class="absolute inset-0 reveal-overlay bg-gradient-to-t from-black/80 via-black/20 to-transparent flex flex-col justify-end p-8 text-white">
<div class="glass-card p-6 rounded-[2rem] text-gray-900">
<p class="text-[9px] font-bold text-indigo-600 uppercase tracking-widest mb-1 leading-none">Gaming</p>
<h4 class="text-xl font-black mb-2">PS5 Slim</h4>
<div class="flex items-center justify-between">
<span class="text-lg font-black">2 249 PLN</span>
<button onclick="openModal('modal-add-to-plans')" class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg hover:bg-indigo-700 transition-colors">
<i data-lucide="plus" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Floating Budget Filters -->
<div class="fixed bottom-10 left-1/2 -translate-x-1/2 z-40 bg-white/80 backdrop-blur-xl border border-white/20 px-8 py-4 rounded-[3rem] shadow-2xl flex items-center gap-6 hidden lg:flex">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest border-r border-gray-100 pr-6 mr-1">Budżet:</span>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">Do 100 PLN</button>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">100 - 500 PLN</button>
<button class="px-5 py-2 hover:bg-indigo-50 rounded-2xl text-xs font-bold text-gray-600 hover:text-indigo-600 transition-all">Powyżej 500 PLN</button>
<div class="w-[1px] h-6 bg-gray-100 mx-2"></div>
<button class="w-10 h-10 bg-indigo-600 text-white rounded-xl flex items-center justify-center shadow-lg shadow-indigo-200">
<i data-lucide="sliders-horizontal" class="w-4 h-4"></i>
</button>
</div>
</main>
</div>
<!-- Mobile Navigation -->
<nav class="lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 p-2 flex justify-around items-center z-50">
<a href="dashboard.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="layout-dashboard" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Home</span>
</a>
<a href="search.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="search" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Szukaj</span>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-indigo-600">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
</nav>
<!-- Modal: Dodaj do Planów -->
<div id="modal-add-to-plans" class="modal-overlay">
<div class="modal-content">
<div class="flex items-center justify-between mb-8">
<h3 class="text-2xl font-black text-gray-900 leading-tight">Dodaj do swoich planów</h3>
<button onclick="closeModal('modal-add-to-plans')" class="p-2 hover:bg-gray-100 rounded-xl transition-colors">
<i data-lucide="x"></i>
</button>
</div>
<form class="space-y-6">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Kogo chcesz obdarować?</label>
<select class="form-input" required>
<option value="" disabled selected>Wybierz osobę...</option>
<option>Mama (Anna)</option>
<option>Tata (Piotr)</option>
<option>Siostra (Kasia)</option>
<option>+ Dodaj nową osobę</option>
</select>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Na jaką okazję?</label>
<select class="form-input" required>
<option value="" disabled selected>Wybierz okazję...</option>
<option>Urodziny (12 Marca)</option>
<option>Dzień Matki (24 Maja)</option>
<option>Boże Narodzenie 2025</option>
<option>+ Stwórz nową okazję</option>
</select>
</div>
<button type="submit" class="w-full gradient-bg text-white py-4 rounded-3xl font-black shadow-xl shadow-indigo-100 mt-4 flex items-center justify-center gap-2">
REZERWUJ W PLANACH
</button>
</form>
</div>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>