-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
95 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<div className='flex h-screen max-h-screen px-[5%]'> | ||
<div className="success-img"> | ||
<Link href='/'> | ||
<Image | ||
src={'/assets/icons/logo-full.svg'} | ||
width={1000} | ||
height={1000} | ||
alt='Logo' | ||
className='h-10 w-fit' | ||
/> | ||
</Link> | ||
<section className='flex flex-col items-center'> | ||
<Image | ||
src={'/assets/gifs/success.gif'} | ||
width={300} | ||
height={280} | ||
alt='Success' | ||
/> | ||
<h2 className='header mb-6 max-w-[600px] text-center'> | ||
Your <span className='text-green-500'>Appointment request</span> has been successfully submitted!. | ||
</h2> | ||
<p>We will be in touch shortly to confirm.</p> | ||
</section> | ||
<section className='request-details'> | ||
<p>Request Appointment details</p> | ||
<div className='flex gap-3'> | ||
<Image | ||
src={'/assets/icons/calendar.svg'} | ||
width={24} | ||
height={24} | ||
alt='Calendar' | ||
/> | ||
<p>Date: <span className='text-gray-300'>October 12, 2022, 3:00 PM </span></p> | ||
</div> | ||
</section> | ||
<Button variant={'outline'} className='shad-primary-btn' asChild> | ||
<Link href={'/patient/new-appointment'}> | ||
New Appointment | ||
</Link> | ||
</Button> | ||
<p className='copyright'>© 2024 AVM Ayurveda's</p> | ||
</div> | ||
<div className="flex h-screen max-h-screen px-[5%]"> | ||
<div className="success-img"> | ||
<Link href="/"> | ||
<Image src={"/assets/icons/logo-full.svg"} width={1000} height={1000} alt="Logo" className="h-10 w-fit" /> | ||
</Link> | ||
<section className="flex flex-col items-center"> | ||
<Image src={"/assets/gifs/success.gif"} className="w-auto h-auto" priority width={300} height={280} alt="Success" /> | ||
<h2 className="header mb-6 max-w-[600px] text-center"> | ||
Your <span className="text-green-500">Appointment request</span> has been successfully submitted!. | ||
</h2> | ||
<p>We will be in touch shortly to confirm.</p> | ||
</section> | ||
<section className="request-details"> | ||
<p>Request Appointment details</p> | ||
<div className="flex gap-3"> | ||
<Image src={"/assets/icons/calendar.svg"} width={24} height={24} alt="Calendar" /> | ||
<p> | ||
Date: <span className="text-gray-300">October 12, 2022, 3:00 PM </span> | ||
</p> | ||
</div> | ||
</section> | ||
<Button variant={"outline"} className="shad-primary-btn" asChild> | ||
<Link href={"/patient/new-appointment"}>New Appointment</Link> | ||
</Button> | ||
<p className="copyright">© 2024 AVM Ayurveda's</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default SuccessPage | ||
export default SuccessPage; |
2 changes: 1 addition & 1 deletion
2
client/lib/redux/StoreProvider.tsx → client/app/StoreProvider.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ import SubmitButton from "@/components/SubmitButton"; | |
import { signupFormValidation } from "@/lib/userValidation"; | ||
import { FormFieldType } from "@/types/fromTypes"; | ||
import Link from "next/link"; | ||
import { IconMail, IconUser } from "@tabler/icons-react"; | ||
|
||
const RegistrationForm = () => { | ||
const [isLoading, setIsLoading] = useState<boolean>(false); | ||
|
@@ -57,7 +56,7 @@ const RegistrationForm = () => { | |
name="name" | ||
label="Full Name *" | ||
placeholder="John Doe" | ||
Icon={IconUser} | ||
iconSrc="/assets/icons/user.svg" | ||
/> | ||
|
||
{/* EMAIL & PHONE */} | ||
|
@@ -68,7 +67,7 @@ const RegistrationForm = () => { | |
name="email" | ||
label="Email address *" | ||
placeholder="[email protected]" | ||
Icon={IconMail} | ||
iconSrc={'/assets/icons/email.svg'} | ||
/> | ||
|
||
<CustomFormField | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,7 @@ import { Form } from "@/components/ui/form"; | |
import CustomFormField from "@/components/CustomFormField"; | ||
import SubmitButton from "@/components/SubmitButton"; | ||
import { signinFormValidation } from "@/lib/adminValidation"; | ||
import Link from "next/link"; | ||
import { FormFieldType } from "@/types/fromTypes"; | ||
import { IconMail } from "@tabler/icons-react"; | ||
|
||
const SigninForm = () => { | ||
const [isLoading, setIsLoading] = useState<boolean>(false); | ||
|
@@ -44,7 +42,7 @@ const SigninForm = () => { | |
name="email" | ||
label="Email address *" | ||
placeholder="[email protected]" | ||
Icon={IconMail} | ||
iconSrc={'/assets/icons/email.svg'} | ||
/> | ||
|
||
<CustomFormField | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.