make more AI

This commit is contained in:
Norbert Maciaszek
2025-12-28 21:24:48 +01:00
parent 7b95faef4a
commit 69069587c5
17 changed files with 1534 additions and 670 deletions

215
gift-locked.html Normal file
View File

@@ -0,0 +1,215 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Szczegóły Prezentu (Podstawowy) - 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="https://cdn.jsdelivr.net/npm/chart.js"></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 text-gray-600 hover:bg-gray-50 rounded-xl transition-colors">
<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>
<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 class="flex items-center gap-3 p-4 mt-2">
<div class="w-10 h-10 rounded-full bg-gradient-to-br from-indigo-100 to-purple-100 flex items-center justify-center text-indigo-600 font-bold">
NK
</div>
<div class="flex-1 overflow-hidden">
<p class="text-sm font-semibold truncate">Norbert K.</p>
<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 PKT</p>
</div>
</div>
</div>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto bg-gray-50 p-4 lg:p-8">
<button onclick="window.history.back()" class="flex items-center gap-2 text-gray-500 hover:text-indigo-600 transition-colors mb-6 font-medium">
<i data-lucide="arrow-left" class="w-4 h-4"></i> Powrót
</button>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column: Planning Info -->
<div class="lg:col-span-2 space-y-8">
<!-- Planning Record Header -->
<section class="bg-indigo-900 rounded-[2.5rem] p-8 shadow-2xl relative overflow-hidden text-white">
<div class="relative z-10">
<div class="flex items-center gap-2 mb-4">
<span class="bg-indigo-500 text-[10px] font-black px-3 py-1 rounded-full uppercase tracking-widest">Planowanie Prezentu #1024</span>
</div>
<h2 class="text-3xl font-black mb-6">Sage Barista Express dla: Mama</h2>
<div class="flex flex-wrap gap-8 items-center mb-8">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center border border-white/20"><i data-lucide="calendar"></i></div>
<div>
<p class="text-[10px] text-indigo-300 font-bold uppercase">Okazja</p>
<p class="text-sm font-black">Boże Narodzenie 2025</p>
</div>
</div>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-full bg-white/10 flex items-center justify-center border border-white/20"><i data-lucide="wallet"></i></div>
<div>
<p class="text-[10px] text-indigo-300 font-bold uppercase">Budżet na osobę</p>
<p class="text-sm font-black">1 200 PLN</p>
</div>
</div>
</div>
</div>
</section>
<!-- AI: Uzupełnij Prezent -->
<section class="bg-gradient-to-br from-indigo-900 via-indigo-800 to-indigo-950 rounded-[3rem] p-8 lg:p-10 shadow-2xl relative overflow-hidden border border-indigo-700">
<div class="flex flex-col md:flex-row md:items-center justify-between gap-6 mb-10 relative z-10">
<div class="flex items-center gap-4">
<div class="w-14 h-14 bg-white/10 backdrop-blur-md rounded-2xl flex items-center justify-center text-white border border-white/20">
<i data-lucide="wand-2" class="w-8 h-8"></i>
</div>
<div>
<div class="flex items-center gap-2 mb-1">
<span class="bg-indigo-400/30 text-indigo-100 text-[10px] font-black px-2 py-0.5 rounded uppercase tracking-widest border border-indigo-400/30">AI Power</span>
<h3 class="text-2xl font-black text-white">Uzupełnij prezent</h3>
</div>
<p class="text-indigo-200/80 text-sm font-medium">Dobierz dodatki, które sprawią, że prezent będzie kompletny.</p>
</div>
</div>
<button class="bg-white text-indigo-900 px-6 py-3 rounded-2xl font-black text-xs hover:bg-indigo-50 transition-all flex items-center gap-2 shadow-lg">
ODŚWIEŻ SUGESTIE <span class="bg-indigo-100 text-indigo-600 px-2 py-0.5 rounded">-3 <i data-lucide="zap" class="w-3 h-3 inline fill-indigo-600"></i></span>
</button>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6 relative z-10">
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0">
<img src="https://images.unsplash.com/photo-1559056191-4917a3bc9404?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<h4 class="font-black text-white leading-tight">Kawa Ethiopia 250g</h4>
<span class="text-indigo-300 font-black">59 PLN</span>
</div>
</div>
<div class="bg-white/5 backdrop-blur-sm rounded-[2.5rem] p-5 border border-white/10 flex items-center gap-5">
<div class="w-24 h-24 bg-white rounded-3xl overflow-hidden shrink-0">
<img src="https://images.unsplash.com/photo-1579227114347-15d08fc37cae?auto=format&fit=crop&q=80&w=200" class="w-full h-full object-cover">
</div>
<div class="flex-1">
<h4 class="font-black text-white leading-tight">Dzbanek Rhino</h4>
<span class="text-indigo-300 font-black">120 PLN</span>
</div>
</div>
</div>
</section>
<!-- Personal Notes -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h3 class="text-xl font-black text-gray-900 mb-6 flex items-center gap-2">
<i data-lucide="sticky-note" class="text-indigo-600"></i> Twoje Notatki
</h3>
<div class="p-6 bg-gray-50 rounded-3xl border border-gray-100">
<p class="text-sm text-gray-600 italic leading-relaxed">"Mówiła, że jej stary ekspres już ledwo zipie."</p>
</div>
</section>
<!-- Feedback Loop (Locked state but visible) -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 opacity-60">
<div class="flex items-center justify-between mb-8">
<h3 class="text-xl font-black text-gray-400">Twój Feedback</h3>
<i data-lucide="star" class="text-gray-200"></i>
</div>
<p class="text-xs text-gray-400 italic">Funkcja dostępna po wręczeniu prezentu.</p>
</section>
</div>
<!-- Right Column -->
<div class="space-y-8">
<!-- LOCKED Price Card -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100 relative overflow-hidden group">
<div class="absolute inset-0 bg-white/60 backdrop-blur-[4px] z-20 flex flex-col items-center justify-center p-8 text-center">
<div class="w-16 h-16 bg-white rounded-3xl shadow-xl flex items-center justify-center text-indigo-600 mb-6">
<i data-lucide="lock" class="w-8 h-8"></i>
</div>
<h4 class="text-xl font-black text-gray-900 mb-2 leading-tight">Historia cen jest zablokowana</h4>
<p class="text-xs text-gray-500 mb-6 font-medium leading-relaxed uppercase tracking-wider">Subskrybuj pakiet <strong>"Oszczędzanie"</strong></p>
<button onclick="window.location.href='settings.html'" class="w-full gradient-bg text-white py-4 rounded-2xl font-black shadow-xl shadow-indigo-100 hover:scale-[1.02] transition-all">
ODBLOKUJ ZA 14.99 PLN
</button>
</div>
<!-- Gated content (blurred) -->
<div class="opacity-10 pointer-events-none">
<p class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-4">Aktualna Cena (Ceneo)</p>
<h3 class="text-4xl font-black text-gray-900 leading-none mb-6">2 499 PLN</h3>
<div class="h-32 bg-gray-100 rounded-2xl mb-8"></div>
<div class="space-y-3">
<div class="h-10 bg-gray-50 rounded-xl w-full"></div>
<div class="h-10 bg-gray-50 rounded-xl w-full"></div>
</div>
</div>
</section>
<!-- Status History -->
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-100">
<h4 class="text-[10px] font-black text-gray-400 uppercase tracking-widest mb-6">Historia Statusu</h4>
<div class="space-y-6 relative before:absolute before:left-3 before:top-2 before:bottom-2 before:w-0.5 before:bg-gray-100">
<div class="relative pl-10 opacity-40">
<div class="absolute left-0 top-1 w-6 h-6 bg-gray-200 rounded-full border-4 border-white shadow-sm"></div>
<p class="text-xs font-black text-gray-900">Idea dodana</p>
<p class="text-[10px] text-gray-400 font-medium">01 Grudnia 2025</p>
</div>
</div>
</section>
</div>
</div>
</main>
</div>
<script>
lucide.createIcons();
</script>
</body>
</html>