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() {
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 (
);
-});
+};
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+export default SvgTextLogo;
\ No newline at end of file