diff --git a/src/app/page.tsx b/src/app/page.tsx index 5ccf6d4..a027375 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -78,7 +78,6 @@ export default function LandingPage() { className="py-24 lg:py-32 bg-stone-50" containerClassName="max-w-4xl mx-auto px-4 sm:px-6 text-center" titleClassName="text-4xl lg:text-5xl font-bold text-stone-900 leading-tight" - tagClassName="inline-block text-xs font-semibold text-stone-600 bg-white px-3 py-1 rounded-full mb-6" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..319c76d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; + textStyle?: React.CSSProperties; } -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 = '', + textStyle = {}, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file