Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
296
src/app/page.tsx
296
src/app/page.tsx
@@ -30,27 +30,17 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "/",
|
||||
},
|
||||
name: "Home", id: "/"},
|
||||
{
|
||||
name: "Directory",
|
||||
id: "/directory",
|
||||
},
|
||||
name: "Directory", id: "/directory"},
|
||||
{
|
||||
name: "Add Clinic",
|
||||
id: "/add-clinic",
|
||||
},
|
||||
name: "Add Clinic", id: "/add-clinic"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "/contact",
|
||||
},
|
||||
name: "Contact", id: "/contact"},
|
||||
]}
|
||||
brandName="Assiut MedDirectory"
|
||||
button={{
|
||||
text: "Login",
|
||||
href: "/login",
|
||||
}}
|
||||
text: "Login", href: "/login"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -58,45 +48,28 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardGallery
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Find Your Doctor in Assiut"
|
||||
description="Easily search for top medical professionals by name, specialty, or area. Get trusted healthcare information at your fingertips. Start your search below or explore popular specialties."
|
||||
buttons={[
|
||||
{
|
||||
text: "Search Now",
|
||||
href: "/directory",
|
||||
},
|
||||
text: "Search Now", href: "/directory"},
|
||||
{
|
||||
text: "Add Your Clinic",
|
||||
href: "/add-clinic",
|
||||
},
|
||||
text: "Add Your Clinic", href: "/add-clinic"},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/scientist-modern-equipped-medical-laboratory-examinining-drug-discovery-with-micropipette-medical-stuff-examining-vaccine-evolution-using-high-tech-technology-researching-treatment-developmen_482257-12815.jpg?_wi=1",
|
||||
imageAlt: "Modern clinic reception medical",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/scientist-modern-equipped-medical-laboratory-examinining-drug-discovery-with-micropipette-medical-stuff-examining-vaccine-evolution-using-high-tech-technology-researching-treatment-developmen_482257-12815.jpg", imageAlt: "Modern clinic reception medical"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/radiologists-team-analyze-x-rays-discuss-treatment-options-medical-office_482257-112854.jpg?_wi=1",
|
||||
imageAlt: "friendly doctor patient interaction",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/radiologists-team-analyze-x-rays-discuss-treatment-options-medical-office_482257-112854.jpg", imageAlt: "friendly doctor patient interaction"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/healthcare-expert-online-telemedicine-call-with-patients-using-smartphone_482257-94362.jpg?_wi=1",
|
||||
imageAlt: "doctor explaining test results",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/healthcare-expert-online-telemedicine-call-with-patients-using-smartphone_482257-94362.jpg", imageAlt: "doctor explaining test results"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/professional-dentist-tools-dental-office_1204-396.jpg?_wi=1",
|
||||
imageAlt: "dentist office clean modern",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/professional-dentist-tools-dental-office_1204-396.jpg", imageAlt: "dentist office clean modern"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-old-woman_23-2148940072.jpg?_wi=1",
|
||||
imageAlt: "medical professionals team white coats",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-old-woman_23-2148940072.jpg", imageAlt: "medical professionals team white coats"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spacious-corridor-with-metal-doors_1203-591.jpg?_wi=1",
|
||||
imageAlt: "doctor writing prescription tablet",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spacious-corridor-with-metal-doors_1203-591.jpg", imageAlt: "doctor writing prescription tablet"},
|
||||
]}
|
||||
mediaAnimation="opacity"
|
||||
/>
|
||||
@@ -109,107 +82,59 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Dentistry",
|
||||
description: "Comprehensive dental care for all ages.",
|
||||
icon: HelpCircle,
|
||||
title: "Dentistry", description: "Comprehensive dental care for all ages.", icon: HelpCircle,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/set-flat-elements-about-dentists_1212-47.jpg",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/set-flat-elements-about-dentists_1212-47.jpg", imageAlt: "dentistry icon tooth professional"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/anatomy-drawing-vintage-style_23-2151782974.jpg",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/scientist-modern-equipped-medical-laboratory-examinining-drug-discovery-with-micropipette-medical-stuff-examining-vaccine-evolution-using-high-tech-technology-researching-treatment-developmen_482257-12815.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/anatomy-drawing-vintage-style_23-2151782974.jpg", imageAlt: "dentistry icon tooth professional"},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Pediatrics",
|
||||
description: "Expert care for children's health and well-being.",
|
||||
icon: User,
|
||||
title: "Pediatrics", description: "Expert care for children's health and well-being.", icon: User,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/switzerland-flag-heart-banner_187299-34514.jpg",
|
||||
imageAlt: "pediatrics icon children doctor",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/switzerland-flag-heart-banner_187299-34514.jpg", imageAlt: "pediatrics icon children doctor"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cute-arrangement-paper-family-blue-background-with-fluffy-bunny_23-2148485759.jpg",
|
||||
imageAlt: "pediatrics icon children doctor",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/radiologists-team-analyze-x-rays-discuss-treatment-options-medical-office_482257-112854.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cute-arrangement-paper-family-blue-background-with-fluffy-bunny_23-2148485759.jpg", imageAlt: "pediatrics icon children doctor"},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Cardiology",
|
||||
description: "Specialized treatment for heart and vascular conditions.",
|
||||
icon: Heart,
|
||||
title: "Cardiology", description: "Specialized treatment for heart and vascular conditions.", icon: Heart,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-paper-heart-cut-out-with-heartbeat_23-2148635168.jpg",
|
||||
imageAlt: "cardiology icon heart beat",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-paper-heart-cut-out-with-heartbeat_23-2148635168.jpg", imageAlt: "cardiology icon heart beat"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-heart-day-concept-with-copy-space_23-2148610439.jpg",
|
||||
imageAlt: "cardiology icon heart beat",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/healthcare-expert-online-telemedicine-call-with-patients-using-smartphone_482257-94362.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-heart-day-concept-with-copy-space_23-2148610439.jpg", imageAlt: "cardiology icon heart beat"},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Orthopedics",
|
||||
description: "Solutions for musculoskeletal pain and injuries.",
|
||||
icon: HelpCircle,
|
||||
title: "Orthopedics", description: "Solutions for musculoskeletal pain and injuries.", icon: HelpCircle,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/leg-with-knee-pain_1048-2599.jpg",
|
||||
imageAlt: "orthopedics icon bone joint",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/leg-with-knee-pain_1048-2599.jpg", imageAlt: "orthopedics icon bone joint"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-flat-halloween-skeletons-collection_52683-72981.jpg",
|
||||
imageAlt: "orthopedics icon bone joint",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/professional-dentist-tools-dental-office_1204-396.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-flat-halloween-skeletons-collection_52683-72981.jpg", imageAlt: "orthopedics icon bone joint"},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Dermatology",
|
||||
description: "Care for skin, hair, and nail health.",
|
||||
icon: Droplet,
|
||||
title: "Dermatology", description: "Care for skin, hair, and nail health.", icon: Droplet,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/skin-25-solid-glyph-icon-pack-including-hair-conditioning-healthy-bones-bleeding-calcium-wound_1142-26721.jpg",
|
||||
imageAlt: "dermatology icon skin care",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/skin-25-solid-glyph-icon-pack-including-hair-conditioning-healthy-bones-bleeding-calcium-wound_1142-26721.jpg", imageAlt: "dermatology icon skin care"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/set-women-skin-care_603843-2840.jpg",
|
||||
imageAlt: "dermatology icon skin care",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-old-woman_23-2148940072.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/set-women-skin-care_603843-2840.jpg", imageAlt: "dermatology icon skin care"},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Neurology",
|
||||
description: "Treatments for brain and nervous system disorders.",
|
||||
icon: Activity,
|
||||
title: "Neurology", description: "Treatments for brain and nervous system disorders.", icon: Activity,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/human-brain-with-blood-drop-medical-vector-illustration_1308-183695.jpg",
|
||||
imageAlt: "neurology icon brain nerve",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/human-brain-with-blood-drop-medical-vector-illustration_1308-183695.jpg", imageAlt: "neurology icon brain nerve"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/round-infographic-human-brain_23-2147590841.jpg",
|
||||
imageAlt: "neurology icon brain nerve",
|
||||
},
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/spacious-corridor-with-metal-doors_1203-591.jpg?_wi=2",
|
||||
imageAlt: "dentistry icon tooth professional",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/round-infographic-human-brain_23-2147590841.jpg", imageAlt: "neurology icon brain nerve"},
|
||||
]
|
||||
}
|
||||
]}
|
||||
title="Browse Specialties"
|
||||
description="Discover doctors across a wide range of medical fields."
|
||||
@@ -224,25 +149,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "step1",
|
||||
value: "1",
|
||||
title: "Search",
|
||||
description: "Enter doctor's name, specialty, or location in the search bar.",
|
||||
icon: Search,
|
||||
id: "step1", value: "1", title: "Search", description: "Enter doctor's name, specialty, or location in the search bar.", icon: Search,
|
||||
},
|
||||
{
|
||||
id: "step2",
|
||||
value: "2",
|
||||
title: "Filter",
|
||||
description: "Refine your results by availability, price, or verification status.",
|
||||
icon: Filter,
|
||||
id: "step2", value: "2", title: "Filter", description: "Refine your results by availability, price, or verification status.", icon: Filter,
|
||||
},
|
||||
{
|
||||
id: "step3",
|
||||
value: "3",
|
||||
title: "Connect",
|
||||
description: "View doctor details and call for an appointment directly.",
|
||||
icon: Phone,
|
||||
id: "step3", value: "3", title: "Connect", description: "View doctor details and call for an appointment directly.", icon: Phone,
|
||||
},
|
||||
]}
|
||||
title="How It Works"
|
||||
@@ -256,25 +169,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "faq1",
|
||||
title: "How can I search for a doctor?",
|
||||
content: "You can search by doctor's name, medical specialty, or the specific area/street in Assiut using the search bar on the homepage.",
|
||||
},
|
||||
id: "faq1", title: "How can I search for a doctor?", content: "You can search by doctor's name, medical specialty, or the specific area/street in Assiut using the search bar on the homepage."},
|
||||
{
|
||||
id: "faq2",
|
||||
title: "Is the information on doctors verified?",
|
||||
content: "Our directory is community-driven. While we strive for accuracy, information is gathered from public sources or contributed by users. We recommend verifying details directly with the clinic.",
|
||||
},
|
||||
id: "faq2", title: "Is the information on doctors verified?", content: "Our directory is community-driven. While we strive for accuracy, information is gathered from public sources or contributed by users. We recommend verifying details directly with the clinic."},
|
||||
{
|
||||
id: "faq3",
|
||||
title: "Can I add my clinic to the directory?",
|
||||
content: "Yes, doctors or clinic representatives can submit their details through our 'Add a Clinic' page. We welcome new contributions to expand our directory.",
|
||||
},
|
||||
id: "faq3", title: "Can I add my clinic to the directory?", content: "Yes, doctors or clinic representatives can submit their details through our 'Add a Clinic' page. We welcome new contributions to expand our directory."},
|
||||
{
|
||||
id: "faq4",
|
||||
title: "How do I report incorrect information?",
|
||||
content: "Each doctor's card in the directory has a 'Report/Edit Data' button. You can use this to submit a correction or removal request easily.",
|
||||
},
|
||||
id: "faq4", title: "How do I report incorrect information?", content: "Each doctor's card in the directory has a 'Report/Edit Data' button. You can use this to submit a correction or removal request easily."},
|
||||
]}
|
||||
title="Frequently Asked Questions"
|
||||
description="Get quick answers to common questions about using our medical directory."
|
||||
@@ -292,59 +193,25 @@ export default function LandingPage() {
|
||||
description="Assiut MedDirectory is dedicated to enhancing healthcare access. See our key achievements and offerings."
|
||||
metrics={[
|
||||
{
|
||||
id: "patients",
|
||||
value: "10K+",
|
||||
title: "Patients Connected",
|
||||
items: [
|
||||
"Access to diverse specialties",
|
||||
"Easy appointment booking",
|
||||
"Verified doctor profiles",
|
||||
"User-friendly search interface",
|
||||
"Comprehensive clinic information",
|
||||
],
|
||||
id: "patients", value: "10K+", title: "Patients Connected", items: [
|
||||
"Access to diverse specialties", "Easy appointment booking", "Verified doctor profiles", "User-friendly search interface", "Comprehensive clinic information"],
|
||||
},
|
||||
{
|
||||
id: "clinics",
|
||||
value: "500+",
|
||||
title: "Clinics Listed",
|
||||
items: [
|
||||
"Increased visibility for doctors",
|
||||
"Simple submission process",
|
||||
"Community-driven growth",
|
||||
"Dedicated clinic profiles",
|
||||
"Exposure to a wide audience",
|
||||
],
|
||||
id: "clinics", value: "500+", title: "Clinics Listed", items: [
|
||||
"Increased visibility for doctors", "Simple submission process", "Community-driven growth", "Dedicated clinic profiles", "Exposure to a wide audience"],
|
||||
},
|
||||
{
|
||||
id: "satisfaction",
|
||||
value: "98%",
|
||||
title: "Satisfaction Rate",
|
||||
items: [
|
||||
"Responsive patient support",
|
||||
"Secure data handling",
|
||||
"Partnerships with medical bodies",
|
||||
"Continuous platform improvements",
|
||||
"Trusted information source",
|
||||
],
|
||||
id: "satisfaction", value: "98%", title: "Satisfaction Rate", items: [
|
||||
"Responsive patient support", "Secure data handling", "Partnerships with medical bodies", "Continuous platform improvements", "Trusted information source"],
|
||||
},
|
||||
{
|
||||
id: "specialties",
|
||||
value: "20+",
|
||||
title: "Medical Specialties",
|
||||
items: [
|
||||
"General Practice",
|
||||
"Specialized Clinics",
|
||||
"Emergency Contacts",
|
||||
"Diverse medical fields",
|
||||
"Growing network of experts",
|
||||
],
|
||||
id: "specialties", value: "20+", title: "Medical Specialties", items: [
|
||||
"General Practice", "Specialized Clinics", "Emergency Contacts", "Diverse medical fields", "Growing network of experts"],
|
||||
},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Explore Full Directory",
|
||||
href: "/directory",
|
||||
},
|
||||
text: "Explore Full Directory", href: "/directory"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -354,62 +221,37 @@ export default function LandingPage() {
|
||||
logoText="Assiut MedDirectory"
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links",
|
||||
items: [
|
||||
title: "Quick Links", items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "/",
|
||||
},
|
||||
label: "Home", href: "/"},
|
||||
{
|
||||
label: "Directory",
|
||||
href: "/directory",
|
||||
},
|
||||
label: "Directory", href: "/directory"},
|
||||
{
|
||||
label: "Add Clinic",
|
||||
href: "/add-clinic",
|
||||
},
|
||||
label: "Add Clinic", href: "/add-clinic"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "/contact",
|
||||
},
|
||||
label: "Contact", href: "/contact"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Specialties",
|
||||
items: [
|
||||
title: "Specialties", items: [
|
||||
{
|
||||
label: "Dentistry",
|
||||
href: "/directory?specialty=dentistry",
|
||||
},
|
||||
label: "Dentistry", href: "/directory?specialty=dentistry"},
|
||||
{
|
||||
label: "Pediatrics",
|
||||
href: "/directory?specialty=pediatrics",
|
||||
},
|
||||
label: "Pediatrics", href: "/directory?specialty=pediatrics"},
|
||||
{
|
||||
label: "Cardiology",
|
||||
href: "/directory?specialty=cardiology",
|
||||
},
|
||||
label: "Cardiology", href: "/directory?specialty=cardiology"},
|
||||
{
|
||||
label: "Orthopedics",
|
||||
href: "/directory?specialty=orthopedics",
|
||||
},
|
||||
label: "Orthopedics", href: "/directory?specialty=orthopedics"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
{
|
||||
label: "Disclaimer",
|
||||
href: "#",
|
||||
},
|
||||
label: "Disclaimer", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user