From e55665f8dfdc46a0fd6f0bc9298bcc4a60a869a5 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:13:13 +0000 Subject: [PATCH 1/3] Update src/app/about/page.tsx --- src/app/about/page.tsx | 87 ++++++++++-------------------------------- 1 file changed, 20 insertions(+), 67 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 3023b7e..3d976d4 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -35,9 +35,7 @@ export default function AboutPage() { { name: "FAQ", id: "faq" }, ]} button={{ - text: "Book Appointment", - href: "#contact", - }} + text: "Book Appointment", href: "#contact"}} className="sticky top-0 z-50" /> @@ -49,14 +47,12 @@ export default function AboutPage() { description="Established with a vision to deliver world-class healthcare, MediCare Hospital combines cutting-edge medical technology with compassionate patient care. Our team of experienced specialists is dedicated to providing personalized treatment and excellent outcomes for every patient. We believe in the power of compassion combined with clinical excellence to transform patient outcomes." tag="About Us" tagIcon={Heart} - imageSrc="http://img.b2bpic.net/free-photo/pediatric-dentist-looking-camera-smiling-while-man-assistand-speaking-with-patients-about-dental-hygiene-background-stomatologist-sitting-front-webcam-working-dentistry-clinic_482257-3289.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/pediatric-dentist-looking-camera-smiling-while-man-assistand-speaking-with-patients-about-dental-hygiene-background-stomatologist-sitting-front-webcam-working-dentistry-clinic_482257-3289.jpg" imageAlt="MediCare Hospital facility" useInvertedBackground={false} buttons={[ { - text: "Explore Services", - href: "/", - }, + text: "Explore Services", href: "/"}, ]} ariaLabel="About section - MediCare Hospital" /> @@ -68,32 +64,16 @@ export default function AboutPage() { title="Meet Our Expert Specialists and Medical Professionals" tag="Our Team" tagAnimation="slide-up" - membersAnimation="entrance-slide" + membersAnimation="slide-up" members={[ { - id: "1", - name: "Dr. Priya Sharma", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-health-worker_23-2148980790.jpg?_wi=1", - imageAlt: "Dr. Priya Sharma - Gynecologist", - }, + id: "1", name: "Dr. Priya Sharma", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-health-worker_23-2148980790.jpg", imageAlt: "Dr. Priya Sharma - Gynecologist"}, { - id: "2", - name: "Dr. Rajesh Kumar", - imageSrc: "http://img.b2bpic.net/free-photo/cinematic-portrait-woman-working-healthcare-system-having-care-job_23-2151237605.jpg?_wi=1", - imageAlt: "Dr. Rajesh Kumar - General Medicine", - }, + id: "2", name: "Dr. Rajesh Kumar", imageSrc: "http://img.b2bpic.net/free-photo/cinematic-portrait-woman-working-healthcare-system-having-care-job_23-2151237605.jpg", imageAlt: "Dr. Rajesh Kumar - General Medicine"}, { - id: "3", - name: "Dr. Anita Patel", - imageSrc: "http://img.b2bpic.net/free-photo/specialist-leading-meeting-with-medical-team-discuss-treatment-service_482257-106971.jpg?_wi=1", - imageAlt: "Dr. Anita Patel - Orthopedics", - }, + id: "3", name: "Dr. Anita Patel", imageSrc: "http://img.b2bpic.net/free-photo/specialist-leading-meeting-with-medical-team-discuss-treatment-service_482257-106971.jpg", imageAlt: "Dr. Anita Patel - Orthopedics"}, { - id: "4", - name: "Dr. Vikram Singh", - imageSrc: "http://img.b2bpic.net/free-photo/cheerful-indiian-businessman_1098-16877.jpg?_wi=1", - imageAlt: "Dr. Vikram Singh - Surgery", - }, + id: "4", name: "Dr. Vikram Singh", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-indiian-businessman_1098-16877.jpg", imageAlt: "Dr. Vikram Singh - Surgery"}, ]} memberVariant="card" useInvertedBackground={false} @@ -105,35 +85,17 @@ export default function AboutPage() { Date: Thu, 12 Mar 2026 17:13:14 +0000 Subject: [PATCH 2/3] Update src/app/doctors/page.tsx --- src/app/doctors/page.tsx | 114 ++++++++------------------------------- 1 file changed, 21 insertions(+), 93 deletions(-) diff --git a/src/app/doctors/page.tsx b/src/app/doctors/page.tsx index ba1e5c3..b078b47 100644 --- a/src/app/doctors/page.tsx +++ b/src/app/doctors/page.tsx @@ -35,9 +35,7 @@ export default function DoctorsPage() { { name: "FAQ", id: "faq" }, ]} button={{ - text: "Book Appointment", - href: "#contact", - }} + text: "Book Appointment", href: "#contact"}} className="sticky top-0 z-50" /> @@ -48,32 +46,16 @@ export default function DoctorsPage() { title="Meet Our Expert Specialists and Medical Professionals" tag="Our Team" tagAnimation="slide-up" - membersAnimation="entrance-slide" + membersAnimation="slide-up" members={[ { - id: "1", - name: "Dr. Priya Sharma", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-health-worker_23-2148980790.jpg?_wi=2", - imageAlt: "Dr. Priya Sharma - Gynecologist", - }, + id: "1", name: "Dr. Priya Sharma", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-health-worker_23-2148980790.jpg", imageAlt: "Dr. Priya Sharma - Gynecologist"}, { - id: "2", - name: "Dr. Rajesh Kumar", - imageSrc: "http://img.b2bpic.net/free-photo/cinematic-portrait-woman-working-healthcare-system-having-care-job_23-2151237605.jpg?_wi=2", - imageAlt: "Dr. Rajesh Kumar - General Medicine", - }, + id: "2", name: "Dr. Rajesh Kumar", imageSrc: "http://img.b2bpic.net/free-photo/cinematic-portrait-woman-working-healthcare-system-having-care-job_23-2151237605.jpg", imageAlt: "Dr. Rajesh Kumar - General Medicine"}, { - id: "3", - name: "Dr. Anita Patel", - imageSrc: "http://img.b2bpic.net/free-photo/specialist-leading-meeting-with-medical-team-discuss-treatment-service_482257-106971.jpg?_wi=2", - imageAlt: "Dr. Anita Patel - Orthopedics", - }, + id: "3", name: "Dr. Anita Patel", imageSrc: "http://img.b2bpic.net/free-photo/specialist-leading-meeting-with-medical-team-discuss-treatment-service_482257-106971.jpg", imageAlt: "Dr. Anita Patel - Orthopedics"}, { - id: "4", - name: "Dr. Vikram Singh", - imageSrc: "http://img.b2bpic.net/free-photo/cheerful-indiian-businessman_1098-16877.jpg?_wi=2", - imageAlt: "Dr. Vikram Singh - Surgery", - }, + id: "4", name: "Dr. Vikram Singh", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-indiian-businessman_1098-16877.jpg", imageAlt: "Dr. Vikram Singh - Surgery"}, ]} memberVariant="card" useInvertedBackground={false} @@ -92,22 +74,13 @@ export default function DoctorsPage() { features={[ { id: 1, - title: "Dr. Priya Sharma - Gynaecologist", - description: "Specializing in women's health with 15+ years of experience in obstetrics, gynecology, and maternal care. Dedicated to providing compassionate healthcare for all stages of women's life.", - imageSrc: "http://img.b2bpic.net/free-photo/pregnant-woman-having-caesarean-surgery-pushing-hard-while-medical-team-delivery-baby-hopsital-ward-pregnant-woman-having-paniful-contractions-giving-birth-child-being-comforting-by-husband_482257-70920.jpg?_wi=3", - }, + title: "Dr. Priya Sharma - Gynaecologist", description: "Specializing in women's health with 15+ years of experience in obstetrics, gynecology, and maternal care. Dedicated to providing compassionate healthcare for all stages of women's life.", imageSrc: "http://img.b2bpic.net/free-photo/pregnant-woman-having-caesarean-surgery-pushing-hard-while-medical-team-delivery-baby-hopsital-ward-pregnant-woman-having-paniful-contractions-giving-birth-child-being-comforting-by-husband_482257-70920.jpg"}, { id: 2, - title: "Dr. Rajesh Kumar - General Medicine", - description: "Expert in internal medicine and preventive care with 18+ years of clinical practice. Focuses on comprehensive diagnosis and management of medical conditions with a patient-first approach.", - imageSrc: "http://img.b2bpic.net/free-photo/medic-reviews-health-result-clipboard_482257-123515.jpg?_wi=3", - }, + title: "Dr. Rajesh Kumar - General Medicine", description: "Expert in internal medicine and preventive care with 18+ years of clinical practice. Focuses on comprehensive diagnosis and management of medical conditions with a patient-first approach.", imageSrc: "http://img.b2bpic.net/free-photo/medic-reviews-health-result-clipboard_482257-123515.jpg"}, { id: 3, - title: "Dr. Anita Patel - Orthopedic Surgeon", - description: "Specialized in orthopedic surgery and musculoskeletal disorders with 20+ years of surgical expertise. Expert in joint replacement, arthroscopy, and sports medicine interventions.", - imageSrc: "http://img.b2bpic.net/free-photo/my-patients-are-most-important-me_329181-2179.jpg?_wi=3", - }, + title: "Dr. Anita Patel - Orthopedic Surgeon", description: "Specialized in orthopedic surgery and musculoskeletal disorders with 20+ years of surgical expertise. Expert in joint replacement, arthroscopy, and sports medicine interventions.", imageSrc: "http://img.b2bpic.net/free-photo/my-patients-are-most-important-me_329181-2179.jpg"}, ]} /> @@ -117,53 +90,17 @@ export default function DoctorsPage() { Date: Thu, 12 Mar 2026 17:13:14 +0000 Subject: [PATCH 3/3] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 54 ++++++------------- 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..ce599c0 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,31 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file