first commit

This commit is contained in:
TuanVT
2026-05-23 09:48:07 +07:00
parent 03b9101bd5
commit b6ccde2c74
134 changed files with 7178 additions and 110 deletions
+57
View File
@@ -0,0 +1,57 @@
import { CircleGauge, HeartPulse, Pill, Users } from "lucide-react";
export enum PATH {
HOME = "/",
DASHBOARD = "/dashboard",
PATIENT = "/patient",
CONSULTATION = "/consultation",
PRESCRIPTION = "/prescription",
LOGIN = "/auth/login",
REGISTER = "/auth/register",
FORGOT_PASSWORD = "/auth/forgot-password",
PROFILE = "/profile",
}
export const Menus: {
title?: string;
group: {
path: string;
pathActive: string;
// isSpecial?: TYPE_SPECIAL;
title: string;
icon: React.ElementType;
}[];
}[] = [
{
group: [
{
title: "Dashboard",
icon: CircleGauge,
path: PATH.DASHBOARD || PATH.HOME,
pathActive: PATH.DASHBOARD,
},
{
title: "Bệnh nhân",
icon: Users,
path: PATH.PATIENT,
pathActive: PATH.PATIENT,
},
{
title: "Phiên khám",
icon: HeartPulse,
path: PATH.CONSULTATION,
pathActive: PATH.CONSULTATION,
},
{
title: "Đơn thuốc",
icon: Pill,
path: PATH.PRESCRIPTION,
pathActive: PATH.PRESCRIPTION,
},
],
},
];
export const KEY_STORE = "management-kham-benh";