diff --git a/src/app/page.tsx b/src/app/page.tsx index edcbf9d..8aae9d0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,6 +51,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/gynecological-room-hospital_7502-8389.jpg" imageAlt="Kumar Surgical Clinic modern facility" imagePosition="right" + mediaAnimation="slide-up" buttons={[ { text: "Book Appointment", href: "contact" }, { text: "Call Now", href: "tel:+919007359139" } @@ -80,20 +81,24 @@ export default function LandingPage() { tagIcon={Stethoscope} features={[ { - id: "1", title: "General Surgery", description: "Advanced surgical procedures including appendectomies, hernia repairs, and abdominal surgeries performed with precision and care.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/team-doctors-are-standing-emergency-room-multiethnic-surgeons-are-working-operating-room-hospital-they-are-wearing-blue-scrubs_657921-1069.jpg" }, + id: 1, + title: "General Surgery", description: "Advanced surgical procedures including appendectomies, hernia repairs, and abdominal surgeries performed with precision and care.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/team-doctors-are-standing-emergency-room-multiethnic-surgeons-are-working-operating-room-hospital-they-are-wearing-blue-scrubs_657921-1069.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/surgeons-performing-operation-operation-room_1170-2220.jpg" } }, { - id: "2", title: "Laparoscopic Surgery", description: "Minimally invasive surgical techniques using advanced equipment for reduced pain, shorter recovery times, and minimal scarring.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/doctor-neurologist-showing-mri-brain-scan-results-her-colleagues_482257-123039.jpg" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/different-doctors-doing-surgical-procedure_23-2148962484.jpg?_wi=1" } + id: 2, + title: "Laparoscopic Surgery", description: "Minimally invasive surgical techniques using advanced equipment for reduced pain, shorter recovery times, and minimal scarring.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/doctor-neurologist-showing-mri-brain-scan-results-her-colleagues_482257-123039.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/different-doctors-doing-surgical-procedure_23-2148962484.jpg" } }, { - id: "3", title: "Hernia Surgery", description: "Specialized hernia repair procedures including inguinal, femoral, and umbilical hernias with latest mesh techniques.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/doctor-holding-silicone-implant-medical-surgent-hold-silicone-implant-install-woman-bust-closeup-surgical-intervention-breast-augmentation-business-concept_657921-77.jpg" }, + id: 3, + title: "Hernia Surgery", description: "Specialized hernia repair procedures including inguinal, femoral, and umbilical hernias with latest mesh techniques.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/doctor-holding-silicone-implant-medical-surgent-hold-silicone-implant-install-woman-bust-closeup-surgical-intervention-breast-augmentation-business-concept_657921-77.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/patient-receiving-prescription-paper_482257-123658.jpg" } }, { - id: "4", title: "Gallbladder Surgery", description: "Laparoscopic cholecystectomy procedures for safe and effective gallbladder removal with rapid recovery.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/surgeons-performing-operation-operation-theater_107420-64881.jpg" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/different-doctors-doing-surgical-procedure_23-2148962484.jpg?_wi=2" } + id: 4, + title: "Gallbladder Surgery", description: "Laparoscopic cholecystectomy procedures for safe and effective gallbladder removal with rapid recovery.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/surgeons-performing-operation-operation-theater_107420-64881.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/different-doctors-doing-surgical-procedure_23-2148962484.jpg" } } ]} showStepNumbers={true} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5458611 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + fontSize = 32, + fontWeight = 'bold', + fill = 'currentColor', + className, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file