5 Commits

Author SHA1 Message Date
0c010c23d1 Update src/app/page.tsx 2026-03-12 19:54:28 +00:00
8954f328a3 Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx 2026-03-12 19:52:34 +00:00
a7818c1194 Update src/app/page.tsx 2026-03-12 19:52:33 +00:00
878f214ac0 Update src/app/page.tsx 2026-03-12 19:51:37 +00:00
3aebece356 Merge version_1 into main
Merge version_1 into main
2026-03-12 19:50:31 +00:00
2 changed files with 55 additions and 47 deletions

View File

@@ -7,9 +7,9 @@ import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine'; import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive'; import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterCard from '@/components/sections/footer/FooterCard'; import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider'; import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import { Facebook, Instagram, Linkedin, Twitter } from 'lucide-react'; import { Facebook, Instagram, Linkedin, Twitter, Mail, MapPin, Phone } from 'lucide-react';
export default function LandingPage() { export default function LandingPage() {
return ( return (
@@ -77,7 +77,7 @@ export default function LandingPage() {
{ text: "Our Story", href: "#" }, { text: "Our Story", href: "#" },
{ text: "Meet Our Team", href: "#" } { text: "Meet Our Team", href: "#" }
]} ]}
buttonAnimation="entrance-slide" buttonAnimation="slide-up"
/> />
</div> </div>
@@ -190,7 +190,7 @@ export default function LandingPage() {
required: true required: true
}} }}
useInvertedBackground={false} useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/businesspeople-waiting-queue-check-counter-with-luggage_107420-95784.jpg" imageSrc="http://img.b2bpic.net/free-photo/businesspeople-waiting-queue-check-counter-with-luggage_107420-95784.jpg?_wi=1"
imageAlt="Luxury travel planning consultation" imageAlt="Luxury travel planning consultation"
mediaAnimation="slide-up" mediaAnimation="slide-up"
mediaPosition="right" mediaPosition="right"
@@ -199,15 +199,38 @@ export default function LandingPage() {
</div> </div>
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<FooterCard <FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/businesspeople-waiting-queue-check-counter-with-luggage_107420-95784.jpg?_wi=2"
imageAlt="Luxe Voyage - Global travel destinations"
logoText="Luxe Voyage" logoText="Luxe Voyage"
copyrightText="© 2024 Luxe Voyage. All rights reserved. Crafting journeys, creating memories." copyrightText="© 2024 Luxe Voyage. All rights reserved. Crafting journeys, creating memories."
socialLinks={[ columns={[
{ icon: Facebook, href: "https://facebook.com", ariaLabel: "Follow us on Facebook" }, {
{ icon: Instagram, href: "https://instagram.com", ariaLabel: "Follow us on Instagram" }, title: "Destinations", items: [
{ icon: Linkedin, href: "https://linkedin.com", ariaLabel: "Connect with us on LinkedIn" }, { label: "Africa Safari", href: "#" },
{ icon: Twitter, href: "https://twitter.com", ariaLabel: "Follow us on Twitter" } { label: "European Luxury", href: "#" },
{ label: "Asian Escapes", href: "#" },
{ label: "Island Retreats", href: "#" }
]
},
{
title: "Services", items: [
{ label: "Private Jet Charters", href: "#" },
{ label: "Concierge Service", href: "#" },
{ label: "Custom Itineraries", href: "#" },
{ label: "VIP Experiences", href: "#" }
]
},
{
title: "Company", items: [
{ label: "About Us", href: "#" },
{ label: "Contact", href: "#" },
{ label: "Blog", href: "#" },
{ label: "Careers", href: "#" }
]
}
]} ]}
onPrivacyClick={() => {}}
/> />
</div> </div>
</ThemeProvider> </ThemeProvider>

View File

@@ -1,51 +1,36 @@
"use client"; import React from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps { interface SvgTextLogoProps {
logoText: string; text: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
className?: string; className?: string;
textClassName?: string;
dominantBaseline?: 'auto' | 'hanging' | 'mathematical' | 'central' | 'middle';
} }
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({ const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
logoText, text,
adjustHeightFactor, className = '',
verticalAlign = "top", textClassName = '',
className = "", dominantBaseline = 'central',
}) { }) => {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return ( return (
<svg <svg
ref={svgRef} viewBox="0 0 400 100"
viewBox={viewBox} className={`w-full h-auto ${className}`}
className={cls("w-full", className)} preserveAspectRatio="xMidYMid meet"
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
> >
<text <text
ref={textRef} x="50%"
x="0" y="50%"
y={verticalAlign === "center" ? "50%" : "0"} textAnchor="middle"
className="font-bold fill-current" dominantBaseline={dominantBaseline}
style={{ className={`text-3xl font-bold ${textClassName}`}
fontSize: "20px", fill="currentColor"
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
> >
{logoText} {text}
</text> </text>
</svg> </svg>
); );
}); };
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo; export default SvgTextLogo;