Files
ai-gift-planner-mockup/settings.html
Norbert Maciaszek b18f0d8c1c extend design
2025-12-27 00:19:14 +01:00

186 lines
12 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>
<p class="text-xs text-gray-500">Premium</p>
</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>
<!-- 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>