diff --git a/src/app/page.tsx b/src/app/page.tsx index 1f8de5c..56c2051 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -87,7 +87,7 @@ export default function LandingPage() { ] }, { - title: "Execution Timeline", description: "Flawless coordination of every operational detail. Venue selection, vendor management, timeline orchestration, and contingency planning.", bentoComponent: "3d-task-list", title: "Execution Timeline", items: [ + title: "Execution Timeline", description: "Flawless coordination of every operational detail. Venue selection, vendor management, timeline orchestration, and contingency planning.", bentoComponent: "3d-task-list", items: [ { icon: CheckCircle, label: "Venue secured", time: "12 weeks prior" }, { icon: CheckCircle, label: "Vendors confirmed", time: "8 weeks prior" }, { icon: CheckCircle, label: "Full team briefing", time: "Day before" } diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2bfe6d4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + fontWeight?: string; + fontFamily?: string; + fill?: string; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'mathematical' | 'inherit'; } -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 = 32, + fontWeight = '700', + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = 'currentColor', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;