diff --git a/src/app/page.tsx b/src/app/page.tsx index fd0f3da..1426dee 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TeamCardOne from '@/components/sections/team/TeamCardOne'; import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; -import { Scissors, Blade, Sparkles, Zap } from 'lucide-react'; +import { Scissors, Sparkles, Zap } from 'lucide-react'; export default function LandingPage() { return ( @@ -78,7 +78,7 @@ export default function LandingPage() { title: "Expert Hair Cuts", description: "Precision haircuts tailored to your style and preferences. From classic to contemporary, our barbers deliver sharp, clean lines every time." }, { - icon: Blade, + icon: Sparkles, title: "Beard Grooming", description: "Professional beard trimming, shaping, and grooming services. We maintain your facial hair with meticulous attention to detail and quality products." }, { diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3855a46 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; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'hanging'; } -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 = 24, + fontFamily = 'Arial', + fill = 'currentColor', + textAnchor = 'start', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;