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.
51 lines
2.3 KiB
HTML
Executable File
51 lines
2.3 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>Forgot Password — TrimTime</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 flex flex-col px-6 py-12">
|
|
|
|
<div class="flex-1 flex flex-col justify-center max-w-md mx-auto w-full">
|
|
<header class="mb-10">
|
|
<button onclick="history.back()" class="w-10 h-10 rounded-full border border-line flex items-center justify-center mb-8">
|
|
<i class="fa-solid fa-arrow-left text-sm"></i>
|
|
</button>
|
|
<h1 class="text-3xl font-bold tracking-tight">Reset Password</h1>
|
|
<p class="text-muted mt-2">Enter your email and we'll send you a link to reset your password.</p>
|
|
</header>
|
|
|
|
<form class="space-y-6">
|
|
<div>
|
|
<label class="block text-[10px] font-bold uppercase tracking-widest text-muted mb-2 ml-1">Email Address</label>
|
|
<input type="email" placeholder="name@example.com" class="w-full bg-surface border border-line rounded-xl px-5 py-4 focus:ring-2 focus:ring-ink outline-none transition-all">
|
|
</div>
|
|
|
|
<button type="button" onclick="location.href='Verify__mobile.html'" class="w-full bg-ink text-white py-5 rounded-full font-bold uppercase tracking-widest hover:bg-black transition-all shadow-lg">
|
|
Send Reset Link
|
|
</button>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |