diff --git a/src/app/page.tsx b/src/app/page.tsx index 33369a6..a356b31 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -57,12 +57,13 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-vector/workout-tracer-mobile-app_23-2148650356.jpg", imageAlt: "GymFlow Login Interface" }, { - imageSrc: "http://img.b2bpic.net/free-photo/workout-program-trainer-client-showing-clipboard_23-2148795231.jpg?_wi=1", imageAlt: "Admin Dashboard Overview" + imageSrc: "http://img.b2bpic.net/free-photo/workout-program-trainer-client-showing-clipboard_23-2148795231.jpg", imageAlt: "Admin Dashboard Overview" }, { imageSrc: "http://img.b2bpic.net/free-vector/workout-tracker-app-interface_23-2148623925.jpg", imageAlt: "Client Class Booking" } ]} + mediaAnimation="none" /> @@ -90,7 +91,7 @@ export default function LandingPage() { { id: 2, title: "Admin Controls", description: "Manage schedules, member registration, subscription tracking, and generate secure QR codes for gym access.", phoneOne: { - imageSrc: "http://img.b2bpic.net/free-photo/workout-program-trainer-client-showing-clipboard_23-2148795231.jpg?_wi=2", imageAlt: "Admin Dashboard" + imageSrc: "http://img.b2bpic.net/free-photo/workout-program-trainer-client-showing-clipboard_23-2148795231.jpg", imageAlt: "Admin Dashboard" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/woman-gym-with-smartphone-template_23-2148111597.jpg", imageAlt: "QR Access System" @@ -159,22 +160,22 @@ export default function LandingPage() { buttonAnimation="none" testimonials={[ { - id: "1", title: "Transformed Our Operations", quote: "GymFlow cut our administrative time by 60%. Managing 5 locations is now effortless with centralized dashboards and automated schedules.", name: "Marcus Chen", role: "Gym Owner", imageSrc: "/placeholders/placeholder1.webp?_wi=1", imageAlt: "Marcus Chen" + id: "1", title: "Transformed Our Operations", quote: "GymFlow cut our administrative time by 60%. Managing 5 locations is now effortless with centralized dashboards and automated schedules.", name: "Marcus Chen", role: "Gym Owner", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Marcus Chen" }, { - id: "2", title: "Member Experience Improved Dramatically", quote: "Our members love the mobile app. Class bookings, attendance tracking, and progress monitoring are now seamless. Retention increased by 34%.", name: "Sarah Johnson", role: "Gym Manager", imageSrc: "/placeholders/placeholder1.webp?_wi=2", imageAlt: "Sarah Johnson" + id: "2", title: "Member Experience Improved Dramatically", quote: "Our members love the mobile app. Class bookings, attendance tracking, and progress monitoring are now seamless. Retention increased by 34%.", name: "Sarah Johnson", role: "Gym Manager", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Sarah Johnson" }, { - id: "3", title: "Coaching Made Simple", quote: "The coach dashboard gives me instant insights into each client's progress. I can provide better coaching with real data at my fingertips.", name: "David Rodriguez", role: "Personal Trainer", imageSrc: "/placeholders/placeholder1.webp?_wi=3", imageAlt: "David Rodriguez" + id: "3", title: "Coaching Made Simple", quote: "The coach dashboard gives me instant insights into each client's progress. I can provide better coaching with real data at my fingertips.", name: "David Rodriguez", role: "Personal Trainer", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "David Rodriguez" }, { - id: "4", title: "Best Gym App I've Used", quote: "Love the interface! Booking classes, viewing my progress, and getting nutrition tips is so intuitive. I use GymFlow daily.", name: "Emma Williams", role: "Gym Member", imageSrc: "/placeholders/placeholder1.webp?_wi=4", imageAlt: "Emma Williams" + id: "4", title: "Best Gym App I've Used", quote: "Love the interface! Booking classes, viewing my progress, and getting nutrition tips is so intuitive. I use GymFlow daily.", name: "Emma Williams", role: "Gym Member", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Emma Williams" }, { - id: "5", title: "QR Access is a Game Changer", quote: "Contactless check-in with QR codes reduced entry congestion by 50%. Our members appreciate the speed and safety.", name: "James Park", role: "Facility Manager", imageSrc: "/placeholders/placeholder1.webp?_wi=5", imageAlt: "James Park" + id: "5", title: "QR Access is a Game Changer", quote: "Contactless check-in with QR codes reduced entry congestion by 50%. Our members appreciate the speed and safety.", name: "James Park", role: "Facility Manager", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "James Park" }, { - id: "6", title: "Data-Driven Decision Making", quote: "The analytics dashboard shows attendance trends, peak hours, and revenue metrics. We've optimized staffing and increased earnings by 28%.", name: "Lisa Thompson", role: "Business Analyst", imageSrc: "/placeholders/placeholder1.webp?_wi=6", imageAlt: "Lisa Thompson" + id: "6", title: "Data-Driven Decision Making", quote: "The analytics dashboard shows attendance trends, peak hours, and revenue metrics. We've optimized staffing and increased earnings by 28%.", name: "Lisa Thompson", role: "Business Analyst", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Lisa Thompson" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f526cbb 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"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; + dominantBaseline?: 'middle' | 'hanging' | 'auto'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;