From b742bfc939e4bfe2f20677ea1e6be896fd8a2a06 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 11 May 2024 18:03:57 +0200 Subject: [PATCH] style: minor changes --- src/app/dashboard/bookings/page.tsx | 6 +++--- .../dashboard/scheduler/Scheduler.tsx | 17 +++++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/app/dashboard/bookings/page.tsx b/src/app/dashboard/bookings/page.tsx index e3f485d..2b0c1df 100644 --- a/src/app/dashboard/bookings/page.tsx +++ b/src/app/dashboard/bookings/page.tsx @@ -18,7 +18,7 @@ import { extractNameInitials } from "@/lib/utils"; import { useRouter } from "next/navigation"; import Scheduler from "@/components/dashboard/scheduler/Scheduler"; import { FaPlus } from "react-icons/fa6"; -import { CiFilter } from "react-icons/ci"; +import { FiFilter } from "react-icons/fi"; function Bookings() { const [user, setUser] = useState(); @@ -100,12 +100,12 @@ function Bookings() { Your Appointments at a glance. Book a new appointment now!
diff --git a/src/components/dashboard/scheduler/Scheduler.tsx b/src/components/dashboard/scheduler/Scheduler.tsx index adadd21..0818e1b 100644 --- a/src/components/dashboard/scheduler/Scheduler.tsx +++ b/src/components/dashboard/scheduler/Scheduler.tsx @@ -3,6 +3,7 @@ import { ScheduleComponent, ViewsDirective, ViewDirective, Inject, WorkWeek } fr import "./scheduler.scss"; import { registerLicense } from "@syncfusion/ej2-base"; import { Button } from "@/components/ui/button"; +import { FaArrowRight, FaArrowLeft } from "react-icons/fa6"; function Scheduler() { const data = [ @@ -54,12 +55,16 @@ function Scheduler() { return ( -
+
-

{props.Subject}

-
+
{new Intl.DateTimeFormat("en-US", { hour: "numeric", minute: "numeric" }).format(props.StartTime)}{" "} - -{" "} + {" "} {new Intl.DateTimeFormat("en-US", { hour: "numeric", minute: "numeric"