mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-13 01:24:44 -05:00
30 lines
828 B
TypeScript
30 lines
828 B
TypeScript
import { Plus } from "lucide-react";
|
|
import Link from "next/link";
|
|
import { PageHeader } from "~/components/layout/page-header";
|
|
import { Button } from "~/components/ui/button";
|
|
import { HydrateClient } from "~/trpc/server";
|
|
import { ClientsTable } from "./_components/clients-table";
|
|
|
|
export default async function ClientsPage() {
|
|
return (
|
|
<>
|
|
<PageHeader
|
|
title="Clients"
|
|
description="Manage your clients and their information."
|
|
variant="gradient"
|
|
>
|
|
<Button asChild className="btn-brand-primary shadow-md">
|
|
<Link href="/dashboard/clients/new">
|
|
<Plus className="mr-2 h-5 w-5" />
|
|
<span>Add Client</span>
|
|
</Link>
|
|
</Button>
|
|
</PageHeader>
|
|
|
|
<HydrateClient>
|
|
<ClientsTable />
|
|
</HydrateClient>
|
|
</>
|
|
);
|
|
}
|