Files
NextChair/templates/10-NextChair - Customer - Setting.html
T
Stefan Lazic 090646fdfd Phase 2
Base app architecture:

    Route groups for customer, staff and owner.
* Reusable design system with around 20 UI components.
* Complete Prisma schema.
* Authentication with email/password and Google.
* Role and permission model.
* Protected routes.
* Clean separation between features, services, components and shared utilities.
2026-08-02 17:47:23 +01:00

115 lines
6.4 KiB
HTML
Executable File

<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.FontAwesomeConfig = {
autoReplaceSvg: 'nest'
};
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Settings</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: { ink: '#111b15', stone: '#f4f6f4', surface: '#ffffff', muted: '#6c7870', line: '#e1e7e2', accent: '#10b981' },
fontFamily: { sans: ['Inter', 'sans-serif'] },
borderRadius: { jumbo: '1rem', tile: '0.75rem' }
}
}
}
</script>
</head>
<body class="bg-stone text-ink min-h-screen pb-32">
<header class="px-6 py-6 bg-white border-b border-line sticky top-0 z-40">
<h1 class="text-2xl font-bold tracking-tight">Settings</h1>
</header>
<main class="mt-6">
<!-- Profile Overview -->
<section class="px-6 mb-8">
<div class="bg-white p-5 rounded-jumbo border border-line flex items-center gap-4 shadow-sm">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" class="w-16 h-16 rounded-full border border-line" alt="User">
<div class="flex-1">
<h2 class="text-lg font-bold">Alex Chen</h2>
<p class="text-xs text-muted">alex.chen@example.com</p>
</div>
<button class="w-10 h-10 bg-stone rounded-full flex items-center justify-center text-ink">
<i class="fa-solid fa-pen text-xs"></i>
</button>
</div>
</section>
<!-- Setting Links -->
<section class="px-6 space-y-3">
<div class="bg-white rounded-jumbo border border-line overflow-hidden">
<button class="w-full px-6 py-5 flex items-center justify-between border-b border-line hover:bg-stone transition-all">
<div class="flex items-center gap-4">
<div class="w-8 h-8 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-user-check text-xs"></i></div>
<span class="text-sm font-bold">Preferred Barber</span>
</div>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</button>
<button class="w-full px-6 py-5 flex items-center justify-between border-b border-line hover:bg-stone transition-all">
<div class="flex items-center gap-4">
<div class="w-8 h-8 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-award text-xs"></i></div>
<span class="text-sm font-bold">Loyalty Card</span>
</div>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</button>
<button class="w-full px-6 py-5 flex items-center justify-between hover:bg-stone transition-all">
<div class="flex items-center gap-4">
<div class="w-8 h-8 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-bell text-xs"></i></div>
<span class="text-sm font-bold">Notifications</span>
</div>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</button>
</div>
<div class="bg-white rounded-jumbo border border-line overflow-hidden">
<button class="w-full px-6 py-5 flex items-center justify-between border-b border-line hover:bg-stone transition-all">
<div class="flex items-center gap-4">
<div class="w-8 h-8 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-shield-halved text-xs"></i></div>
<span class="text-sm font-bold">Privacy &amp; Security</span>
</div>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</button>
<button class="w-full px-6 py-5 flex items-center justify-between hover:bg-stone transition-all">
<div class="flex items-center gap-4">
<div class="w-8 h-8 bg-stone rounded-lg flex items-center justify-center text-muted"><i class="fa-solid fa-circle-question text-xs"></i></div>
<span class="text-sm font-bold">Help &amp; Support</span>
</div>
<i class="fa-solid fa-chevron-right text-[10px] text-muted"></i>
</button>
</div>
<button onclick="location.href='Welcome__mobile.html'" class="w-full bg-white text-error py-5 rounded-jumbo border border-line font-bold uppercase text-xs tracking-widest hover:bg-red-50 transition-all flex items-center justify-center gap-2">
<i class="fa-solid fa-right-from-bracket"></i>
Log Out
</button>
</section>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-line py-2 px-5 flex justify-between items-center">
<a href="Home__mobile.html" class="flex flex-col items-center gap-1 text-muted hover:text-ink transition-colors">
<i class="fa-solid fa-house text-xl"></i>
<span class="text-[10px] font-bold uppercase tracking-widest">Home</span>
</a>
<a href="Appointments__mobile.html" class="flex flex-col items-center gap-1 text-muted hover:text-ink transition-colors">
<i class="fa-solid fa-calendar-check text-xl"></i>
<span class="text-[10px] font-bold uppercase tracking-widest">Bookings</span>
</a>
<a href="Settings__mobile.html" class="flex flex-col items-center gap-1 text-ink">
<i class="fa-solid fa-user text-xl"></i>
<span class="text-[10px] font-bold uppercase tracking-widest">Settings</span>
</a>
</nav>
</body>
</html>