From 402e85d2f5bb3f1cd49778415ad566a0c4723cde Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:49:23 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 749e1d6..b0e9847 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,7 +50,7 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" background={{ variant: "sparkles-gradient" }} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnmeJSTbbMsWYp9Wf41pwwJY7d/a-vibrant-gaming-hero-image-featuring-a--1773236882305-ec909a24.png?_wi=1" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnmeJSTbbMsWYp9Wf41pwwJY7d/a-vibrant-gaming-hero-image-featuring-a--1773236882305-ec909a24.png" imageAlt="Gaming arena with professional esports setup" mediaAnimation="opacity" frameStyle="browser" @@ -92,22 +92,22 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 13:49:24 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 65 +++++++++---------- 1 file changed, 29 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f3e9515 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 48, + fontWeight = 'bold', + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1