Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 11:01:38 +00:00
2 changed files with 27 additions and 44 deletions

View File

@@ -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"
/>
</div>
@@ -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"
}
]}
/>

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
dominantBaseline = 'middle',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox="0 0 200 200"
className={`w-16 h-16 ${className}`}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
className="font-bold text-lg fill-current"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;