add first mockup

This commit is contained in:
Norbert Maciaszek
2025-12-26 23:13:35 +01:00
parent 0be01758e3
commit 0357cf2eb7
19 changed files with 3599 additions and 0 deletions

167
updates.html Normal file
View File

@@ -0,0 +1,167 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aktualizacje - 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 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
<i data-lucide="bell"></i> Aktualizacje
<span class="ml-auto bg-red-500 text-white text-[10px] font-bold px-1.5 py-0.5 rounded-full">3</span>
</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>
<div class="p-4 border-t border-gray-100">
<a href="settings.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="settings"></i> Ustawienia
</a>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8 pb-24 md:pb-8">
<header class="mb-10 flex items-center justify-between">
<div>
<h2 class="text-3xl font-black text-gray-900 leading-tight">Centrum Aktualizacji</h2>
<p class="text-gray-500 font-medium">Spersonalizowane powiadomienia i okazje właśnie dla Ciebie.</p>
</div>
<button class="text-sm font-bold text-indigo-600 hover:underline">Oznacz wszystkie jako przeczytane</button>
</header>
<div class="max-w-4xl space-y-4">
<!-- Update: Price Drop (Emergency/Hot) -->
<div class="bg-white rounded-[2rem] p-6 shadow-sm border-l-4 border-green-500 group hover:shadow-xl transition-all relative overflow-hidden">
<div class="flex items-start gap-6 relative z-10">
<div class="w-16 h-16 bg-green-50 rounded-2xl flex items-center justify-center text-green-600 shrink-0">
<i data-lucide="trending-down" class="w-8 h-8"></i>
</div>
<div class="flex-1">
<div class="flex items-center justify-between mb-1">
<span class="text-[10px] font-black text-green-600 uppercase tracking-widest">Okazja cenowa!</span>
<span class="text-[10px] text-gray-400 font-bold">2 godz. temu</span>
</div>
<h4 class="text-lg font-black text-gray-900 mb-2">Cena "Sage Barista Express" spadła o 120 PLN!</h4>
<p class="text-sm text-gray-500 mb-4 leading-relaxed">Twój śledzony produkt jest teraz dostępny w najniższej cenie od 3 miesięcy w sklepie Media Expert. To idealny moment na zakup prezentu dla: <span class="font-bold text-gray-900">Mama</span>.</p>
<div class="flex gap-3">
<button onclick="window.location.href='gift.html'" class="bg-green-600 text-white px-6 py-2 rounded-xl text-xs font-bold shadow-lg shadow-green-100">Kup teraz</button>
<button onclick="window.location.href='product.html'" class="bg-gray-100 text-gray-600 px-6 py-2 rounded-xl text-xs font-bold">Szczegóły</button>
</div>
</div>
</div>
</div>
<!-- Update: Upcoming Occasion (Warning) -->
<div class="bg-white rounded-[2rem] p-6 shadow-sm border-l-4 border-indigo-500 group hover:shadow-xl transition-all">
<div class="flex items-start gap-6">
<div class="w-16 h-16 bg-indigo-50 rounded-2xl flex items-center justify-center text-indigo-600 shrink-0">
<i data-lucide="calendar" class="w-8 h-8"></i>
</div>
<div class="flex-1">
<div class="flex items-center justify-between mb-1">
<span class="text-[10px] font-black text-indigo-600 uppercase tracking-widest">Nadchodząca okazja</span>
<span class="text-[10px] text-gray-400 font-bold">Wczoraj</span>
</div>
<h4 class="text-lg font-black text-gray-900 mb-2">Boże Narodzenie 2025 już za 12 dni!</h4>
<p class="text-sm text-gray-500 mb-4 font-medium">Masz jeszcze <span class="text-red-500 font-black">4 osoby</span> na liście bez przypisanego prezentu. Czy chcesz, aby AI wygenerowało dla nich sugestie?</p>
<div class="flex gap-3">
<button onclick="window.location.href='occasion-ai.html'" class="gradient-bg text-white px-6 py-2 rounded-xl text-xs font-bold shadow-lg shadow-indigo-100">Użyj wsparcia AI</button>
<button onclick="window.location.href='occasion.html'" class="bg-gray-100 text-gray-600 px-6 py-2 rounded-xl text-xs font-bold">Lista osób</button>
</div>
</div>
</div>
</div>
<!-- Update: AI Suggestion (Inspiration) -->
<div class="bg-gradient-to-br from-purple-600 to-indigo-700 rounded-[2rem] p-6 shadow-xl text-white group hover:scale-[1.02] transition-all relative overflow-hidden">
<div class="flex items-start gap-6 relative z-10">
<div class="w-16 h-16 bg-white/20 backdrop-blur-md rounded-2xl flex items-center justify-center shrink-0">
<i data-lucide="sparkles" class="w-8 h-8"></i>
</div>
<div class="flex-1">
<div class="flex items-center justify-between mb-1">
<span class="text-[10px] font-black text-purple-200 uppercase tracking-widest">Inspiracja AI</span>
<span class="text-[10px] text-purple-200 font-bold">2 dni temu</span>
</div>
<h4 class="text-lg font-black mb-2">Nowe sugestie dla: Tata</h4>
<p class="text-sm text-purple-100 mb-4 leading-relaxed">Na podstawie Twoich ostatnich notatek o miłości taty do grillowania, znaleźliśmy unikalny "Zestaw profesjonalnych akcesoriów do wędzenia".</p>
<button class="bg-white text-purple-700 px-6 py-2 rounded-xl text-xs font-bold shadow-lg">Zobacz propozycje</button>
</div>
</div>
<i data-lucide="brain" class="absolute -right-8 -bottom-8 w-40 h-40 opacity-10"></i>
</div>
<!-- Update: System/Budget (Info) -->
<div class="bg-white rounded-[2rem] p-6 shadow-sm border-l-4 border-gray-200 opacity-60 hover:opacity-100 transition-all">
<div class="flex items-start gap-6">
<div class="w-16 h-16 bg-gray-50 rounded-2xl flex items-center justify-center text-gray-400 shrink-0">
<i data-lucide="wallet" class="w-8 h-8"></i>
</div>
<div class="flex-1">
<div class="flex items-center justify-between mb-1">
<span class="text-[10px] font-black text-gray-400 uppercase tracking-widest">Raport budżetowy</span>
<span class="text-[10px] text-gray-400 font-bold">3 dni temu</span>
</div>
<h4 class="text-lg font-black text-gray-900 mb-2">Wykorzystałeś 76% budżetu grudniowego</h4>
<p class="text-sm text-gray-500">Pozostało Ci 1 200 PLN na ostatnie prezenty. Wszystko idzie zgodnie z planem!</p>
</div>
</div>
</div>
</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="updates.html" class="flex flex-col items-center p-2 text-indigo-600">
<div class="relative">
<i data-lucide="bell" class="w-6 h-6"></i>
<span class="absolute -top-1 -right-1 bg-red-500 w-2 h-2 rounded-full"></span>
</div>
<span class="text-[10px] font-bold mt-1">Status</span>
</a>
<a href="occasions.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="calendar" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Okazje</span>
</a>
<a href="persons.html" class="flex flex-col items-center p-2 text-gray-400">
<i data-lucide="users" class="w-6 h-6"></i>
<span class="text-[10px] font-bold mt-1">Osoby</span>
</a>
</nav>
<script>
lucide.createIcons();
</script>
</body>
</html>