diff --git a/src/app/page.tsx b/src/app/page.tsx index 3b46441..141319e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import { Calendar, CheckSquare, CheckCircle, FileText, Key, MessageCircle, Phone, ShoppingCart, Star, Shield, ThumbsUp } from 'lucide-react'; +import { Calendar, CheckSquare, CheckCircle, FileText, Key, MessageCircle, Phone, ShoppingCart, Star, Shield, ThumbsUp, Camera } from 'lucide-react'; export default function LandingPage() { return ( diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..658bd1e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,16 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; -} - -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +import React from 'react'; +export const SvgTextLogo = React.forwardRef & { text: string }>(({ text, ...props }, ref) => { return ( - + - {logoText} + {text} ); }); -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +SvgTextLogo.displayName = 'SvgTextLogo';