add client
CI / ci (push) Canceled after 0s

adds a button to add a new client from the barber menu
This commit is contained in:
Stefan Lazic committed 2026-09-14 12:25:45 +01:00
1 parent 91f3fd77d7
commit 0d821ce1f8
6 files changed
+287 -2

No files matched your search

+10 -1
View File
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { Search, Users } from "lucide-react";
import { Plus, Search, Users } from "lucide-react";
import Link from "next/link";
import { redirect } from "next/navigation";
import { EmptyState } from "@/components/feedback/empty-state";
@@ -78,6 +78,15 @@ export default async function StaffClientsPage({
sticky
className="bg-stone"
leftAction={<InlineNotificationBell href="/staff/notifications" unreadCount={unreadNotificationCount} />}
action={
<Link
href="/staff/clients/add"
className="bg-ink flex h-10 w-10 items-center justify-center rounded-full text-white"
aria-label="Add client"
>
<Plus className="h-4 w-4" aria-hidden="true" />
</Link>
}
/>
<div className="px-6 pt-6">