From 8fb17da32bc8b5ba10174466b87af289e07615fd Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 15:54:31 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 435b09d..3bd54e5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import ContactText from '@/components/sections/contact/ContactText'; import FooterMedia from '@/components/sections/footer/FooterMedia'; -import { Anchor, Award, Boat, BookOpen, ChefHat, Check, Flame, Gauge, Heart, Shield, Star, Users, Utensils, Wine, Waves, Zap } from 'lucide-react'; +import { Anchor, Award, Bot, BookOpen, ChefHat, Check, Flame, Gauge, Heart, Shield, Star, Users, Utensils, Wine, Waves, Zap } from 'lucide-react'; export default function LandingPage() { return ( @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="largeSizeMediumTitles" - background="aurora" + background="circleGradient" cardStyle="outline" primaryButtonStyle="flat" secondaryButtonStyle="layered" @@ -44,7 +44,7 @@ export default function LandingPage() { -- 2.49.1 From ce3a4599203dd5e75efd004ff9b89688971e7ba3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 15:54:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 71 ++++++++++--------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..70dceb2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,52 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { useRef, useEffect } from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; + fontSize?: number; + fontFamily?: string; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ + text, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + className = '', +}) => { + const svgRef = useRef(null); + + useEffect(() => { + if (svgRef.current) { + const textElement = svgRef.current.querySelector('text'); + if (textElement) { + const bbox = textElement.getBBox(); + svgRef.current.setAttribute('viewBox', `${bbox.x} ${bbox.y} ${bbox.width} ${bbox.height}`); + } + } + }, [text]); return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1