diff --git a/src/app/page.tsx b/src/app/page.tsx index 6f03147..61cbf47 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="largeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="shadow" secondaryButtonStyle="solid" @@ -49,7 +49,7 @@ export default function LandingPage() { { text: "Request Invite", href: "#contact" }, { text: "Learn More", href: "#about" } ]} - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/group-multiracial-teens-playing-video-games-video-game-club-with-blue-red-illumination-excited-because-victory_1268-24592.jpg" imageAlt="Gaming community tournament" mediaAnimation="slide-up" @@ -178,7 +178,7 @@ export default function LandingPage() { tag="Join GameHub" title="Be Part of Gaming History" description="Request your invite to join the most exclusive gaming community. Limited spots available for dedicated players." - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/hacker-pointing-illegal-spyware-code_482257-77649.jpg" imageAlt="Gaming community gathering" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8178c1a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"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; + fontSize?: number; + fontWeight?: number | string; className?: string; + x?: number; + y?: number; + 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); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 48, + fontWeight = 'bold', + className = '', + x = 0, + y = 0, + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file