diff --git a/src/app/page.tsx b/src/app/page.tsx index 22b1519..c0a20ac 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import PricingCardThree from "@/components/sections/pricing/PricingCardThree"; import FaqDouble from "@/components/sections/faq/FaqDouble"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; -import { Award, Brain, Cpu, DollarSign, GitNetwork, HelpCircle, Quote, Rocket, Shield, Sparkles, TrendingUp, User, Zap } from "lucide-react"; +import { Award, Brain, Cpu, DollarSign, Network, HelpCircle, Quote, Rocket, Shield, Sparkles, TrendingUp, User, Zap } from "lucide-react"; export default function LandingPage() { return ( @@ -114,7 +114,7 @@ export default function LandingPage() { title: "Scalable Infrastructure", description: "Grow from startup to enterprise without worrying about system limitations" }, { - icon: GitNetwork, + icon: Network, title: "API Integration", description: "Seamlessly integrate with your existing tools and platforms" } ]} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b55def8 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,53 @@ -"use client"; +import { 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"; +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); - +export const SvgTextLogo: React.FC = ({ + text = "Logo", className = "", ...props +}) => { return ( + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;