Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 12:09:19 +00:00
2 changed files with 49 additions and 52 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="compact"
sizing="largeSmallSizeLargeTitles"
background="noiseDiagonalGradient"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -48,7 +48,7 @@ export default function LandingPage() {
tag="Premium Travel"
tagIcon={Compass}
tagAnimation="slide-up"
background={{ variant: "noiseDiagonalGradient" }}
background={{ variant: "plain" }}
buttons={[
{ text: "Explore Destinations", href: "destinations" },
{ text: "Contact Our Experts", href: "contact" }
@@ -243,10 +243,10 @@ export default function LandingPage() {
animationType="slide-up"
team={[
{
id: "1", name: "Alexandra Fontaine", role: "Founder & Chief Travel Curator", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-business-woman_158595-4755.jpg?_wi=1"
id: "1", name: "Alexandra Fontaine", role: "Founder & Chief Travel Curator", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-business-woman_158595-4755.jpg"
},
{
id: "2", name: "James Richardson", role: "Senior Destination Expert", imageSrc: "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg?_wi=1"
id: "2", name: "James Richardson", role: "Senior Destination Expert", imageSrc: "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg"
},
{
id: "3", name: "Sophie Laurent", role: "Luxury Experience Designer", imageSrc: "http://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg"
@@ -255,10 +255,10 @@ export default function LandingPage() {
id: "4", name: "Marcus Chen", role: "VIP Concierge Director", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-handsome-business-man-suit_613910-11300.jpg"
},
{
id: "5", name: "Elena Rossi", role: "Wellness & Lifestyle Specialist", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-business-woman_158595-4755.jpg?_wi=2"
id: "5", name: "Elena Rossi", role: "Wellness & Lifestyle Specialist", imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-business-woman_158595-4755.jpg"
},
{
id: "6", name: "Christopher Walsh", role: "Adventure & Cultural Guide", imageSrc: "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg?_wi=2"
id: "6", name: "Christopher Walsh", role: "Adventure & Cultural Guide", imageSrc: "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg"
}
]}
/>
@@ -271,7 +271,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
title="Stay Inspired with Travel Stories"
description="Receive exclusive travel insights, destination guides, and special offers delivered to your inbox. Be the first to discover our newest curated experiences and limited-access luxury journeys."
background={{ variant: "noiseDiagonalGradient" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-vector/honeymoon-vacation-brochure-template_1361-1087.jpg"
mediaAnimation="slide-up"

View File

@@ -1,51 +1,48 @@
"use client";
import React, { SVGProps } from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
className?: string;
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text?: string;
fontSize?: number;
fontFamily?: string;
fill?: string;
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging' | 'text-top' | 'hanging' | 'initial' | 'inherit';
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<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"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
(
{
text = 'Logo',
fontSize = 32,
fontFamily = 'Arial, sans-serif',
fill = '#000000',
dominantBaseline = 'middle',
...props
},
ref
) => {
return (
<svg
ref={ref}
viewBox="0 0 200 60"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
fontSize={fontSize}
fontFamily={fontFamily}
fill={fill}
textAnchor="middle"
dominantBaseline={dominantBaseline}
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";
SvgTextLogo.displayName = 'SvgTextLogo';
export default SvgTextLogo;
export default SvgTextLogo;