diff --git a/src/app/page.tsx b/src/app/page.tsx index 0d01d1e..6b9802f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -145,9 +145,8 @@ export default function LandingPage() { } ]} containerClassName="bg-background text-foreground" - titleClassName="text-primary-cta text-3xl md:text-4xl font-extrabold" - descriptionClassName="text-foreground text-base" cardTitleClassName="text-primary-cta text-xl font-bold" + descriptionClassName="text-foreground text-base" /> @@ -252,4 +251,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d845c71 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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?: string | number; } -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 = 32, + fontFamily = 'Inter, sans-serif', + fontWeight = 700, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;