Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 14:36:12 +00:00
2 changed files with 29 additions and 41 deletions

View File

@@ -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" }]
}
]}
/>

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fill = 'currentColor',
}) => {
const textLength = text.length;
const charWidth = 60;
const width = textLength * charWidth + 40;
const height = 100;
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${width} ${height}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x={width / 2}
y={height / 2}
textAnchor="middle"
dominantBaseline="central"
fontSize="48"
fontWeight="bold"
fill={fill}
fontFamily="Arial, sans-serif"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;