Merge version_1 into main #2

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

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="medium"
sizing="mediumLarge"
background="aurora"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="layered"
@@ -45,7 +45,7 @@ export default function LandingPage() {
<HeroSplitKpi
title="Your Personal Transformation Starts Here"
description="Expert coaching designed to help you achieve your fitness goals with personalized training programs, nutrition guidance, and constant motivation. Join hundreds of successful clients who have transformed their lives."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "500+", label: "Clients Transformed" },
{ value: "95%", label: "Success Rate" },
@@ -60,7 +60,7 @@ export default function LandingPage() {
{ text: "View Programs", href: "#features" }
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/friends-helping-each-other-exercise_23-2148303356.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/friends-helping-each-other-exercise_23-2148303356.jpg"
imageAlt="Professional personal trainer coaching client"
mediaAnimation="blur-reveal"
imagePosition="right"
@@ -116,11 +116,11 @@ export default function LandingPage() {
},
{
id: 2,
title: "Nutrition Guidance & Meal Planning", description: "Science-based nutrition strategies to support your training. Customized meal plans that fit your lifestyle and preferences.", imageSrc: "http://img.b2bpic.net/free-photo/women-training-together-outdoors_23-2148657831.jpg?_wi=1", imageAlt: "fitness transformation progress client results"
title: "Nutrition Guidance & Meal Planning", description: "Science-based nutrition strategies to support your training. Customized meal plans that fit your lifestyle and preferences.", imageSrc: "http://img.b2bpic.net/free-photo/women-training-together-outdoors_23-2148657831.jpg", imageAlt: "fitness transformation progress client results"
},
{
id: 3,
title: "Accountability & Motivation", description: "Regular check-ins, progress tracking, and ongoing motivation to keep you on track. Celebrate wins and overcome challenges together.", imageSrc: "http://img.b2bpic.net/free-photo/friends-helping-each-other-exercise_23-2148303356.jpg?_wi=2", imageAlt: "personal trainer coaching client gym"
title: "Accountability & Motivation", description: "Regular check-ins, progress tracking, and ongoing motivation to keep you on track. Celebrate wins and overcome challenges together.", imageSrc: "http://img.b2bpic.net/free-photo/friends-helping-each-other-exercise_23-2148303356.jpg", imageAlt: "personal trainer coaching client gym"
}
]}
animationType="blur-reveal"
@@ -205,7 +205,7 @@ export default function LandingPage() {
description="Get weekly workout tips, nutrition advice, and exclusive access to new programs. Join our community of fitness enthusiasts committed to transformation."
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/women-training-together-outdoors_23-2148657831.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/women-training-together-outdoors_23-2148657831.jpg"
imageAlt="Fitness transformation success"
mediaAnimation="blur-reveal"
mediaPosition="left"

View File

@@ -1,51 +1,30 @@
"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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
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 60"
className={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="100"
y="30"
textAnchor="middle"
dominantBaseline="middle"
fontSize="32"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;