From 75e678c0f857c03df41da7c77af77d6e674a5b11 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:36:36 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 55f1313..29e65b9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="largeSmall" - background="blurBottom" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="primary-glow" secondaryButtonStyle="glass" @@ -46,18 +46,18 @@ export default function LandingPage() { tagAnimation="slide-up" title="Badminton Excellence in Motion" description="Two competitive teams. One passion. Experience dynamic badminton training and tournament play at our modern facility. Join a community of dedicated players and achieve your athletic goals." - background={{ variant: "blurBottom" }} + background={{ variant: "sparkles-gradient" }} leftCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/badminton-concept-with-racket-shuttlecock_23-2149940895.jpg?_wi=1", imageAlt: "Badminton players in action" }, - { imageSrc: "http://img.b2bpic.net/free-photo/active-young-people-playing-squash_329181-13250.jpg?_wi=1", imageAlt: "Team celebration moment" }, - { imageSrc: "http://img.b2bpic.net/free-photo/two-squash-players-with-rackets_329181-18926.jpg?_wi=1", imageAlt: "Youth training session" }, - { imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-people-arena_23-2149867394.jpg?_wi=1", imageAlt: "Professional match play" } + { imageSrc: "http://img.b2bpic.net/free-photo/badminton-concept-with-racket-shuttlecock_23-2149940895.jpg", imageAlt: "Badminton players in action" }, + { imageSrc: "http://img.b2bpic.net/free-photo/active-young-people-playing-squash_329181-13250.jpg", imageAlt: "Team celebration moment" }, + { imageSrc: "http://img.b2bpic.net/free-photo/two-squash-players-with-rackets_329181-18926.jpg", imageAlt: "Youth training session" }, + { imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-people-arena_23-2149867394.jpg", imageAlt: "Professional match play" } ]} rightCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/active-young-people-playing-squash_329181-13250.jpg?_wi=2", imageAlt: "Competitive badminton match" }, - { imageSrc: "http://img.b2bpic.net/free-photo/two-squash-players-with-rackets_329181-18926.jpg?_wi=2", imageAlt: "Training facility" }, - { imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-people-arena_23-2149867394.jpg?_wi=2", imageAlt: "Club members" }, - { imageSrc: "http://img.b2bpic.net/free-photo/badminton-concept-with-racket-shuttlecock_23-2149940895.jpg?_wi=2", imageAlt: "Tournament play" } + { imageSrc: "http://img.b2bpic.net/free-photo/active-young-people-playing-squash_329181-13250.jpg", imageAlt: "Competitive badminton match" }, + { imageSrc: "http://img.b2bpic.net/free-photo/two-squash-players-with-rackets_329181-18926.jpg", imageAlt: "Training facility" }, + { imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-people-arena_23-2149867394.jpg", imageAlt: "Club members" }, + { imageSrc: "http://img.b2bpic.net/free-photo/badminton-concept-with-racket-shuttlecock_23-2149940895.jpg", imageAlt: "Tournament play" } ]} buttons={[ { text: "View Training Schedule", href: "#training" }, @@ -88,13 +88,13 @@ export default function LandingPage() { features={[ { id: 1, - title: "Tuesday Sessions", description: "Freestyle recreational players (ages 14-18) and competitive players from U15 onwards. Two courts available with flexible programming. 18:00-20:00", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg?_wi=1", imageAlt: "Tuesday training" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg?_wi=1", imageAlt: "Training equipment" } + title: "Tuesday Sessions", description: "Freestyle recreational players (ages 14-18) and competitive players from U15 onwards. Two courts available with flexible programming. 18:00-20:00", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg", imageAlt: "Tuesday training" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg", imageAlt: "Training equipment" } }, { id: 2, - title: "Wednesday Development", description: "U13 team training (16:30-18:00) followed by competitive training for U15 and above. Three to six courts available depending on session. 18:00-22:00", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg?_wi=2", imageAlt: "Wednesday development" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg?_wi=2", imageAlt: "Coaching session" } + title: "Wednesday Development", description: "U13 team training (16:30-18:00) followed by competitive training for U15 and above. Three to six courts available depending on session. 18:00-22:00", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg", imageAlt: "Wednesday development" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg", imageAlt: "Coaching session" } } ]} showStepNumbers={true} @@ -116,26 +116,26 @@ export default function LandingPage() { { id: "team-competitive", groupTitle: "Competitive Team (U15+)", members: [ { - id: "1", title: "Competitive Division", subtitle: "Regional Tournament Players", detail: "Dedicated to excellence in badminton competition", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg?_wi=3", imageAlt: "Competitive team" + id: "1", title: "Competitive Division", subtitle: "Regional Tournament Players", detail: "Dedicated to excellence in badminton competition", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg", imageAlt: "Competitive team" }, { - id: "2", title: "Development Focus", subtitle: "Year-Round Training", detail: "Building champions through structured coaching", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg?_wi=4", imageAlt: "Development training" + id: "2", title: "Development Focus", subtitle: "Year-Round Training", detail: "Building champions through structured coaching", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg", imageAlt: "Development training" }, { - id: "3", title: "Tournament Participation", subtitle: "Regional & National", detail: "Regular competition experience and growth", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg?_wi=5", imageAlt: "Tournament play" + id: "3", title: "Tournament Participation", subtitle: "Regional & National", detail: "Regular competition experience and growth", imageSrc: "http://img.b2bpic.net/free-photo/young-sporty-couple-man-woman-holding-rackets-tennis-smiling-confident-orange_141793-58646.jpg", imageAlt: "Tournament play" } ] }, { id: "team-recreational", groupTitle: "Recreational Team (Ages 14-18)", members: [ { - id: "1", title: "Recreational Division", subtitle: "Freestyle Players", detail: "Fun, fitness, and friendship in badminton", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg?_wi=1", imageAlt: "Recreational team" + id: "1", title: "Recreational Division", subtitle: "Freestyle Players", detail: "Fun, fitness, and friendship in badminton", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg", imageAlt: "Recreational team" }, { - id: "2", title: "Social Events", subtitle: "Team Building", detail: "Creating community through the sport", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg?_wi=2", imageAlt: "Social events" + id: "2", title: "Social Events", subtitle: "Team Building", detail: "Creating community through the sport", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg", imageAlt: "Social events" }, { - id: "3", title: "Skill Development", subtitle: "Coaching Available", detail: "Improve technique in a supportive environment", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg?_wi=3", imageAlt: "Skill development" + id: "3", title: "Skill Development", subtitle: "Coaching Available", detail: "Improve technique in a supportive environment", imageSrc: "http://img.b2bpic.net/free-photo/tennis-player-focussing-ball_23-2147644369.jpg", imageAlt: "Skill development" } ] } @@ -187,7 +187,7 @@ export default function LandingPage() { button: { text: "Download Form", href: "#contact" } }, { - id: "schedule", title: "Training Schedule", price: "Free", period: "Download", imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg?_wi=3", imageAlt: "Training schedule", features: [ + id: "schedule", title: "Training Schedule", price: "Free", period: "Download", imageSrc: "http://img.b2bpic.net/free-photo/leg-exercise-control-rehabilitation-safe-movement_169016-71648.jpg", imageAlt: "Training schedule", features: [ "Complete weekly schedule", "Holiday closures", "Tournament dates", "Coaching contact info" ], button: { text: "Download Schedule", href: "#contact" } -- 2.49.1 From 1013b93975240074b6fbc9fd13b816b1eba63fcc Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 18:36:36 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 ++++++++----------- 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6113d72 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - - {logoText} - + + + + + + + {text.split('').map((char, index) => ( + + {char} + + ))} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1