281 lines
19 KiB
HTML
281 lines
19 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="pl">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Ustawienia - Gift Planner</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link rel="stylesheet" href="styles.css">
|
|
<script src="https://unpkg.com/lucide@latest"></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 bg-indigo-50 text-indigo-700 rounded-xl font-medium">
|
|
<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-indigo-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 Tokenów</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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">
|
|
<h2 class="text-3xl font-black text-gray-900 leading-tight">Ustawienia</h2>
|
|
<p class="text-gray-500 font-medium">Zarządzaj swoim profilem i preferencjami aplikacji.</p>
|
|
</header>
|
|
|
|
<div class="max-w-4xl space-y-8">
|
|
<!-- Profile Settings -->
|
|
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
|
|
<div class="flex items-center gap-4 mb-8">
|
|
<div class="w-12 h-12 bg-indigo-50 rounded-2xl flex items-center justify-center text-indigo-600">
|
|
<i data-lucide="user"></i>
|
|
</div>
|
|
<h3 class="text-xl font-black text-gray-900">Profil Użytkownika</h3>
|
|
</div>
|
|
|
|
<div class="flex flex-col md:flex-row items-center gap-8 mb-8">
|
|
<div class="relative group">
|
|
<div class="w-32 h-32 rounded-[2rem] bg-indigo-100 flex items-center justify-center text-indigo-600 text-3xl font-black shadow-xl overflow-hidden">
|
|
NK
|
|
</div>
|
|
<button class="absolute inset-0 bg-black/40 text-white opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center rounded-[2rem]">
|
|
<i data-lucide="camera" class="w-8 h-8"></i>
|
|
</button>
|
|
</div>
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 flex-1">
|
|
<div>
|
|
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">Imię i Nazwisko</label>
|
|
<input type="text" value="Norbert K." class="w-full px-4 py-3 bg-gray-50 border border-gray-100 rounded-2xl focus:ring-2 focus:ring-indigo-500 outline-none transition-all text-sm font-bold text-gray-700">
|
|
</div>
|
|
<div>
|
|
<label class="block text-[10px] font-black text-gray-400 uppercase tracking-widest mb-2 ml-1">E-mail</label>
|
|
<input type="email" value="norbert@example.com" class="w-full px-4 py-3 bg-gray-50 border border-gray-100 rounded-2xl focus:ring-2 focus:ring-indigo-500 outline-none transition-all text-sm font-bold text-gray-700">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<button class="bg-indigo-600 text-white px-8 py-3 rounded-2xl font-bold shadow-lg shadow-indigo-100 hover:opacity-90 transition-all">Zapisz zmiany</button>
|
|
</section>
|
|
|
|
<!-- Subscription & Tokens -->
|
|
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
|
|
<div class="flex items-center gap-4 mb-8">
|
|
<div class="w-12 h-12 bg-yellow-50 rounded-2xl flex items-center justify-center text-yellow-600">
|
|
<i data-lucide="zap" class="fill-yellow-500"></i>
|
|
</div>
|
|
<h3 class="text-xl font-black text-gray-900">Twoja Subskrypcja i Tokeny</h3>
|
|
</div>
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-8">
|
|
<div class="p-6 bg-gradient-to-br from-indigo-50 to-purple-50 rounded-3xl border border-indigo-100">
|
|
<p class="text-[10px] font-black text-indigo-400 uppercase tracking-widest mb-1">Dostępne Tokeny</p>
|
|
<div class="flex items-baseline gap-2">
|
|
<h4 class="text-4xl font-black text-indigo-900">120</h4>
|
|
<p class="text-indigo-400 font-bold">/ 200 w tym miesiącu</p>
|
|
</div>
|
|
<p class="text-xs text-indigo-600/60 mt-4 leading-relaxed">Limit odnowi się automatycznie <span class="font-bold">1 stycznia 2026</span>.</p>
|
|
</div>
|
|
|
|
<div class="flex flex-col justify-center">
|
|
<h4 class="text-sm font-black text-gray-900 mb-2">Potrzebujesz więcej mocy AI?</h4>
|
|
<p class="text-xs text-gray-400 mb-6">Możesz dokupić pakiety tokenów, które nie wygasają na koniec miesiąca.</p>
|
|
<div class="flex gap-3">
|
|
<button class="flex-1 bg-white border border-gray-200 px-4 py-3 rounded-2xl text-xs font-black text-gray-700 hover:bg-gray-50 transition-all shadow-sm">
|
|
Pakiet 50 <i data-lucide="zap" class="w-3 h-3 inline ml-1 text-yellow-500 fill-yellow-500"></i>
|
|
</button>
|
|
<button class="flex-1 gradient-bg text-white px-4 py-3 rounded-2xl text-xs font-black hover:opacity-90 transition-all shadow-lg shadow-indigo-100">
|
|
Pakiet 200 <i data-lucide="zap" class="w-3 h-3 inline ml-1 fill-white text-white"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="p-4 bg-gray-50 rounded-2xl border border-gray-100 flex items-center justify-between">
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-8 h-8 bg-white rounded-lg flex items-center justify-center text-indigo-600 shadow-sm font-bold text-xs">P</div>
|
|
<div>
|
|
<p class="text-xs font-bold text-gray-900">Plan Personal (Darmowy)</p>
|
|
<p class="text-[10px] text-gray-400 font-medium">Standardowe 200 tokenów / msc</p>
|
|
</div>
|
|
</div>
|
|
<button class="text-indigo-600 text-xs font-black hover:underline">Zmień plan</button>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Feature Packages -->
|
|
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
|
|
<div class="flex items-center gap-4 mb-8">
|
|
<div class="w-12 h-12 bg-emerald-50 rounded-2xl flex items-center justify-center text-emerald-600">
|
|
<i data-lucide="package-plus"></i>
|
|
</div>
|
|
<h3 class="text-xl font-black text-gray-900">Twoje Pakiety Rozszerzeń</h3>
|
|
</div>
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
<!-- Package: Oszczędzanie -->
|
|
<div class="p-6 rounded-3xl border-2 border-emerald-500 bg-emerald-50/20 relative overflow-hidden group">
|
|
<div class="absolute top-4 right-4 text-emerald-600">
|
|
<i data-lucide="check-circle-2" class="w-6 h-6"></i>
|
|
</div>
|
|
<div class="w-10 h-10 bg-emerald-100 rounded-xl flex items-center justify-center text-emerald-600 mb-4">
|
|
<i data-lucide="trending-down"></i>
|
|
</div>
|
|
<h4 class="text-lg font-black text-gray-900 mb-1">Pakiet "Oszczędzanie"</h4>
|
|
<p class="text-[10px] text-emerald-600 font-bold uppercase tracking-widest mb-4">AKTYWNY • 14.99 PLN / msc</p>
|
|
<ul class="space-y-2 mb-6">
|
|
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Historia cen Ceneo (30 dni)</li>
|
|
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Alerty o spadkach cen</li>
|
|
<li class="text-xs text-gray-600 flex items-center gap-2"><i data-lucide="check" class="w-3 h-3 text-emerald-500"></i> Powiadomienia okazje cenowe</li>
|
|
</ul>
|
|
<p class="text-[10px] text-gray-400 font-medium text-center italic">Następna płatność: 12.01.2026</p>
|
|
</div>
|
|
|
|
<!-- Package: Kontrola budżetu -->
|
|
<div class="p-6 rounded-3xl border-2 border-dashed border-gray-200 hover:border-indigo-500 transition-all group">
|
|
<div class="w-10 h-10 bg-gray-100 rounded-xl flex items-center justify-center text-gray-400 group-hover:bg-indigo-100 group-hover:text-indigo-600 mb-4 transition-all">
|
|
<i data-lucide="pie-chart"></i>
|
|
</div>
|
|
<h4 class="text-lg font-black text-gray-900 mb-1">Pakiet "Kontrola budżetu"</h4>
|
|
<p class="text-[10px] text-gray-400 font-bold uppercase tracking-widest mb-4">NIEAKTYWNY • 6.99 PLN / msc</p>
|
|
<ul class="space-y-2 mb-6">
|
|
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Zaawansowane statystyki</li>
|
|
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Wykresy wydatków rocznych</li>
|
|
<li class="text-xs text-gray-500 flex items-center gap-2"><i data-lucide="lock" class="w-3 h-3"></i> Prognozowanie budżetu AI</li>
|
|
</ul>
|
|
<button class="w-full py-3 gradient-bg text-white rounded-2xl text-xs font-black shadow-lg shadow-indigo-100 hover:scale-[1.02] transition-all">
|
|
SUBSKRYBUJ ZA 6.99 PLN / MSC
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Notifications -->
|
|
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
|
|
<div class="flex items-center gap-4 mb-8">
|
|
<div class="w-12 h-12 bg-purple-50 rounded-2xl flex items-center justify-center text-purple-600">
|
|
<i data-lucide="bell"></i>
|
|
</div>
|
|
<h3 class="text-xl font-black text-gray-900">Powiadomienia</h3>
|
|
</div>
|
|
|
|
<div class="space-y-6">
|
|
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-2xl">
|
|
<div>
|
|
<p class="text-sm font-bold text-gray-900">Alerty cenowe Ceneo</p>
|
|
<p class="text-[10px] text-gray-400 font-medium">Informuj mnie, gdy cena prezentu spadnie o więcej niż 10%.</p>
|
|
</div>
|
|
<div class="relative inline-flex items-center cursor-pointer">
|
|
<input type="checkbox" checked class="sr-only peer">
|
|
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-2xl">
|
|
<div>
|
|
<p class="text-sm font-bold text-gray-900">Przypomnienia o okazjach</p>
|
|
<p class="text-[10px] text-gray-400 font-medium">Powiadomienia na 2 tygodnie przed zaplanowanym wydarzeniem.</p>
|
|
</div>
|
|
<div class="relative inline-flex items-center cursor-pointer">
|
|
<input type="checkbox" checked class="sr-only peer">
|
|
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Security -->
|
|
<section class="bg-white rounded-[2.5rem] p-8 shadow-sm border border-gray-50">
|
|
<div class="flex items-center gap-4 mb-8">
|
|
<div class="w-12 h-12 bg-pink-50 rounded-2xl flex items-center justify-center text-pink-600">
|
|
<i data-lucide="shield-lock"></i>
|
|
</div>
|
|
<h3 class="text-xl font-black text-gray-900">Bezpieczeństwo</h3>
|
|
</div>
|
|
<div class="flex gap-4">
|
|
<button class="bg-gray-100 text-gray-700 px-6 py-3 rounded-2xl font-bold hover:bg-gray-200 transition-all">Zmień hasło</button>
|
|
<button class="bg-gray-100 text-gray-700 px-6 py-3 rounded-2xl font-bold hover:bg-gray-200 transition-all">Włącz 2FA</button>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Logout -->
|
|
<button onclick="window.location.href='index.html'" class="w-full p-6 border-2 border-dashed border-red-100 rounded-[2rem] text-red-500 font-black flex items-center justify-center gap-3 hover:bg-red-50 transition-all">
|
|
<i data-lucide="log-out"></i> Wyloguj się z aplikacji
|
|
</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="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-indigo-600">
|
|
<i data-lucide="settings" class="w-6 h-6"></i>
|
|
<span class="text-[10px] font-bold mt-1">Opcje</span>
|
|
</a>
|
|
</nav>
|
|
|
|
<script>
|
|
lucide.createIcons();
|
|
</script>
|
|
</body>
|
|
</html>
|