Initial commit for new panel
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"use client";
|
||||
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CreateCustomer from "@/components/forms/customers/CreateCustomer";
|
||||
|
||||
const CreateCustomerPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
{ name: "Customers", href: "/customers" },
|
||||
{ name: "Create Customer", href: "/customers/create" },
|
||||
];
|
||||
return (
|
||||
<>
|
||||
<Breadcrumb items={breadcrumbItems} />
|
||||
<CreateCustomer />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default CreateCustomerPage;
|
||||
@@ -0,0 +1,7 @@
|
||||
import { ShadowBox } from "@/src/components";
|
||||
|
||||
const EditCustomer = () => {
|
||||
return <ShadowBox>Edit customer</ShadowBox>;
|
||||
};
|
||||
|
||||
export default EditCustomer;
|
||||
@@ -0,0 +1,17 @@
|
||||
import Breadcrumb from "@/components/Breadcrumbs/Breadcrumb";
|
||||
import CustomersTable from "@/components/Tables/customers";
|
||||
|
||||
const CustomersPage = () => {
|
||||
const breadcrumbItems = [
|
||||
{ name: "Dashboard", href: "/" },
|
||||
{ name: "Customers", href: "/customers" },
|
||||
];
|
||||
return (
|
||||
<>
|
||||
<Breadcrumb items={breadcrumbItems} />
|
||||
<CustomersTable />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default CustomersPage;
|
||||
Reference in New Issue
Block a user