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="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="large"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -48,8 +48,8 @@ export default function LandingPage() {
|
||||
tag="Luxury Travel Redefined"
|
||||
tagIcon={Bus}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/putting-glasses-working-back-car-using-silver-colored-laptop-senior-businessman_146671-14498.jpg?_wi=1"
|
||||
background={{ variant: "animated-grid" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/putting-glasses-working-back-car-using-silver-colored-laptop-senior-businessman_146671-14498.jpg"
|
||||
imageAlt="Luxury AC Deluxe Bus Interior"
|
||||
buttons={[
|
||||
{ text: "Explore Tours Now", href: "tours" },
|
||||
@@ -100,7 +100,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
imagePosition="right"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/putting-glasses-working-back-car-using-silver-colored-laptop-senior-businessman_146671-14498.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/putting-glasses-working-back-car-using-silver-colored-laptop-senior-businessman_146671-14498.jpg"
|
||||
imageAlt="Premium Bus Service"
|
||||
mediaAnimation="blur-reveal"
|
||||
bulletPoints={[
|
||||
@@ -138,26 +138,22 @@ export default function LandingPage() {
|
||||
{
|
||||
id: "comfort", title: "Premium Comfort", descriptions: [
|
||||
"Wide 2x2 seating layout with ample legroom", "Air-conditioned cabin with temperature control", "Reclining seats and entertainment systems"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg", imageAlt: "Luxury Bus Seating"
|
||||
], imageSrc: "http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg", imageAlt: "Luxury Bus Seating"
|
||||
},
|
||||
{
|
||||
id: "meals", title: "All-Inclusive Meals", descriptions: [
|
||||
"Daily vegetarian and traditional Indian cuisine", "Breakfast, lunch, and dinner included", "Dietary preferences accommodated upon request"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/closeup-tasty-dish-corporate-event_181624-46693.jpg", imageAlt: "Indian Meals Service"
|
||||
], imageSrc: "http://img.b2bpic.net/free-photo/closeup-tasty-dish-corporate-event_181624-46693.jpg", imageAlt: "Indian Meals Service"
|
||||
},
|
||||
{
|
||||
id: "accommodation", title: "Quality Hotels", descriptions: [
|
||||
"Handpicked 3-4 star accommodations", "Safe neighborhoods near attractions", "Included in all-inclusive package pricing"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-freelancer-noting-information-planning-project-doing-remote-job-via-laptop-computer-laughing-while-reading-email-modern-laptop-device_657921-138.jpg", imageAlt: "Hotel Accommodation"
|
||||
], imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-freelancer-noting-information-planning-project-doing-remote-job-via-laptop-computer-laughing-while-reading-email-modern-laptop-device_657921-138.jpg", imageAlt: "Hotel Accommodation"
|
||||
},
|
||||
{
|
||||
id: "guidance", title: "Expert Guidance", descriptions: [
|
||||
"Professional, culturally-trained tour guides", "Spiritual context and historical insights", "24/7 on-tour support and assistance"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-looking-map_23-2148894590.jpg", imageAlt: "Expert Tour Guide"
|
||||
], imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-looking-map_23-2148894590.jpg", imageAlt: "Expert Tour Guide"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -178,8 +174,7 @@ export default function LandingPage() {
|
||||
id: "basic", price: "₹18,000", name: "Standard Tour", buttons: [
|
||||
{ text: "Book Now", href: "contact" },
|
||||
{ text: "Learn More", href: "faq" }
|
||||
],
|
||||
features: [
|
||||
], features: [
|
||||
"AC Deluxe Bus 2x2 Seating", "3-5 Day Tour Packages", "Daily Meals Included", "Basic Hotel Accommodation", "Group Tour Guide"
|
||||
]
|
||||
},
|
||||
@@ -188,8 +183,7 @@ export default function LandingPage() {
|
||||
buttons: [
|
||||
{ text: "Book Now", href: "contact" },
|
||||
{ text: "Learn More", href: "faq" }
|
||||
],
|
||||
features: [
|
||||
], features: [
|
||||
"AC Deluxe Bus 2x2 Seating", "7-10 Day Spiritual Journey", "All Meals (Vegetarian & Vegan Options)", "Premium 4-Star Hotel Stays", "Expert Spiritual Guide", "Priority Seat Selection"
|
||||
]
|
||||
},
|
||||
@@ -197,8 +191,7 @@ export default function LandingPage() {
|
||||
id: "corporate", price: "₹35,000", name: "Group & Corporate", buttons: [
|
||||
{ text: "Request Quote", href: "contact" },
|
||||
{ text: "Bulk Discounts", href: "faq" }
|
||||
],
|
||||
features: [
|
||||
], features: [
|
||||
"Multiple AC Deluxe Buses", "Customizable Itineraries", "Team Meals & Accommodation", "Dedicated Group Coordinator", "Special Group Rates & Discounts", "Admin Dashboard for Bookings"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,51 +1,40 @@
|
||||
"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;
|
||||
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',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${text.length * fontSize} ${fontSize * 1.5}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
fontFamily="system-ui, -apple-system, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user