extend design

This commit is contained in:
Norbert Maciaszek
2025-12-27 00:19:14 +01:00
parent 0357cf2eb7
commit b18f0d8c1c
15 changed files with 1567 additions and 665 deletions

241
global-holidays.html Normal file
View File

@@ -0,0 +1,241 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Globalne Święta - 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>
</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 text-white">
<i data-lucide="gift"></i>
</div>
<h1 class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-indigo-600 to-purple-600">Gift Planner</h1>
</div>
<nav class="flex-1 px-4 py-4 space-y-2">
<a href="dashboard.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="layout-dashboard"></i> Dashboard
</a>
<a href="updates.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="bell"></i> Aktualizacje
</a>
<a href="global-holidays.html" class="flex items-center gap-3 px-4 py-3 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="globe"></i> Święta
</a>
<a href="inspirations.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="sparkles"></i> Inspiracje
</a>
<a href="blog.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="book-open"></i> Poradniki
</a>
<a href="occasions.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="calendar"></i> Okazje
</a>
<a href="persons.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="users"></i> Osoby
</a>
<a href="budget.html" class="flex items-center gap-3 px-4 py-3 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<i data-lucide="wallet"></i> Budżet
</a>
</nav>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<header class="mb-10">
<h2 class="text-3xl font-black text-gray-900 leading-tight">Kalendarz Okazji</h2>
<p class="text-gray-500 font-medium">Globalne święta i okazje, które warto zaplanować. Dodaj je do swoich planów jednym kliknięciem.</p>
</header>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Holiday Card: Dzień Kobiet -->
<div class="bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl transition-all group">
<div class="h-40 bg-gradient-to-br from-pink-500 to-rose-400 relative p-8 flex flex-col justify-end">
<div class="absolute top-4 right-4 bg-white/20 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-white">8 Marca</div>
<h3 class="text-white text-2xl font-black">Dzień Kobiet</h3>
</div>
<div class="p-6">
<p class="text-sm text-gray-500 mb-6 font-medium leading-relaxed">Międzynarodowe święto kobiet. Idealny czas na kwiaty, drobne upominki lub wspólne wyjście.</p>
<div class="flex gap-3">
<button onclick="openModal('modal-new-occasion')" class="flex-1 bg-indigo-600 text-white py-3 rounded-2xl font-bold text-xs shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">
Użyj jako szablon
</button>
<button class="p-3 bg-gray-50 text-gray-400 rounded-2xl hover:text-indigo-600 transition-colors">
<i data-lucide="info" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Holiday Card: Dzień Matki -->
<div class="bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl transition-all group">
<div class="h-40 bg-gradient-to-br from-indigo-500 to-purple-400 relative p-8 flex flex-col justify-end">
<div class="absolute top-4 right-4 bg-white/20 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-white">26 Maja</div>
<h3 class="text-white text-2xl font-black">Dzień Matki</h3>
</div>
<div class="p-6">
<p class="text-sm text-gray-500 mb-6 font-medium leading-relaxed">Wyjątkowa okazja, by podziękować mamom. Najczęściej wybierane: biżuteria, kosmetyki, przeżycia.</p>
<div class="flex gap-3">
<button onclick="openModal('modal-new-occasion')" class="flex-1 bg-indigo-600 text-white py-3 rounded-2xl font-bold text-xs shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">
Użyj jako szablon
</button>
<button class="p-3 bg-gray-50 text-gray-400 rounded-2xl hover:text-indigo-600 transition-colors">
<i data-lucide="info" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Holiday Card: Dzień Dziecka -->
<div class="bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl transition-all group">
<div class="h-40 bg-gradient-to-br from-yellow-400 to-orange-400 relative p-8 flex flex-col justify-end">
<div class="absolute top-4 right-4 bg-white/20 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-white">1 Czerwca</div>
<h3 class="text-white text-2xl font-black">Dzień Dziecka</h3>
</div>
<div class="p-6">
<p class="text-sm text-gray-500 mb-6 font-medium leading-relaxed">Radość dla najmłodszych. Warto zaplanować prezenty z wyprzedzeniem ze względu na duży popyt.</p>
<div class="flex gap-3">
<button onclick="openModal('modal-new-occasion')" class="flex-1 bg-indigo-600 text-white py-3 rounded-2xl font-bold text-xs shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">
Użyj jako szablon
</button>
<button class="p-3 bg-gray-50 text-gray-400 rounded-2xl hover:text-indigo-600 transition-colors">
<i data-lucide="info" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Holiday Card: Dzień Ojca -->
<div class="bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl transition-all group">
<div class="h-40 bg-gradient-to-br from-blue-600 to-indigo-500 relative p-8 flex flex-col justify-end">
<div class="absolute top-4 right-4 bg-white/20 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-white">23 Czerwca</div>
<h3 class="text-white text-2xl font-black">Dzień Ojca</h3>
</div>
<div class="p-6">
<p class="text-sm text-gray-500 mb-6 font-medium leading-relaxed">Czas dla taty. Akcesoria do hobby, narzędzia lub dobra książka to zawsze trafiony wybór.</p>
<div class="flex gap-3">
<button onclick="openModal('modal-new-occasion')" class="flex-1 bg-indigo-600 text-white py-3 rounded-2xl font-bold text-xs shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">
Użyj jako szablon
</button>
<button class="p-3 bg-gray-50 text-gray-400 rounded-2xl hover:text-indigo-600 transition-colors">
<i data-lucide="info" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
<!-- Holiday Card: Boże Narodzenie -->
<div class="bg-white rounded-[2.5rem] overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl transition-all group">
<div class="h-40 bg-gradient-to-br from-red-600 to-green-600 relative p-8 flex flex-col justify-end">
<div class="absolute top-4 right-4 bg-white/20 backdrop-blur-md px-3 py-1 rounded-full text-[10px] font-black uppercase text-white">24 Grudnia</div>
<h3 class="text-white text-2xl font-black">Boże Narodzenie</h3>
</div>
<div class="p-6">
<p class="text-sm text-gray-500 mb-6 font-medium leading-relaxed">Największa okazja prezentowa w roku. Wymaga wczesnego planowania i zarządzania dużym budżetem.</p>
<div class="flex gap-3">
<button onclick="openModal('modal-new-occasion')" class="flex-1 bg-indigo-600 text-white py-3 rounded-2xl font-bold text-xs shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">
Użyj jako szablon
</button>
<button class="p-3 bg-gray-50 text-gray-400 rounded-2xl hover:text-indigo-600 transition-colors">
<i data-lucide="info" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Reminder Banner -->
<section class="mt-12 bg-indigo-900 rounded-[3rem] p-10 text-white relative overflow-hidden shadow-2xl">
<div class="relative z-10 flex flex-col md:flex-row items-center gap-8">
<div class="w-16 h-16 bg-white/10 backdrop-blur-xl rounded-[1.5rem] flex items-center justify-center text-indigo-300 shrink-0">
<i data-lucide="bell-ring" class="w-8 h-8"></i>
</div>
<div>
<h4 class="text-xl font-black mb-2">Pamiętaj o ważnych datach!</h4>
<p class="text-indigo-200 text-sm max-w-lg leading-relaxed">Nasza sztuczna inteligencja śledzi nadchodzące okazje i powiadomi Cię z odpowiednim wyprzedzeniem, abyś zawsze miał czas na wybór idealnego prezentu.</p>
</div>
<div class="md:ml-auto">
<button class="bg-white text-indigo-900 px-8 py-4 rounded-2xl font-black text-sm shadow-xl hover:bg-indigo-50 transition-all whitespace-nowrap">
Zarządzaj Alertami
</button>
</div>
</div>
<div class="absolute -right-20 -bottom-20 w-80 h-80 bg-white/5 rounded-full blur-3xl text-white"></div>
</section>
</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="updates.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Status</span>
</a>
<a href="inspirations.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="sparkles" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Pomysły</span>
</a>
<a href="blog.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="book-open" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Blog</span>
</a>
<a href="settings.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="settings" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Opcje</span>
</a>
</nav>
<!-- Modal: Nowa Okazja (from template) -->
<div id="modal-new-occasion" 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">Użyj Szablonu</h3>
<button onclick="closeModal('modal-new-occasion')" 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">Nazwa Twojej Okazji</label>
<input type="text" value="Dzień Matki 2026" class="form-input" required>
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Data</label>
<input type="date" value="2026-05-26" class="form-input" required>
</div>
<div>
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Twój Budżet (PLN)</label>
<input type="number" placeholder="500.00" class="form-input">
</div>
</div>
<div class="p-4 bg-indigo-50 rounded-2xl border border-indigo-100">
<div class="flex items-center gap-3 mb-2">
<i data-lucide="sparkles" class="w-4 h-4 text-indigo-600"></i>
<p class="text-[10px] font-black text-indigo-900 uppercase tracking-widest leading-none">Wsparcie AI</p>
</div>
<p class="text-xs text-indigo-600/80">Dodamy tę okazję do Twoich planów i automatycznie przygotujemy pierwsze propozycje prezentów.</p>
</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">
Stwórz mój plan
</button>
</form>
</div>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>