From 658fcd65299382e5dbd680f5ff952bbb65c37183 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:30:14 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b8c6bc7..5699ae1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,15 +1,15 @@ "use client" import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; -import HeroCentered from "@/components/sections/hero/HeroCentered"; -import ProductCardThree from "@/components/sections/product/ProductCardThree"; -import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard"; -import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve"; -import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive"; -import SocialProofOne from "@/components/sections/socialProof/SocialProofOne"; -import FaqDouble from "@/components/sections/faq/FaqDouble"; -import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import HeroCentered from '@/components/sections/hero/HeroCentered'; +import ProductCardThree from '@/components/sections/product/ProductCardThree'; +import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard'; +import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve'; +import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; +import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; +import FaqDouble from '@/components/sections/faq/FaqDouble'; +import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; import { Zap } from "lucide-react"; export default function LandingPage() { @@ -133,7 +133,7 @@ export default function LandingPage() { id: "1", name: "Michael Chen, Professional Guide", date: "Date: 15 January 2025", title: "Best lures I've ever used", quote: "I've recommended Best Baits NZ to all my clients. The quality is unmatched and the results speak for themselves. My catch rates improved significantly.", tag: "Guide's Choice", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-photo-bearded-guy-smiling-gesturing-with-ok-sign-expressing-good-choice-being-isolated-graphite_171337-455.jpg", avatarAlt: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/close-up-photo-bearded-guy-smiling-gesturing-with-ok-sign-expressing-good-choice-being-isolated-graphite_171337-455.jpg", imageAlt: "Michael Chen portrait" }, { - id: "2", name: "Sarah Williams, Fishing Enthusiast", date: "Date: 10 January 2025", title: "Outstanding quality and value", quote: "From my first cast with a Best Baits NZ lure, I knew this was something special. The attention to detail is incredible.", tag: "Regular Customer", avatarSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", avatarAlt: "Sarah Williams", imageSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg?_wi=1", imageAlt: "Sarah Williams portrait" + id: "2", name: "Sarah Williams, Fishing Enthusiast", date: "Date: 10 January 2025", title: "Outstanding quality and value", quote: "From my first cast with a Best Baits NZ lure, I knew this was something special. The attention to detail is incredible.", tag: "Regular Customer", avatarSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", avatarAlt: "Sarah Williams", imageSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", imageAlt: "Sarah Williams portrait" }, { id: "3", name: "James Robinson, Competition Angler", date: "Date: 5 January 2025", title: "Competition-grade performance", quote: "I compete in fishing tournaments across New Zealand, and Best Baits NZ lures consistently give me the edge I need.", tag: "Competitor", avatarSrc: "http://img.b2bpic.net/free-photo/shallow-focus-shot-elderly-male-with-fishing-pole_181624-46077.jpg", avatarAlt: "James Robinson", imageSrc: "http://img.b2bpic.net/free-photo/shallow-focus-shot-elderly-male-with-fishing-pole_181624-46077.jpg", imageAlt: "James Robinson portrait" @@ -142,7 +142,7 @@ export default function LandingPage() { id: "4", name: "Emily Thompson, Weekend Angler", date: "Date: 1 January 2025", title: "Made fishing more fun", quote: "These lures have made my weekend fishing trips so much more enjoyable. I'm catching more fish and having a blast doing it.", tag: "Family Fisher", avatarSrc: "http://img.b2bpic.net/free-photo/successful-senior-businessman-showing-thumbs-up_1262-2446.jpg", avatarAlt: "Emily Thompson", imageSrc: "http://img.b2bpic.net/free-photo/successful-senior-businessman-showing-thumbs-up_1262-2446.jpg", imageAlt: "Emily Thompson portrait" }, { - id: "5", name: "David Park, Expert Angler", date: "Date: 28 December 2024", title: "Professional quality at fair prices", quote: "I've tried premium imported lures costing twice the price. Best Baits NZ offers equal or better performance at a fraction of the cost.", tag: "Expert Angler", avatarSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", avatarAlt: "David Park", imageSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg?_wi=2", imageAlt: "David Park portrait" + id: "5", name: "David Park, Expert Angler", date: "Date: 28 December 2024", title: "Professional quality at fair prices", quote: "I've tried premium imported lures costing twice the price. Best Baits NZ offers equal or better performance at a fraction of the cost.", tag: "Expert Angler", avatarSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", avatarAlt: "David Park", imageSrc: "http://img.b2bpic.net/free-photo/female-enjoying-sea-breeze_23-2148574689.jpg", imageAlt: "David Park portrait" }, { id: "6", name: "Lisa Henderson, Fishing Coach", date: "Date: 20 December 2024", title: "Recommended to all my students", quote: "As a fishing coach, I introduce my students to Best Baits NZ from day one. These lures help them succeed and build confidence.", tag: "Coach", avatarSrc: "http://img.b2bpic.net/free-photo/hiker-couple-love-sitting-nature_23-2148192679.jpg", avatarAlt: "Lisa Henderson", imageSrc: "http://img.b2bpic.net/free-photo/hiker-couple-love-sitting-nature_23-2148192679.jpg", imageAlt: "Lisa Henderson portrait" -- 2.49.1 From 99be18eb95174e89268f618bfd52849382f1913b Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:30:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b470577 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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?: number | string; + fontFamily?: string; + letterSpacing?: number; + 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); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 24, + fontWeight = 700, + fontFamily = 'system-ui, -apple-system, sans-serif', + letterSpacing = 0, + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1