diff --git a/src/app/page.tsx b/src/app/page.tsx index d38e3ba..f47634c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,7 +30,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="compact" sizing="mediumSizeLargeTitles" - background="circleGradient" + background="aurora" cardStyle="soft-shadow" primaryButtonStyle="shadow" secondaryButtonStyle="radial-glow" @@ -47,7 +47,7 @@ export default function LandingPage() { tag="Fitness Tracking" tagIcon={Activity} tagAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/young-woman-exercising-outside-turning-playlist-before-jogging_329181-11118.jpg" imageAlt="FitTrack fitness dashboard interface" buttons={[ diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..df220e3 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; + fontFamily?: string; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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 = '', + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 700, + letterSpacing = 0, + fill = '#000000', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;