commit
This commit is contained in:
28
src/app/[branch]/customers/page.tsx
Normal file
28
src/app/[branch]/customers/page.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import PageContainer from "@/components/layout/page-container";
|
||||
import { buttonVariants } from "@/components/ui/button";
|
||||
import { Heading } from "@/components/ui/heading";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { IconPlus } from "@tabler/icons-react";
|
||||
import Link from "next/link";
|
||||
|
||||
export default async function Page({ params }) {
|
||||
const { branch } = await params;
|
||||
console.log("branch", branch);
|
||||
return (
|
||||
<PageContainer>
|
||||
<div className="flex flex-1 flex-col space-y-4">
|
||||
<div className="flex items-start justify-between">
|
||||
<Heading title="ลูกค้า" description="จัดการลูกค้า" />
|
||||
<Link
|
||||
href="/dashboard/product/new"
|
||||
className={cn(buttonVariants(), "text-xs md:text-sm")}
|
||||
>
|
||||
<IconPlus className="mr-2 h-4 w-4" /> เพิ่มลูกค้า
|
||||
</Link>
|
||||
</div>
|
||||
<Separator />
|
||||
</div>
|
||||
</PageContainer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user