{`Dr. ${name}`}
33 |{`${yearsOfExperience} years of experience`}
34 |35 | {isExpanded ? about : sliceText(about, 50)} 36 | {about.length > 50 && ( 37 | 40 | )} 41 |
42 |├── app ├── _components │ ├── Footer │ │ ├── index.css │ │ └── index.tsx │ ├── FooterInfo │ │ ├── index.css │ │ └── index.tsx │ ├── Pagination │ │ ├── index.css │ │ └── index.tsx │ ├── SpecialtyBox │ │ ├── index.css │ │ └── index.tsx │ ├── MobileMenu │ │ ├── index.css │ │ └── index.tsx │ ├── SectionTitle │ │ ├── index.css │ │ └── index.tsx │ ├── HeroImage │ │ ├── index.css │ │ └── index.tsx │ ├── Header │ │ ├── index.css │ │ └── index.tsx │ ├── IconContainer │ │ ├── index.css │ │ └── index.tsx │ ├── Hero │ │ ├── index.css │ │ └── index.tsx │ ├── ui │ │ └── LinkButton │ │ │ ├── index.css │ │ │ └── index.tsx │ ├── PaginatedContent │ │ ├── index.css │ │ └── index.tsx │ ├── DoctorCardFooter │ │ ├── index.css │ │ └── index.tsx │ ├── DoctorCardImage │ │ ├── index.css │ │ └── index.tsx │ ├── HeroContent │ │ ├── index.css │ │ └── index.tsx │ ├── HeroNavigation │ │ ├── index.css │ │ └── index.tsx │ ├── Logo │ │ └── index.tsx │ ├── PaginationControls │ │ ├── index.css │ │ └── index.tsx │ ├── GategorySearch │ │ ├── index.tsx │ │ └── index.css │ ├── PageButton │ │ ├── index.css │ │ └── index.tsx │ ├── Categories │ │ ├── index.css │ │ └── index.tsx │ ├── DoctorCardContent │ │ ├── index.css │ │ └── index.tsx │ ├── NavLinks │ │ ├── index.tsx │ │ └── index.css │ ├── hooks │ │ └── useLocalStorage.ts │ ├── DoctorCard │ │ ├── index.tsx │ │ └── index.css │ ├── Socials │ │ └── index.tsx │ ├── FavoriteButton │ │ └── index.tsx │ ├── DoctorsList │ │ └── index.tsx │ ├── CategorySearchBox │ │ ├── index.tsx │ │ └── index.css │ ├── FavoriteDoctor │ │ └── index.tsx │ ├── FavoriteCart │ │ └── index.tsx │ └── EmptyState │ │ └── index.tsx ├── favicon.ico ├── types │ └── index.ts ├── (routes) │ ├── details │ │ ├── layout.tsx │ │ ├── _components │ │ │ ├── ErrorMessage │ │ │ │ └── index.tsx │ │ │ ├── ContactInfo │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ ├── Button │ │ │ │ └── index.tsx │ │ │ ├── DoctorImage │ │ │ │ ├── index.tsx │ │ │ │ └── index.css │ │ │ ├── DoctorBody │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ ├── SuggestedDoctors │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ ├── AppointmentDialog │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ ├── DoctorSmallCard │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ │ ├── Details │ │ │ │ └── index.tsx │ │ │ └── AppointmentForm │ │ │ │ └── index.tsx │ │ ├── [recordId] │ │ │ ├── index.css │ │ │ └── page.tsx │ │ └── _ui │ │ │ ├── FormButton.tsx │ │ │ ├── FormField.tsx │ │ │ ├── CalendarField.tsx │ │ │ ├── FormRadioGroup.tsx │ │ │ └── FormSelect.tsx │ ├── search │ │ ├── _components │ │ │ └── CategoryList │ │ │ │ ├── index.css │ │ │ │ └── index.tsx │ │ ├── [categoryName] │ │ │ └── page.tsx │ │ └── layout.tsx │ └── appointments │ │ ├── index.css │ │ ├── _components │ │ ├── index.css │ │ ├── DeleteConfirmationDialog.tsx │ │ └── Appointment.tsx │ │ └── page.tsx ├── _utils │ └── index.ts ├── metadata.ts ├── globals.css ├── _animation │ └── index.ts ├── layout.tsx ├── page.tsx ├── _validations │ └── index.ts ├── _context │ └── MenuFavoriteContext.tsx └── _interfaces │ └── index.ts ├── public ├── doctors.webp ├── doctors1.webp ├── robots.txt ├── doctor-booking.webp ├── doctors │ ├── doctor1.webp │ ├── doctor10.webp │ ├── doctor11.webp │ ├── doctor12.webp │ ├── doctor13.webp │ ├── doctor14.webp │ ├── doctor15.webp │ ├── doctor16.webp │ ├── doctor17.webp │ ├── doctor18.webp │ ├── doctor19.webp │ ├── doctor2.webp │ ├── doctor20.webp │ ├── doctor21.webp │ ├── doctor22.webp │ ├── doctor23.webp │ ├── doctor24.webp │ ├── doctor25.webp │ ├── doctor26.webp │ ├── doctor27.webp │ ├── doctor28.webp │ ├── doctor29.webp │ ├── doctor3.webp │ ├── doctor30.webp │ ├── doctor31.webp │ ├── doctor32.webp │ ├── doctor33.webp │ ├── doctor34.webp │ ├── doctor35.webp │ ├── doctor36.webp │ ├── doctor37.webp │ ├── doctor38.webp │ ├── doctor39.webp │ ├── doctor4.webp │ ├── doctor40.webp │ ├── doctor41.webp │ ├── doctor42.webp │ ├── doctor43.webp │ ├── doctor44.webp │ ├── doctor45.webp │ ├── doctor46.webp │ ├── doctor47.webp │ ├── doctor48.webp │ ├── doctor49.webp │ ├── doctor5.webp │ ├── doctor50.webp │ ├── doctor51.webp │ ├── doctor52.webp │ ├── doctor53.webp │ ├── doctor54.webp │ ├── doctor55.webp │ ├── doctor56.webp │ ├── doctor57.webp │ ├── doctor58.webp │ ├── doctor59.webp │ ├── doctor6.webp │ ├── doctor60.webp │ ├── doctor7.webp │ ├── doctor8.webp │ └── doctor9.webp ├── heroSlides │ ├── slide1.webp │ ├── slide2.webp │ └── slide3.webp ├── SVGs │ ├── search.svg │ ├── menu-hamburger.svg │ ├── bones.svg │ ├── ear.svg │ ├── heart.svg │ ├── dentist.svg │ └── brain.svg ├── vercel.svg ├── next.svg └── Logo.svg ├── next.config.mjs ├── postcss.config.mjs ├── next-sitemap.config.ts ├── lib └── utils.ts ├── components.json ├── .gitignore ├── tsconfig.json ├── components └── ui │ ├── input.tsx │ ├── button.tsx │ ├── calendar.tsx │ ├── pagination.tsx │ ├── dialog.tsx │ ├── sheet.tsx │ ├── command.tsx │ └── carousel.tsx ├── package.json ├── tailwind.config.ts └── README.md /app/_components/Footer/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/_components/FooterInfo/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/_components/Pagination/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/_components/SpecialtyBox/index.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/_components/MobileMenu/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /public/doctors.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors.webp -------------------------------------------------------------------------------- /public/doctors1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors1.webp -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {}; 3 | 4 | export default nextConfig; 5 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /api/ 3 | Allow: / 4 | 5 | Sitemap: https://yourdomain.com/sitemap.xml 6 | -------------------------------------------------------------------------------- /public/doctor-booking.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctor-booking.webp -------------------------------------------------------------------------------- /public/doctors/doctor1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor1.webp -------------------------------------------------------------------------------- /public/doctors/doctor10.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor10.webp -------------------------------------------------------------------------------- /public/doctors/doctor11.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor11.webp -------------------------------------------------------------------------------- /public/doctors/doctor12.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor12.webp -------------------------------------------------------------------------------- /public/doctors/doctor13.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor13.webp -------------------------------------------------------------------------------- /public/doctors/doctor14.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor14.webp -------------------------------------------------------------------------------- /public/doctors/doctor15.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor15.webp -------------------------------------------------------------------------------- /public/doctors/doctor16.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor16.webp -------------------------------------------------------------------------------- /public/doctors/doctor17.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor17.webp -------------------------------------------------------------------------------- /public/doctors/doctor18.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor18.webp -------------------------------------------------------------------------------- /public/doctors/doctor19.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor19.webp -------------------------------------------------------------------------------- /public/doctors/doctor2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor2.webp -------------------------------------------------------------------------------- /public/doctors/doctor20.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor20.webp -------------------------------------------------------------------------------- /public/doctors/doctor21.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor21.webp -------------------------------------------------------------------------------- /public/doctors/doctor22.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor22.webp -------------------------------------------------------------------------------- /public/doctors/doctor23.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor23.webp -------------------------------------------------------------------------------- /public/doctors/doctor24.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor24.webp -------------------------------------------------------------------------------- /public/doctors/doctor25.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor25.webp -------------------------------------------------------------------------------- /public/doctors/doctor26.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor26.webp -------------------------------------------------------------------------------- /public/doctors/doctor27.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor27.webp -------------------------------------------------------------------------------- /public/doctors/doctor28.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor28.webp -------------------------------------------------------------------------------- /public/doctors/doctor29.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor29.webp -------------------------------------------------------------------------------- /public/doctors/doctor3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor3.webp -------------------------------------------------------------------------------- /public/doctors/doctor30.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor30.webp -------------------------------------------------------------------------------- /public/doctors/doctor31.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor31.webp -------------------------------------------------------------------------------- /public/doctors/doctor32.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor32.webp -------------------------------------------------------------------------------- /public/doctors/doctor33.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor33.webp -------------------------------------------------------------------------------- /public/doctors/doctor34.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor34.webp -------------------------------------------------------------------------------- /public/doctors/doctor35.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor35.webp -------------------------------------------------------------------------------- /public/doctors/doctor36.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor36.webp -------------------------------------------------------------------------------- /public/doctors/doctor37.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor37.webp -------------------------------------------------------------------------------- /public/doctors/doctor38.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor38.webp -------------------------------------------------------------------------------- /public/doctors/doctor39.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor39.webp -------------------------------------------------------------------------------- /public/doctors/doctor4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor4.webp -------------------------------------------------------------------------------- /public/doctors/doctor40.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor40.webp -------------------------------------------------------------------------------- /public/doctors/doctor41.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor41.webp -------------------------------------------------------------------------------- /public/doctors/doctor42.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor42.webp -------------------------------------------------------------------------------- /public/doctors/doctor43.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor43.webp -------------------------------------------------------------------------------- /public/doctors/doctor44.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor44.webp -------------------------------------------------------------------------------- /public/doctors/doctor45.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor45.webp -------------------------------------------------------------------------------- /public/doctors/doctor46.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor46.webp -------------------------------------------------------------------------------- /public/doctors/doctor47.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor47.webp -------------------------------------------------------------------------------- /public/doctors/doctor48.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor48.webp -------------------------------------------------------------------------------- /public/doctors/doctor49.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor49.webp -------------------------------------------------------------------------------- /public/doctors/doctor5.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor5.webp -------------------------------------------------------------------------------- /public/doctors/doctor50.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor50.webp -------------------------------------------------------------------------------- /public/doctors/doctor51.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor51.webp -------------------------------------------------------------------------------- /public/doctors/doctor52.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor52.webp -------------------------------------------------------------------------------- /public/doctors/doctor53.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor53.webp -------------------------------------------------------------------------------- /public/doctors/doctor54.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor54.webp -------------------------------------------------------------------------------- /public/doctors/doctor55.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor55.webp -------------------------------------------------------------------------------- /public/doctors/doctor56.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor56.webp -------------------------------------------------------------------------------- /public/doctors/doctor57.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor57.webp -------------------------------------------------------------------------------- /public/doctors/doctor58.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor58.webp -------------------------------------------------------------------------------- /public/doctors/doctor59.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor59.webp -------------------------------------------------------------------------------- /public/doctors/doctor6.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor6.webp -------------------------------------------------------------------------------- /public/doctors/doctor60.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor60.webp -------------------------------------------------------------------------------- /public/doctors/doctor7.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor7.webp -------------------------------------------------------------------------------- /public/doctors/doctor8.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor8.webp -------------------------------------------------------------------------------- /public/doctors/doctor9.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/doctors/doctor9.webp -------------------------------------------------------------------------------- /public/heroSlides/slide1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/heroSlides/slide1.webp -------------------------------------------------------------------------------- /public/heroSlides/slide2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/heroSlides/slide2.webp -------------------------------------------------------------------------------- /public/heroSlides/slide3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mahmoud-saeed1/booking-doctor-appointment/HEAD/public/heroSlides/slide3.webp -------------------------------------------------------------------------------- /app/types/index.ts: -------------------------------------------------------------------------------- 1 | export type TSpecialty = 2 | | "dentist" 3 | | "cardiologist" 4 | | "orthopedic" 5 | | "neurologist" 6 | | "otology" 7 | | "general"; 8 | -------------------------------------------------------------------------------- /app/_components/SectionTitle/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | h1{ 6 | @apply text-4xl font-bold text-center; 7 | } -------------------------------------------------------------------------------- /app/_components/HeroImage/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | .hero-image-container { 6 | @apply relative h-full; 7 | } 8 | -------------------------------------------------------------------------------- /app/_components/FooterInfo/index.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | const FooterInof = () => { 4 | return
{message}
: null; 4 | }; 5 | 6 | export default ErrorMessage; 7 | -------------------------------------------------------------------------------- /app/_components/ui/LinkButton/index.css: -------------------------------------------------------------------------------- 1 | .link{ 2 | @apply bg-blue-700 px-4 py-3 text-white font-bold mt-4 rounded-[0.5rem] tracking-wider hover:ring-primary capitalize hover:ring-2 hover:bg-white hover:text-blue-700 hover:tracking-widest transition-all duration-300 ease-in-out 3 | } -------------------------------------------------------------------------------- /app/(routes)/details/_components/ContactInfo/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | .contact-info { 6 | @apply flex flex-col md:flex-row md:items-center; 7 | } 8 | 9 | .contact-info__item { 10 | @apply text-gray-700 mb-2 md:mb-0 md:mr-4; 11 | } 12 | -------------------------------------------------------------------------------- /app/_components/IconContainer/index.tsx: -------------------------------------------------------------------------------- 1 | import { IIconsContainer } from "@/app/_interfaces"; 2 | import "./index.css"; 3 | 4 | const IconContainer = ({ className, children }: IIconsContainer) => { 5 | return{label}
15 | 16 | ))} 17 |8 | Address: 9 | {doctorData.address} 10 |
11 |12 | Phone: 13 | {doctorData.phone} 14 |
15 |16 | Experience: {doctorData.yearsOfExperience} years 17 |
18 |{doctorData.about}
26 | {/* Contact Info */} 27 |{`${yearsOfExperience} years of experience`}
34 |35 | {isExpanded ? about : sliceText(about, 50)} 36 | {about.length > 50 && ( 37 | 40 | )} 41 |
42 |{`Dr. ${doctor.name}`}
39 |{label}
34 | 35 |search your doctor and book appointment in one click
33 | 34 |47 | {`Dr. ${doctorData.name}`} 48 |
49 | 50 |{message}
53 | 54 | {/* Optional Button */} 55 | {onButtonClick ? ( 56 | 62 | ) : useLinks ? ( 63 | 67 | {buttonLabel} 68 | 69 | ) : ( 70 | 74 | {buttonLabel} 75 | 76 | )} 77 |55 | {appointment.doctorSpecialty} 56 |
57 |62 | Date:{" "} 63 | {new Date(appointment.date).toLocaleDateString()} 64 |
65 |66 | Time Slot: {appointment.timeSlot} 67 |
68 |