Files
NextChair/templates/35-NextChair - Customer - Notification Settings.html
T
2026-09-05 09:32:05 +01:00

166 lines
11 KiB
HTML

<!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>Notifications — TrimTime</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
<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: '1.5rem', tile: '1rem' }
}
}
}
</script>
</head>
<body class="bg-stone text-ink min-h-screen pb-32">
<!-- NOTE: New screen. Linked from "10-NextChair - Customer - Setting.html"
("Notifications" row) — the staff-facing equivalent linked from
"4-NextChair - Staff - Settings.html" follows the identical pattern,
just under the staff shell. Neither had a destination in the
original export — see docs/implementation-plan.md §6. -->
<header class="px-6 pt-12 pb-6 bg-white border-b border-line sticky top-0 z-40 flex items-center gap-4">
<button onclick="history.back()" class="w-10 h-10 rounded-full border border-line flex items-center justify-center">
<i class="fa-solid fa-arrow-left text-sm"></i>
</button>
<h1 class="text-xl font-bold tracking-tight">Notifications</h1>
</header>
<main class="mt-6 px-6 space-y-8">
<!-- Booking Notifications -->
<section class="space-y-3">
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1">Booking Notifications</h3>
<div class="bg-white rounded-jumbo border border-line shadow-sm divide-y divide-line">
<div class="px-6 py-5 flex items-center justify-between">
<div>
<p class="text-sm font-bold">Booking confirmations</p>
<p class="text-xs text-muted mt-0.5">When a booking is confirmed</p>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<div>
<p class="text-sm font-bold">Appointment reminders</p>
<p class="text-xs text-muted mt-0.5">24 hours before your visit</p>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<div>
<p class="text-sm font-bold">Booking changes</p>
<p class="text-xs text-muted mt-0.5">Reschedules made by the shop</p>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<div>
<p class="text-sm font-bold">Cancellations</p>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
</div>
</section>
<!-- Loyalty & Offers -->
<section class="space-y-3">
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1">Loyalty &amp; Offers</h3>
<div class="bg-white rounded-jumbo border border-line shadow-sm divide-y divide-line">
<div class="px-6 py-5 flex items-center justify-between">
<p class="text-sm font-bold">Reward earned</p>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<p class="text-sm font-bold">Promotions &amp; offers</p>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
</div>
</section>
<!-- Delivery Method -->
<section class="space-y-3">
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1">Delivery Method</h3>
<div class="bg-white rounded-jumbo border border-line shadow-sm divide-y divide-line">
<div class="px-6 py-5 flex items-center justify-between">
<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-regular fa-envelope text-xs"></i></div>
<span class="text-sm font-bold">Email</span>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<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-comment-sms text-xs"></i></div>
<span class="text-sm font-bold">SMS</span>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
<div class="px-6 py-5 flex items-center justify-between">
<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">Push notifications</span>
</div>
<label class="relative inline-flex items-center cursor-pointer shrink-0 ml-4">
<input type="checkbox" class="sr-only peer" checked>
<div class="w-11 h-6 bg-line rounded-full peer peer-checked:bg-accent transition-colors relative after:content-[''] after:absolute after:top-0.5 after:left-0.5 after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:after:translate-x-5"></div>
</label>
</div>
</div>
</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="23-NextChair - Customer - Home (Logged In).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="24-NextChair - Customer - Appointments Upcoming.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="10-NextChair - Customer - Setting.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>