From 59cc2a0bd05f282021be5088edb9a2a4445a5af4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:36:08 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 46cc1be..37585b8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve'; import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import FooterBase from '@/components/sections/footer/FooterBase'; -import { Sparkles, Heart, Crown, Eye, Waves, Leaf, Home, Star, Briefcase, Lightbulb, Ring } from "lucide-react"; +import { Sparkles, Heart, Crown, Eye, Waves, Leaf, Home, Star, Briefcase, Lightbulb } from "lucide-react"; export default function LandingPage() { return ( @@ -148,7 +148,7 @@ export default function LandingPage() { id: "3", name: "Priya Sharma", role: "Wellness Enthusiast", testimonial: "The yoga and meditation sessions were transformative. Combined with the spa treatments, I've never felt more relaxed and balanced. This place is pure magic!", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-looking-camera_23-2147774837.jpg", imageAlt: "Priya Sharma", icon: Lightbulb }, { - id: "4", name: "Michael Chen", role: "Wedding Planner", testimonial: "An absolute dream venue for our destination wedding. Every detail was perfected, from the ceremony setup to the reception. Our guests still talk about it!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-model-sexy-man-dressed-pink-tshirt-trousers-fashion-male-isolated-blue-wall-studio_158538-26677.jpg", imageAlt: "Michael Chen", icon: Ring + id: "4", name: "Michael Chen", role: "Wedding Planner", testimonial: "An absolute dream venue for our destination wedding. Every detail was perfected, from the ceremony setup to the reception. Our guests still talk about it!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-model-sexy-man-dressed-pink-tshirt-trousers-fashion-male-isolated-blue-wall-studio_158538-26677.jpg", imageAlt: "Michael Chen", icon: Heart } ]} /> @@ -165,12 +165,10 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - id: "weddings", label: "Weddings", title: "Destination Wedding Excellence", items: ["Ceremony Setup & Decor", "Catering & Gourmet Dining", "Accommodation for Guests", "Complete Event Planning"], - buttons: [{ text: "Plan Your Wedding", href: "contact" }] + id: "weddings", label: "Weddings", title: "Destination Wedding Excellence", items: ["Ceremony Setup & Decor", "Catering & Gourmet Dining", "Accommodation for Guests", "Complete Event Planning"], buttons: [{ text: "Plan Your Wedding", href: "contact" }] }, { - id: "corporate", label: "Corporate", title: "Business Events & Retreats", items: ["Conference Facilities", "Team Building Activities", "Corporate Banquets", "Executive Accommodations"], - buttons: [{ text: "Inquire Now", href: "contact" }] + id: "corporate", label: "Corporate", title: "Business Events & Retreats", items: ["Conference Facilities", "Team Building Activities", "Corporate Banquets", "Executive Accommodations"], buttons: [{ text: "Inquire Now", href: "contact" }] } ]} /> -- 2.49.1 From ce41480815c144cdaf1a6629a842cd7e5fa01c35 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:36:08 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5fade73 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fill?: 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, + className = '', + fill = 'currentColor', +}) => { + const textLength = text.length; + const charWidth = 60; + const width = textLength * charWidth + 40; + const height = 100; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1