change date-picker & add page login-verify & account & new user & payment

This commit is contained in:
Ehsan
2024-08-26 20:04:33 +03:30
parent 31ed32fc21
commit 7925493681
34 changed files with 564 additions and 60 deletions
+14 -6
View File
@@ -5,6 +5,7 @@ import Tabs from "../../Tabs";
import Hours from "./Hours";
import { Button } from "@mui/material";
import ArrowLeftB from "@/components/icons/ArrowLeftB";
import Link from "next/link";
const listTab = ['صبح', 'بعد از ظهر'];
const nameHours = ['hours_morning', 'hours_afternoon']
@@ -32,13 +33,20 @@ function DateTime({ doctor }) {
nameHours={nameHours}
/>
<div className="w-full flex justify-end">
<Button
className="!gap-[4px] !px-[12px] !py-[8px] !min-w-[157px]"
variant="contained"
<Link
href='/login-verify'
>
<p className="text-[#EFEFEF] text-[16px] font-medium">تایید نوبت</p>
<ArrowLeftB />
</Button>
<Button
className="!gap-[4px] !px-[12px] !py-[8px] !min-w-[157px]"
onClick={() =>
localStorage.setItem('doctor-id', doctor?.id)
}
variant="contained"
>
<p className="text-[#EFEFEF] text-[16px] font-medium">تایید نوبت</p>
<ArrowLeftB />
</Button>
</Link>
</div>
</div>
)