change design dashboards all page and search clinics

This commit is contained in:
Ehsan
2025-05-27 22:27:02 +03:30
parent d95815d4aa
commit 38e243b4c7
17 changed files with 155 additions and 98 deletions
@@ -1,9 +1,8 @@
import CustomTable from "@/app/component/CustomTable";
import TextLoading from "@/app/component/loading/Text";
import { Button, Switch, TableCell, TableRow } from "@mui/material";
import { Switch, TableCell, TableRow } from "@mui/material";
import Head from "../../components/Head";
import UpdateList from "@/components/icons/UpdateList";
import AddBtn from "../../components/AddBtn";
import UpdateBtn from "../../components/UpdateBtn";
function Disease({ data }) {
const tableHead = ["ردیف", "اسم", "وضعیت", ""];
@@ -12,16 +11,7 @@ function Disease({ data }) {
return (
<div>
<Head text="لیست بیماری ها" add={false}>
<div className="flex items-center justify-end gap-4">
<Button
variant="outlined"
className="!border-[#5559CE] !border-[2px] !flex !items-center !justify-center !gap-2 !text-[14px] md:!text-[14px] !font-medium"
>
<UpdateList />
آپدیت کردن
</Button>
<AddBtn />
</div>
<UpdateBtn />
</Head>
<CustomTable
zeroRadius={true}