diff --git a/src/app/quote-builder/page.tsx b/src/app/quote-builder/page.tsx index ae3987a..4bc7932 100644 --- a/src/app/quote-builder/page.tsx +++ b/src/app/quote-builder/page.tsx @@ -7,7 +7,7 @@ import ProductCardThree from "@/components/sections/product/ProductCardThree"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import Link from "next/link"; -import { FileText, Phone, Sparkles, Zap } from "lucide-react"; +import { FileText, Phone, Sparkles, Zap, Package } from "lucide-react"; export default function QuoteBuilderPage() { const navItems = [ @@ -36,9 +36,7 @@ export default function QuoteBuilderPage() { brandName="Audiocity Zimbabwe" navItems={navItems} button={{ - text: "Get Quote", - href: "/quote-builder", - }} + text: "Get Quote", href: "/quote-builder"}} className="fixed top-6 left-1/2 -translate-x-1/2 z-50" buttonClassName="bg-gradient-to-r from-[#d4af37] to-[#f0d570] text-black font-bold" /> @@ -48,52 +46,26 @@ export default function QuoteBuilderPage() { diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..40bdc43 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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?: 'normal' | 'bold' | 'semibold'; + letterSpacing?: number; } -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 = 24, + fontWeight = 'bold', + letterSpacing = 0, +}) => { + const fontWeightMap = { + normal: 400, + semibold: 600, + bold: 700, + }; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file