From 86698175fec3763308bad59bf71d4acffe0fbc97 Mon Sep 17 00:00:00 2001 From: Sinan Date: Fri, 23 Aug 2024 18:35:37 +0530 Subject: [PATCH] tabler icons removed with svg files --- .../new-appointment/success/page.tsx | 82 ++++++++----------- client/{lib/redux => app}/StoreProvider.tsx | 2 +- client/app/layout.tsx | 2 +- client/components/CustomFormField.tsx | 4 +- client/components/NavBar.tsx | 14 +++- client/components/forms/SignupForm.tsx | 5 +- client/components/forms/doctor/SigninForm.tsx | 4 +- client/components/ui/sidebar.tsx | 67 +++++---------- client/constants/index.tsx | 30 +++---- client/package-lock.json | 25 ------ client/package.json | 1 - client/public/assets/icons/calendar.svg | 1 + client/public/assets/icons/email.svg | 4 + client/public/assets/icons/user-filled.svg | 4 + client/public/assets/icons/user.svg | 3 + client/public/assets/icons/x.svg | 3 + 16 files changed, 95 insertions(+), 156 deletions(-) rename client/{lib/redux => app}/StoreProvider.tsx (82%) create mode 100644 client/public/assets/icons/calendar.svg create mode 100644 client/public/assets/icons/email.svg create mode 100644 client/public/assets/icons/user-filled.svg create mode 100644 client/public/assets/icons/user.svg create mode 100644 client/public/assets/icons/x.svg diff --git a/client/app/(patient)/new-appointment/success/page.tsx b/client/app/(patient)/new-appointment/success/page.tsx index f0b21996..57f4f256 100644 --- a/client/app/(patient)/new-appointment/success/page.tsx +++ b/client/app/(patient)/new-appointment/success/page.tsx @@ -1,54 +1,38 @@ -import { Button } from '@/components/ui/button' -import Image from 'next/image' -import Link from 'next/link' -import React from 'react' +import { Button } from "@/components/ui/button"; +import Image from "next/image"; +import Link from "next/link"; +import React from "react"; const SuccessPage = () => { return ( -
-
- - Logo - -
- Success -

- Your Appointment request has been successfully submitted!. -

-

We will be in touch shortly to confirm.

-
-
-

Request Appointment details

-
- Calendar -

Date: October 12, 2022, 3:00 PM

-
-
- -

© 2024 AVM Ayurveda's

-
+
+
+ + Logo + +
+ Success +

+ Your Appointment request has been successfully submitted!. +

+

We will be in touch shortly to confirm.

+
+
+

Request Appointment details

+
+ Calendar +

+ Date: October 12, 2022, 3:00 PM +

+
+
+ +

© 2024 AVM Ayurveda's

+
- ) -} + ); +}; -export default SuccessPage \ No newline at end of file +export default SuccessPage; diff --git a/client/lib/redux/StoreProvider.tsx b/client/app/StoreProvider.tsx similarity index 82% rename from client/lib/redux/StoreProvider.tsx rename to client/app/StoreProvider.tsx index 67f69d68..a3cc78f2 100644 --- a/client/lib/redux/StoreProvider.tsx +++ b/client/app/StoreProvider.tsx @@ -1,7 +1,7 @@ 'use client'; import { Provider } from 'react-redux'; -import { store } from './store'; +import { store } from '@/lib/redux/store'; export default function StoreProvider({ children }: { children: React.ReactNode }) { return {children}; diff --git a/client/app/layout.tsx b/client/app/layout.tsx index 9bbfcdd1..73259fac 100644 --- a/client/app/layout.tsx +++ b/client/app/layout.tsx @@ -3,7 +3,7 @@ import { Plus_Jakarta_Sans } from "next/font/google"; import "../styles/globals.css"; import { cn } from "@/lib/utils"; import { ThemeProvider } from "@/components/theme-provider"; -import StoreProvider from "../lib/redux/StoreProvider"; +import StoreProvider from "./StoreProvider"; import NavBar from "@/components/NavBar"; const inter = Plus_Jakarta_Sans({ diff --git a/client/components/CustomFormField.tsx b/client/components/CustomFormField.tsx index 6f6c15a6..e17c32fd 100644 --- a/client/components/CustomFormField.tsx +++ b/client/components/CustomFormField.tsx @@ -18,7 +18,7 @@ import { Select } from "@radix-ui/react-select"; import { SelectContent, SelectTrigger, SelectValue } from "./ui/select"; import { Checkbox } from "./ui/checkbox"; import { Textarea } from "./ui/textarea"; -import { IconCalendar } from "@tabler/icons-react"; + const RenderField = ({ field, props }: { field: any; props: CustomProps }) => { const { @@ -71,7 +71,7 @@ const RenderField = ({ field, props }: { field: any; props: CustomProps }) => { case FormFieldType.DATE_PICKER: return (
- + Calendar