diff --git a/src/app/page.tsx b/src/app/page.tsx index 82da51b..691d3cf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import ContactFaq from '@/components/sections/contact/ContactFaq'; import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal'; -import { AccessibilityOff, ArrowRight, BookOpen, Package, Quote, Shield, Star, Zap } from 'lucide-react'; +import { Accessibility, ArrowRight, BookOpen, Package, Quote, Shield, Star, Zap } from 'lucide-react'; export default function LandingPage() { return ( @@ -68,7 +68,7 @@ export default function LandingPage() { { icon: Zap, title: "Fully Responsive", description: "Seamlessly adapts across all devices and screen sizes with mobile-first responsive design." }, { icon: Zap, title: "Lightning Fast", description: "Optimized for performance with minimal overhead and blazing fast load times." }, { icon: Shield, title: "Secure by Default", description: "Built with security best practices and industry-standard encryption protocols." }, - { icon: AccessibilityOff, title: "Accessible Design", description: "WCAG compliant with full keyboard navigation and screen reader support." }, + { icon: Accessibility, title: "Accessible Design", description: "WCAG compliant with full keyboard navigation and screen reader support." }, { icon: BookOpen, title: "Comprehensive Docs", description: "Detailed documentation with examples, API references, and best practices." } ]} animationType="slide-up" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6cf054b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps extends SVGProps { + text?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ({ text = 'WEBILD', className = '', ...props }, ref) => { + return ( + - {logoText} - - - ); -}); + + + + + + + + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file