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.
This commit is contained in:
Stefan Lazic committed 2026-08-02 17:47:23 +01:00
1 parent 468d163299
commit 090646fdfd
201 files changed
+31984

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import type { Metadata } from "next";
import { auth } from "@/auth";
export const metadata: Metadata = { title: "Home" };
export default async function CustomerHomePage() {
const session = await auth();
return (
<div className="px-6 pt-12">
<p className="text-xs font-medium text-muted">Signed in as</p>
<h1 className="text-2xl font-bold tracking-tight">{session?.user?.name ?? session?.user?.email}</h1>
<p className="mt-6 text-sm text-muted">
The full personalized home (upcoming appointment, loyalty progress, quick booking) is designed
in <code>templates/23-...html</code> and scoped for a later phase — this route exists now to
prove sign-in → protected layout → bottom nav works end to end.
</p>
</div>
);
}