Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 06:32:40 +00:00
2 changed files with 16 additions and 41 deletions

View File

@@ -52,13 +52,14 @@ export default function LandingPage() {
imageSrc="http://img.b2bpic.net/free-photo/ai-generated-boat-picture_23-2150648009.jpg"
imageAlt="Luxury superyacht sailing at sunset"
mediaAnimation="opacity"
background={{ variant: 'plain' }}
testimonials={[
{
name: 'Alexander Sterling',
handle: 'CEO, Sterling Ventures',
testimonial: 'The most refined maritime experience I\'ve encountered. Every detail speaks to true luxury and attention to perfection.',
rating: 5,
imageSrc: 'http://img.b2bpic.net/free-photo/confident-man-leaning-wall_23-2148401390.jpg?_wi=1',
imageSrc: 'http://img.b2bpic.net/free-photo/confident-man-leaning-wall_23-2148401390.jpg',
imageAlt: 'professional headshot wealthy male executive'
}
]}
@@ -278,7 +279,7 @@ export default function LandingPage() {
handle: 'Private Collector',
testimonial: 'The yacht fleet is impeccably maintained, the crew is exceptionally trained, and the itineraries are thoughtfully designed. Pure excellence.',
rating: 5,
imageSrc: 'http://img.b2bpic.net/free-photo/confident-man-leaning-wall_23-2148401390.jpg?_wi=2',
imageSrc: 'http://img.b2bpic.net/free-photo/confident-man-leaning-wall_23-2148401390.jpg',
imageAlt: 'professional headshot wealthy male executive'
}
]}
@@ -331,7 +332,7 @@ export default function LandingPage() {
]}
imageSrc="http://img.b2bpic.net/free-photo/young-healthy-calm-woman-doing-yoga-sailing-yacht-boat-sea-island_1153-4007.jpg"
imageAlt="Luxury yacht interior cabin modern elegant"
mediaAnimation="fade"
mediaAnimation="opacity"
mediaPosition="left"
faqsAnimation="blur-reveal"
textboxLayout="default"

View File

@@ -1,51 +1,25 @@
"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;
}
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 = '' }) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<svg viewBox="0 0 200 60" className={className}>
<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="10"
y="40"
fontSize="32"
fontWeight="bold"
fill="currentColor"
dominantBaseline="alphabetic"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;