From ddf6f1d848fb276f7b8dc426f32cf279209b0ee9 Mon Sep 17 00:00:00 2001 From: Sinan Date: Sat, 31 Aug 2024 15:09:12 +0530 Subject: [PATCH] forget password model added --- client/app/page.tsx | 20 +++-- client/components/common/SubmitButton.tsx | 20 +---- .../components/forms/patient/SigninForm.tsx | 14 ++- .../components/models/ForgetPasswordModel.tsx | 90 +++++++++++++++++++ 4 files changed, 113 insertions(+), 31 deletions(-) create mode 100644 client/components/models/ForgetPasswordModel.tsx diff --git a/client/app/page.tsx b/client/app/page.tsx index f7b187d9..4377bf00 100644 --- a/client/app/page.tsx +++ b/client/app/page.tsx @@ -1,24 +1,30 @@ -// import AboutAyurveda from "@/components/(patient)/home/AboutAyurveda"; -// import ImageSlider from "@/components/(patient)/home/ImageSlider"; -// import WhyUs from "@/components/(patient)/home/WhyUs"; +// import AboutAyurveda from "@/components/patient/home/AboutAyurveda"; +// import ImageSlider from "@/components/patient/home/ImageSlider"; +// import WhyUs from "@/components/patient/home/WhyUs"; // import dynamic from "next/dynamic"; // import Loader from "@/components/common/Loader"; -// const FeaturesList = dynamic(()=>import("@/components/(patient)/home/FeatureList"),{ +// const FeaturesList = dynamic(()=>import("@/components/patient/home/FeatureList"),{ // loading:()=>, // }) -const Page = () => { +const HomePage = () => { return (
{/* */} - Home Page is not available due to overload 💪💪💪💪 +
+ 🚧 Hold your horses! 🐴 +
+ Iam currently working on some awesome animations and large items. +
+ Check back soon for a breathtaking experience! 🌟 +
); }; -export default Page; +export default HomePage; diff --git a/client/components/common/SubmitButton.tsx b/client/components/common/SubmitButton.tsx index 925c6cfb..2884efdb 100644 --- a/client/components/common/SubmitButton.tsx +++ b/client/components/common/SubmitButton.tsx @@ -6,26 +6,14 @@ interface SubmitButtonProps { isLoading: boolean; className?: string; children: React.ReactNode; + variant?: "default" | "outline" | "link" | "ghost" | "destructive" | "secondary" | null; } -const SubmitButton = ({ - isLoading, - className, - children, -}: SubmitButtonProps) => { +const SubmitButton = ({ isLoading, className, children, variant }: SubmitButtonProps) => { return ( - + + + + Send Reset Instructions + + + + + + + + ); +}; + +export default ForgotPasswordModal; \ No newline at end of file