From 3f81c0fc68e74ffeee57be1e9f3affec29eb9b20 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:46:16 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 6334caa..ee71693 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,22 +51,23 @@ export default function BhaskaraHospital() { imageSrc="http://img.b2bpic.net/free-photo/abstract-blur-hotel-interior_1203-8568.jpg" imageAlt="Bhaskara Hospital - Modern Healthcare Facility" mediaAnimation="slide-up" + background={{ variant: "glowing-orb" }} testimonials={[ { name: "Rajesh Kumar", handle: "Patient", testimonial: "Very good staff and doctor. Caring and professional treatment. Highly recommend!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-man-doctor-uniform-with-stethoscope-gesturing-victory-sign_141793-124715.jpg?_wi=1", imageAlt: "Rajesh Kumar" + imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-man-doctor-uniform-with-stethoscope-gesturing-victory-sign_141793-124715.jpg", imageAlt: "Rajesh Kumar" }, { name: "Priya Sharma", handle: "Patient", testimonial: "Dr Pradeep controlled my diabetes very well. Great experience with the team.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12859.jpg?_wi=1", imageAlt: "Priya Sharma" + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12859.jpg", imageAlt: "Priya Sharma" }, { name: "Suresh Reddy", handle: "Patient", testimonial: "The staff are caring and helpful. Affordable treatment with excellent care.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-fashion-glasses_329181-1227.jpg?_wi=1", imageAlt: "Suresh Reddy" + imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-fashion-glasses_329181-1227.jpg", imageAlt: "Suresh Reddy" }, { name: "Anjali Verma", handle: "Patient", testimonial: "Best healthcare experience. Doctors listen carefully and provide accurate diagnosis.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-mature-woman-is-talking-doctor-counselling-medical-clinic_637285-1200.jpg?_wi=1", imageAlt: "Anjali Verma" + imageSrc: "http://img.b2bpic.net/free-photo/smiling-mature-woman-is-talking-doctor-counselling-medical-clinic_637285-1200.jpg", imageAlt: "Anjali Verma" } ]} buttons={[ @@ -118,11 +119,11 @@ export default function BhaskaraHospital() { tagAnimation="slide-up" features={[ { - title: "General Medicine", description: "Fever, viral infections, dengue, typhoid, and infectious disease treatment", imageSrc: "http://img.b2bpic.net/free-photo/anesthetist-working-operating-theatre-wearing-protecive-gear-checking-monitors-while-sedating-patient-before-surgical-procedure-hospital_657921-1095.jpg?_wi=1", imageAlt: "General Medicine Services", buttonIcon: ArrowRight, + title: "General Medicine", description: "Fever, viral infections, dengue, typhoid, and infectious disease treatment", imageSrc: "http://img.b2bpic.net/free-photo/anesthetist-working-operating-theatre-wearing-protecive-gear-checking-monitors-while-sedating-patient-before-surgical-procedure-hospital_657921-1095.jpg", imageAlt: "General Medicine Services", buttonIcon: ArrowRight, buttonHref: "#contact" }, { - title: "Diabetes Management", description: "Blood sugar control, insulin management, and long-term diabetes care", imageSrc: "http://img.b2bpic.net/free-photo/doctor-checking-patient-side-view_23-2149726924.jpg?_wi=1", imageAlt: "Diabetes Management", buttonIcon: ArrowRight, + title: "Diabetes Management", description: "Blood sugar control, insulin management, and long-term diabetes care", imageSrc: "http://img.b2bpic.net/free-photo/doctor-checking-patient-side-view_23-2149726924.jpg", imageAlt: "Diabetes Management", buttonIcon: ArrowRight, buttonHref: "#contact" }, { @@ -134,11 +135,11 @@ export default function BhaskaraHospital() { buttonHref: "#contact" }, { - title: "Emergency & Acute Care", description: "Stroke care, severe fever treatment, and urgent medical response", imageSrc: "http://img.b2bpic.net/free-photo/anesthetist-working-operating-theatre-wearing-protecive-gear-checking-monitors-while-sedating-patient-before-surgical-procedure-hospital_657921-1095.jpg?_wi=2", imageAlt: "Emergency Care", buttonIcon: ArrowRight, + title: "Emergency & Acute Care", description: "Stroke care, severe fever treatment, and urgent medical response", imageSrc: "http://img.b2bpic.net/free-photo/anesthetist-working-operating-theatre-wearing-protecive-gear-checking-monitors-while-sedating-patient-before-surgical-procedure-hospital_657921-1095.jpg", imageAlt: "Emergency Care", buttonIcon: ArrowRight, buttonHref: "#contact" }, { - title: "Infection Treatment", description: "Chickenpox, dengue, typhoid, and other infectious disease management", imageSrc: "http://img.b2bpic.net/free-photo/doctor-checking-patient-side-view_23-2149726924.jpg?_wi=2", imageAlt: "Infection Treatment", buttonIcon: ArrowRight, + title: "Infection Treatment", description: "Chickenpox, dengue, typhoid, and other infectious disease management", imageSrc: "http://img.b2bpic.net/free-photo/doctor-checking-patient-side-view_23-2149726924.jpg", imageAlt: "Infection Treatment", buttonIcon: ArrowRight, buttonHref: "#contact" } ]} @@ -186,16 +187,16 @@ export default function BhaskaraHospital() { tagAnimation="slide-up" testimonials={[ { - id: "1", title: "Excellent Diabetes Care", quote: "Dr Pradeep has been managing my diabetes for 3 years now. His careful approach and regular monitoring have significantly improved my health. I trust him completely.", name: "Rajesh Kumar", role: "Patient, Gandi Maisamma", imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-man-doctor-uniform-with-stethoscope-gesturing-victory-sign_141793-124715.jpg?_wi=2", imageAlt: "Rajesh Kumar testimonial" + id: "1", title: "Excellent Diabetes Care", quote: "Dr Pradeep has been managing my diabetes for 3 years now. His careful approach and regular monitoring have significantly improved my health. I trust him completely.", name: "Rajesh Kumar", role: "Patient, Gandi Maisamma", imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-man-doctor-uniform-with-stethoscope-gesturing-victory-sign_141793-124715.jpg", imageAlt: "Rajesh Kumar testimonial" }, { - id: "2", title: "Caring & Professional Staff", quote: "The entire team at Bhaskara Hospital is so caring and professional. Very good staff and doctor. I recommend them to all my family and friends.", name: "Priya Sharma", role: "Patient, Bahadurpally", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12859.jpg?_wi=2", imageAlt: "Priya Sharma testimonial" + id: "2", title: "Caring & Professional Staff", quote: "The entire team at Bhaskara Hospital is so caring and professional. Very good staff and doctor. I recommend them to all my family and friends.", name: "Priya Sharma", role: "Patient, Bahadurpally", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12859.jpg", imageAlt: "Priya Sharma testimonial" }, { - id: "3", title: "Affordable Quality Healthcare", quote: "Affordable treatment with excellent care. The staff are helpful and patient. It's refreshing to find quality healthcare without breaking the bank.", name: "Suresh Reddy", role: "Patient, Suraram", imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-fashion-glasses_329181-1227.jpg?_wi=2", imageAlt: "Suresh Reddy testimonial" + id: "3", title: "Affordable Quality Healthcare", quote: "Affordable treatment with excellent care. The staff are helpful and patient. It's refreshing to find quality healthcare without breaking the bank.", name: "Suresh Reddy", role: "Patient, Suraram", imageSrc: "http://img.b2bpic.net/free-photo/woman-wearing-fashion-glasses_329181-1227.jpg", imageAlt: "Suresh Reddy testimonial" }, { - id: "4", title: "Accurate Diagnosis & Care", quote: "Dr Pradeep took time to listen to my concerns and provided accurate diagnosis. The treatment has been very effective. Highly satisfied with the service.", name: "Anjali Verma", role: "Patient, Shapur Nagar", imageSrc: "http://img.b2bpic.net/free-photo/smiling-mature-woman-is-talking-doctor-counselling-medical-clinic_637285-1200.jpg?_wi=2", imageAlt: "Anjali Verma testimonial" + id: "4", title: "Accurate Diagnosis & Care", quote: "Dr Pradeep took time to listen to my concerns and provided accurate diagnosis. The treatment has been very effective. Highly satisfied with the service.", name: "Anjali Verma", role: "Patient, Shapur Nagar", imageSrc: "http://img.b2bpic.net/free-photo/smiling-mature-woman-is-talking-doctor-counselling-medical-clinic_637285-1200.jpg", imageAlt: "Anjali Verma testimonial" }, { id: "5", title: "Best Healthcare Experience", quote: "Had an emergency at night and the hospital was fully prepared. The doctors and nurses responded immediately with professionalism. Thank you, Bhaskara Hospital!", name: "Vikram Singh", role: "Patient, Dundigal", imageSrc: "http://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg", imageAlt: "Vikram Singh testimonial" -- 2.49.1 From 95c1957ed2187754569618aea597ef19fb75dbd2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 06:46:17 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 91 ++++++++++--------- 1 file changed, 49 insertions(+), 42 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8e44d10 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,58 @@ -"use client"; +import React, { SVGAttributes } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +interface SvgTextLogoProps extends SVGAttributes { + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | number; + fill?: 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.forwardRef( + ( + { + text = 'Logo', + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + className = '', + ...props + }, + ref + ) => { + // Estimate width based on text length and font size + const estimatedWidth = text.length * (fontSize * 0.6); + const height = fontSize * 1.5; - return ( - - - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; export default SvgTextLogo; -- 2.49.1