diff --git a/src/app/page.tsx b/src/app/page.tsx index 9117dc6..1992c3d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -102,7 +102,6 @@ export default function LandingPage() { buttonAnimation="slide-up" className="" containerClassName="" - titleClassName="text-4xl md:text-5xl font-bold leading-tight" /> @@ -137,7 +136,6 @@ export default function LandingPage() { buttonAnimation="slide-up" className="" containerClassName="" - titleClassName="text-4xl md:text-5xl font-bold leading-tight" /> @@ -168,7 +166,6 @@ export default function LandingPage() { buttonAnimation="slide-up" className="" containerClassName="" - titleClassName="text-4xl md:text-5xl font-bold leading-tight" /> @@ -176,20 +173,16 @@ export default function LandingPage() { diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..d9cd5be 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;