Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmall"
|
||||
background="noiseDiagonalGradient"
|
||||
background="noise"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="glass"
|
||||
@@ -45,7 +45,7 @@ export default function LandingPage() {
|
||||
title="Turis Leon: Tu Viaje, Nuestra Pasión"
|
||||
description="Porque viajar es vivir, vive hoy. Renta de autobús de lujo Dina Dorado con capacidad para 43 pasajeros. Servicio profesional en toda la República Mexicana."
|
||||
tag="Viajes Turísticos"
|
||||
background={{ variant: "noiseDiagonalGradient" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/businessman-holding-disposable-coffee-cup-using-mobile-phone_107420-64849.jpg"
|
||||
imageAlt="Autobús Dina Dorado de lujo"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -53,15 +53,15 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "María García", handle: "Grupo de Viajeros", testimonial: "El servicio fue impecable, el autobús muy cómodo y el refresco de cortesía fue un detalle muy especial.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-standing-airport_107420-63594.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-standing-airport_107420-63594.jpg"
|
||||
},
|
||||
{
|
||||
name: "Carlos Rodríguez", handle: "Empresa de Eventos", testimonial: "Profesionalismo de primer nivel. El conductor muy amable y el autobús en perfectas condiciones.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg"
|
||||
},
|
||||
{
|
||||
name: "Ana López", handle: "Grupo Familiar", testimonial: "Viajamos en familia y todos quedamos encantados. Volveremos a contratar sus servicios.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -84,7 +84,7 @@ export default function LandingPage() {
|
||||
description="Viaja con confort y estilo"
|
||||
subdescription="Experiencia premium en cada kilómetro"
|
||||
icon={Armchair}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg"
|
||||
imageAlt="Interior del autobús Dina Dorado"
|
||||
mediaAnimation="blur-reveal"
|
||||
useInvertedBackground={false}
|
||||
@@ -96,7 +96,7 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Turismo Nacional", tags: ["Playas", "Pueblos Mágicos", "Ciudades"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-cacti-plant-with-desert-landscape_23-2151204755.jpg?_wi=1", imageAlt: "Paisaje turístico de México"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-cacti-plant-with-desert-landscape_23-2151204755.jpg", imageAlt: "Paisaje turístico de México"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Recolección Personalizada", tags: ["Flexibilidad", "Puntualidad", "Confort"],
|
||||
@@ -104,7 +104,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: "3", title: "Contratos a Medida", tags: ["Transparencia", "Cita Previa", "Profesional"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg?_wi=2", imageAlt: "Proceso de contratación profesional"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-traveling-by-train-wearing-medical-mask-protection_23-2149042944.jpg", imageAlt: "Proceso de contratación profesional"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -141,15 +141,15 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "María García", role: "Coordinadora", company: "Grupo Viajero", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-standing-airport_107420-63594.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-standing-airport_107420-63594.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Carlos Rodríguez", role: "Encargado", company: "Empresa Eventos", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Ana López", role: "Mamá Viajera", company: "Familia León", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Roberto Sánchez", role: "Gerente", company: "Empresa Turística", rating: 5,
|
||||
@@ -181,7 +181,7 @@ export default function LandingPage() {
|
||||
title="Reserva Tu Viaje Hoy"
|
||||
description="Comunícate con nosotros por WhatsApp, teléfono o visítanos en persona. Nuestro equipo está listo para hacer realidad tu próximo viaje."
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-cacti-plant-with-desert-landscape_23-2151204755.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/beautiful-cacti-plant-with-desert-landscape_23-2151204755.jpg"
|
||||
imageAlt="Paisaje de viaje en México"
|
||||
mediaAnimation="opacity"
|
||||
useInvertedBackground={false}
|
||||
|
||||
@@ -1,51 +1,32 @@
|
||||
"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;
|
||||
textClassName?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
textClassName = '',
|
||||
}) => {
|
||||
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 200 60"
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
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="50%"
|
||||
y="50%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
className={textClassName}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
};
|
||||
Reference in New Issue
Block a user