Initial PHP rebuild of the app
This commit is contained in:
690 files changed
+33944
-12046
No files matched your search
@@ -0,0 +1,127 @@
|
||||
<!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>Customer Details — 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 pb-32">
|
||||
|
||||
<header class="fixed top-0 left-0 right-0 z-50 px-6 py-6 bg-white/80 backdrop-blur-md border-b border-line flex items-center justify-between">
|
||||
<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-lg font-bold tracking-tight">Client Details</h1>
|
||||
<button class="w-10 h-10 rounded-full border border-line flex items-center justify-center">
|
||||
<i class="fa-solid fa-pen text-xs"></i>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<main class="pt-24 px-4 space-y-6">
|
||||
<!-- Profile Overview -->
|
||||
<div class="bg-white p-6 rounded-jumbo border border-line shadow-sm flex flex-col items-center text-center">
|
||||
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" class="w-24 h-24 rounded-full border-4 border-stone mb-4" alt="Alex Chen">
|
||||
<h2 class="text-2xl font-bold">Alex Chen</h2>
|
||||
<p class="text-sm text-muted">Client since Jan 2024</p>
|
||||
|
||||
<div class="flex gap-4 mt-6 w-full">
|
||||
<div class="flex-1 bg-stone/50 p-3 rounded-xl">
|
||||
<span class="text-[10px] font-bold uppercase text-muted block mb-1">Total Visits</span>
|
||||
<p class="text-lg font-bold">12</p>
|
||||
</div>
|
||||
<div class="flex-1 bg-stone/50 p-3 rounded-xl">
|
||||
<span class="text-[10px] font-bold uppercase text-muted block mb-1">Loyalty</span>
|
||||
<p class="text-lg font-bold">8 / 10</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Contact Actions -->
|
||||
<div class="grid grid-cols-2 gap-3">
|
||||
<a href="tel:123456789" class="bg-white py-4 rounded-xl border border-line flex items-center justify-center gap-2 font-bold text-sm">
|
||||
<i class="fa-solid fa-phone text-accent"></i> Call
|
||||
</a>
|
||||
<a href="mailto:alex@example.com" class="bg-white py-4 rounded-xl border border-line flex items-center justify-center gap-2 font-bold text-sm">
|
||||
<i class="fa-solid fa-envelope text-accent"></i> Email
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Notes Section -->
|
||||
<section>
|
||||
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1 mb-3">Service Notes</h3>
|
||||
<div class="bg-white p-5 rounded-jumbo border border-line space-y-4">
|
||||
<div class="border-b border-line pb-4">
|
||||
<p class="text-xs font-bold mb-1">Oct 12, 2024</p>
|
||||
<p class="text-sm text-gray-700">Prefers a high skin fade. Always uses matte clay. Very sensitive on the neck area.</p>
|
||||
</div>
|
||||
<div>
|
||||
<p class="text-xs font-bold mb-1">Aug 15, 2024</p>
|
||||
<p class="text-sm text-gray-700">First time beard trim. Keep it squared off, not rounded.</p>
|
||||
</div>
|
||||
<button class="w-full py-3 bg-stone rounded-lg text-[10px] font-bold uppercase tracking-widest">+ Add Note</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Visit History -->
|
||||
<section>
|
||||
<h3 class="text-[10px] font-bold uppercase tracking-widest text-muted ml-1 mb-3">Visit History</h3>
|
||||
<div class="space-y-3">
|
||||
<div class="bg-white p-4 rounded-xl border border-line flex justify-between items-center">
|
||||
<div>
|
||||
<p class="text-sm font-bold">Standard Cut</p>
|
||||
<p class="text-[10px] text-muted">Oct 12 • Marcus Reed</p>
|
||||
</div>
|
||||
<span class="text-sm font-bold">$35.00</span>
|
||||
</div>
|
||||
<div class="bg-white p-4 rounded-xl border border-line flex justify-between items-center">
|
||||
<div>
|
||||
<p class="text-sm font-bold">Beard Trim</p>
|
||||
<p class="text-[10px] text-muted">Aug 15 • Leo Vance</p>
|
||||
</div>
|
||||
<span class="text-sm font-bold">$20.00</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<!-- Staff Navigation -->
|
||||
<nav class="fixed bottom-0 left-0 right-0 z-50 bg-[#0c0c0c] text-gray-400 py-2 px-5 border-t border-white/5 flex items-center justify-between">
|
||||
<a href="StaffCalendar__mobile.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
|
||||
<i class="fa-solid fa-calendar-days text-xl"></i>
|
||||
<span class="text-[10px] font-medium">Calendar</span>
|
||||
</a>
|
||||
<a href="StaffCurrent__mobile.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
|
||||
<i class="fa-solid fa-scissors text-xl"></i>
|
||||
<span class="text-[10px] font-medium">Current</span>
|
||||
</a>
|
||||
<a href="StaffCustomers__mobile.html" class="flex flex-col items-center gap-1 text-white">
|
||||
<i class="fa-solid fa-users text-xl"></i>
|
||||
<span class="text-[10px] font-medium">Clients</span>
|
||||
</a>
|
||||
<a href="StaffSettings__mobile.html" class="flex flex-col items-center gap-1 hover:text-white transition-colors">
|
||||
<i class="fa-solid fa-gear text-xl"></i>
|
||||
<span class="text-[10px] font-medium">Settings</span>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user