From f1ef45918f95aee948c664e82bda30dadf941f01 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 12:27:32 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2d94765..f79f79b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="smallMedium" sizing="medium" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="flat" secondaryButtonStyle="radial-glow" @@ -48,7 +48,7 @@ export default function LandingPage() { { text: "Explore Championship", href: "#about" }, { text: "Join the Community", href: "#team" } ]} - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "sparkles-gradient" }} imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/a-sleek-formula-1-racing-car-shot-in-hig-1773231967207-ebb64750.png" imageAlt="Formula 1 racing car in motion" mediaAnimation="slide-up" @@ -154,11 +154,11 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Marcus Sterling", handle: "@sterlingrace", testimonial: "Working with this team has been the highlight of my racing career. The precision, dedication, and championship mindset are unmatched in the sport.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-a-satisfied-rac-1773231967150-b51e65f0.png?_wi=1", imageAlt: "Professional headshot of a satisfied race driver" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-a-satisfied-rac-1773231967150-b51e65f0.png", imageAlt: "Professional headshot of a satisfied race driver" }, { id: "2", name: "Giovanni Rossi", handle: "@rossi_team_principal", testimonial: "The engineering excellence and strategic planning demonstrated by this organization is truly exceptional. Championship-caliber in every aspect.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-an-experienced--1773231966683-67fa1548.png?_wi=1", imageAlt: "Professional headshot of an experienced racing team principal" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-an-experienced--1773231966683-67fa1548.png", imageAlt: "Professional headshot of an experienced racing team principal" }, { id: "3", name: "Elena Petrov", handle: "@elena_pit_crew", testimonial: "Our pit crew coordination and technical expertise are second to none. Every race proves our commitment to excellence and precision.", rating: 5, @@ -170,11 +170,11 @@ export default function LandingPage() { }, { id: "5", name: "Lucas Silva", handle: "@lucas_commentator", testimonial: "Watching this team compete at the highest level is a masterclass in racing. Pure championship excellence on every circuit.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-a-satisfied-rac-1773231967150-b51e65f0.png?_wi=2", imageAlt: "Professional headshot of a race commentator" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-a-satisfied-rac-1773231967150-b51e65f0.png", imageAlt: "Professional headshot of a race commentator" }, { id: "6", name: "Sophie Dubois", handle: "@dubois_analyst", testimonial: "The strategic depth and technical sophistication of their race operations sets new standards for the entire sport.", rating: 5, - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-an-experienced--1773231966683-67fa1548.png?_wi=2", imageAlt: "Professional headshot of a racing analyst" + imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AncafLgyhZtujjAVQAqvRxtj5b/professional-headshot-of-an-experienced--1773231966683-67fa1548.png", imageAlt: "Professional headshot of a racing analyst" } ]} showRating={true} @@ -188,11 +188,14 @@ export default function LandingPage() { -- 2.49.1 From 5985fcc8012ee8ce57b284bc802a2467fe82efae Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 12:27:33 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 ++++++++----------- 1 file changed, 27 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4fc923e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + textClassName?: string; + fontSize?: number; + fontWeight?: number | string; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central' | 'ideographic'; } -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, + textClassName, + fontSize = 48, + fontWeight = 'bold', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1