Merge version_2_1779657069613 into main #1

Merged
bender merged 3 commits from version_2_1779657069613 into main 2026-05-24 21:11:21 +00:00
3 changed files with 1 additions and 66 deletions

View File

@@ -1,54 +0,0 @@
"use client";
import { motion } from "motion/react";
import { useButtonClick } from "@/hooks/useButtonClick";
import { cls } from "@/lib/utils";
interface ButtonShiftProps {
text: string;
variant?: "primary" | "secondary";
href?: string;
onClick?: () => void;
animate?: boolean;
animationDelay?: number;
className?: string;
}
const ButtonShift = ({ text, variant = "primary", href = "#", onClick, animate = true, animationDelay = 0, className = "" }: ButtonShiftProps) => {
const handleClick = useButtonClick(href, onClick);
const button = (
<a
href={href}
onClick={handleClick}
className={cls("group flex items-center justify-center h-9 px-6 text-sm rounded cursor-pointer", variant === "primary" ? "primary-button text-primary-cta-text" : "secondary-button text-secondary-cta-text", className)}
>
<span className="truncate overflow-hidden">
{[...text].map((char, index) => (
<span
key={index}
className="inline-block transition-transform duration-300 ease-out md:group-hover:-translate-y-[1.25em]"
style={{ textShadow: "0 1.25em currentColor", whiteSpace: char === " " ? "pre" : undefined }}
>
{char}
</span>
))}
</span>
</a>
);
if (!animate) return button;
return (
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6, delay: animationDelay, ease: "easeOut" }}
>
{button}
</motion.div>
);
};
export default ButtonShift;

View File

@@ -1,11 +0,0 @@
import { cls } from "@/lib/utils";
interface SeparatorProps {
className?: string;
}
const Separator = ({ className = "" }: SeparatorProps) => (
<div className={cls("h-px w-full bg-foreground/10", className)} />
);
export default Separator;

View File

@@ -15,7 +15,7 @@ export default function HomePage() {
<SectionErrorBoundary name="home">
<HeroSplitMediaGrid
tag="Your Journey Awaits"
title="Experience Unrivaled Luxury Travel"
title="Experience Luxury"
description="Unlock bespoke itineraries, exclusive destinations, and personalized service designed for the discerning traveler. Your extraordinary adventure begins here."
primaryButton={{
text: "Plan Your Escape",