Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="mediumLarge"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -45,7 +45,7 @@ export default function LandingPage() {
|
||||
<HeroSplitKpi
|
||||
title="Experience Uncompromising Luxury in the Sky"
|
||||
description="Discover the pinnacle of executive aviation with our fleet of premium jets. From intimate escapes to global boardroom meetings, fly with sophistication, privacy, and unparalleled service."
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
kpis={[
|
||||
{ value: "25+", label: "Aircraft in Fleet" },
|
||||
{ value: "500K+", label: "Flight Hours" },
|
||||
@@ -90,9 +90,9 @@ export default function LandingPage() {
|
||||
tagIcon={Zap}
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{ id: "1", name: "Gulfstream G650ER", price: "$8,500/hr", imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg?_wi=1", imageAlt: "Gulfstream G650ER luxury jet" },
|
||||
{ id: "2", name: "Bombardier Global 7500", price: "$9,200/hr", imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg?_wi=1", imageAlt: "Bombardier Global 7500 executive aircraft" },
|
||||
{ id: "3", name: "Airbus ACJ320neo", price: "$11,000/hr", imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg?_wi=1", imageAlt: "Airbus ACJ320neo premium airliner" }
|
||||
{ id: "1", name: "Gulfstream G650ER", price: "$8,500/hr", imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg", imageAlt: "Gulfstream G650ER luxury jet" },
|
||||
{ id: "2", name: "Bombardier Global 7500", price: "$9,200/hr", imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg", imageAlt: "Bombardier Global 7500 executive aircraft" },
|
||||
{ id: "3", name: "Airbus ACJ320neo", price: "$11,000/hr", imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg", imageAlt: "Airbus ACJ320neo premium airliner" }
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="blur-reveal"
|
||||
@@ -117,29 +117,29 @@ export default function LandingPage() {
|
||||
{
|
||||
title: "Executive Charter", description: "Flexible scheduling with departure at your convenience. Avoid commercial airport crowds and enjoy direct routing to your destination.", icon: Plane,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg?_wi=2", imageAlt: "Executive charter aircraft" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg?_wi=2", imageAlt: "Luxury jet cabin" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg", imageAlt: "Executive charter aircraft" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg", imageAlt: "Luxury jet cabin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Membership Programs", description: "Exclusive membership tiers offering guaranteed availability, discounted rates, and priority booking. Choose the plan that matches your flying profile.", icon: Briefcase,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg?_wi=3", imageAlt: "Premium membership benefits" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg?_wi=2", imageAlt: "Exclusive member access" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg", imageAlt: "Premium membership benefits" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg", imageAlt: "Exclusive member access" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Cargo & Special Services", description: "Specialized handling for high-value cargo, medical evacuations, and emergency response. Our logistics team coordinates every detail with precision.", icon: Package,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg?_wi=3", imageAlt: "Cargo aircraft services" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg?_wi=3", imageAlt: "Specialized cargo handling" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/passengers-flying-economy-class-with-airplane-sunset-waiting-arrive-vacation-travel-holiday-destination-travelling-by-plane-with-international-airline-service-aircraft-jet_482257-48462.jpg", imageAlt: "Cargo aircraft services" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg", imageAlt: "Specialized cargo handling" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Concierge Services", description: "From ground transportation to catering, our dedicated concierge team manages every aspect of your journey. Travel how you deserve to travel.", icon: Users,
|
||||
mediaItems: [
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg?_wi=4", imageAlt: "Premium concierge team" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg?_wi=4", imageAlt: "Luxury ground services" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/relax-sofa-window_1150-12924.jpg", imageAlt: "Premium concierge team" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/private-luxury-jet-airport-terminal_657883-451.jpg", imageAlt: "Luxury ground services" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
@@ -185,12 +185,12 @@ export default function LandingPage() {
|
||||
tagIcon={Star}
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{ id: "1", name: "James Mitchell", handle: "CEO, Global Tech Ventures", testimonial: "APEX AIR has transformed how I travel for business. The flexibility, comfort, and professionalism are unmatched. I wouldn't trust my time to anyone else.", imageSrc: "http://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg?_wi=1", imageAlt: "James Mitchell" },
|
||||
{ id: "2", name: "Sarah Chen", handle: "CFO, Investment Capital Partners", testimonial: "From booking to landing, every detail is handled with excellence. The concierge team anticipates every need. This is what luxury aviation should be.", imageSrc: "http://img.b2bpic.net/free-photo/confident-blond-businesswoman-suit-smiles-camera-sits-outdoors-near-office-buildings_1258-116714.jpg?_wi=1", imageAlt: "Sarah Chen" },
|
||||
{ id: "1", name: "James Mitchell", handle: "CEO, Global Tech Ventures", testimonial: "APEX AIR has transformed how I travel for business. The flexibility, comfort, and professionalism are unmatched. I wouldn't trust my time to anyone else.", imageSrc: "http://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg", imageAlt: "James Mitchell" },
|
||||
{ id: "2", name: "Sarah Chen", handle: "CFO, Investment Capital Partners", testimonial: "From booking to landing, every detail is handled with excellence. The concierge team anticipates every need. This is what luxury aviation should be.", imageSrc: "http://img.b2bpic.net/free-photo/confident-blond-businesswoman-suit-smiles-camera-sits-outdoors-near-office-buildings_1258-116714.jpg", imageAlt: "Sarah Chen" },
|
||||
{ id: "3", name: "Michael Rodriguez", handle: "Founder, International Consulting Group", testimonial: "Privacy, punctuality, and professionalism. APEX AIR delivers on all fronts. My board meetings start on schedule because they deliver on time, every time.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-waiting_23-2147996570.jpg", imageAlt: "Michael Rodriguez" },
|
||||
{ id: "4", name: "Elena Volkov", handle: "Managing Partner, European Investment Consortium", testimonial: "We've chartered with dozens of companies. APEX AIR sets the standard. Their attention to detail and commitment to excellence is simply exceptional.", imageSrc: "http://img.b2bpic.net/free-photo/woman-reading-magazine-drinking-coffee_23-2148415808.jpg", imageAlt: "Elena Volkov" },
|
||||
{ id: "5", name: "David Park", handle: "President, Asia Pacific Operations", testimonial: "The responsiveness and dedication of the team is remarkable. Every charter feels like a personalized experience. Highly recommended for discerning travelers.", imageSrc: "http://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg?_wi=2", imageAlt: "David Park" },
|
||||
{ id: "6", name: "Victoria Laurent", handle: "Director, Luxury Real Estate", testimonial: "Flying with APEX AIR isn't just about transportation—it's about arriving in style and comfort. An investment worth every penny.", imageSrc: "http://img.b2bpic.net/free-photo/confident-blond-businesswoman-suit-smiles-camera-sits-outdoors-near-office-buildings_1258-116714.jpg?_wi=2", imageAlt: "Victoria Laurent" }
|
||||
{ id: "5", name: "David Park", handle: "President, Asia Pacific Operations", testimonial: "The responsiveness and dedication of the team is remarkable. Every charter feels like a personalized experience. Highly recommended for discerning travelers.", imageSrc: "http://img.b2bpic.net/free-photo/male-executive-with-glasses_1098-760.jpg", imageAlt: "David Park" },
|
||||
{ id: "6", name: "Victoria Laurent", handle: "Director, Luxury Real Estate", testimonial: "Flying with APEX AIR isn't just about transportation—it's about arriving in style and comfort. An investment worth every penny.", imageSrc: "http://img.b2bpic.net/free-photo/confident-blond-businesswoman-suit-smiles-camera-sits-outdoors-near-office-buildings_1258-116714.jpg", imageAlt: "Victoria Laurent" }
|
||||
]}
|
||||
animationType="blur-reveal"
|
||||
textboxLayout="default"
|
||||
|
||||
@@ -1,51 +1,49 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontWeight?: string | number;
|
||||
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 = '',
|
||||
fontSize = 24,
|
||||
fontWeight = 'bold',
|
||||
fill = 'currentColor',
|
||||
}) => {
|
||||
const textLength = text.length;
|
||||
const charWidth = fontSize * 0.6;
|
||||
const width = textLength * charWidth + 40;
|
||||
const height = fontSize + 20;
|
||||
const x = 20;
|
||||
const y = fontSize + 10;
|
||||
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
aria-label={text}
|
||||
>
|
||||
<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={x}
|
||||
y={y}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
textAnchor="start"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user