Merge version_1 into main #2
@@ -58,12 +58,12 @@ export default function LandingPage() {
|
||||
<div id="reviews" data-section="reviews">
|
||||
<TestimonialCardSix
|
||||
testimonials={[
|
||||
{ id: "1", name: "María García", handle: "@mariagarcia_cancun", testimonial: "Excelente lugar para cenar unos deliciosos tacos. El ambiente es familiar y acogedor. ¡Vuelvo cada semana!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg?_wi=1", imageAlt: "María García" },
|
||||
{ id: "2", name: "Carlos López", handle: "@carloslopez_mx", testimonial: "La comida deliciosa y buen ambiente familiar. Los tacos al pastor son espectaculares, bien surtidos y a buen precio.", imageSrc: "http://img.b2bpic.net/free-photo/young-lady-posing-while-standing-blouse-denim-jacket-looking-cheery-front-view_176474-109240.jpg?_wi=1", imageAlt: "Carlos López" },
|
||||
{ id: "1", name: "María García", handle: "@mariagarcia_cancun", testimonial: "Excelente lugar para cenar unos deliciosos tacos. El ambiente es familiar y acogedor. ¡Vuelvo cada semana!", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg", imageAlt: "María García" },
|
||||
{ id: "2", name: "Carlos López", handle: "@carloslopez_mx", testimonial: "La comida deliciosa y buen ambiente familiar. Los tacos al pastor son espectaculares, bien surtidos y a buen precio.", imageSrc: "http://img.b2bpic.net/free-photo/young-lady-posing-while-standing-blouse-denim-jacket-looking-cheery-front-view_176474-109240.jpg", imageAlt: "Carlos López" },
|
||||
{ id: "3", name: "Lupita Martínez", handle: "@lupitam_cancun", testimonial: "Mi lugar favorito en Cancún para comer tacos. El queso fundido es increíble y el servicio es muy rápido.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg", imageAlt: "Lupita Martínez" },
|
||||
{ id: "4", name: "Diego Hernández", handle: "@diego.mx", testimonial: "Calidad, sabor y precio justo. La Planchita es el mejor lugar para disfrutar de auténticos tacos mexicanos.", imageSrc: "http://img.b2bpic.net/free-photo/emotional-young-male-with-blue-shirt-standing-gate-with-slight-smile-his-face_181624-33508.jpg", imageAlt: "Diego Hernández" },
|
||||
{ id: "5", name: "Sofia Reyes", handle: "@sofiareyes_cancun", testimonial: "¡Los mejores tacos que he probado en Cancún! El ambiente es perfecto para ir con amigos o familia.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg?_wi=2", imageAlt: "Sofia Reyes" },
|
||||
{ id: "6", name: "Roberto Sánchez", handle: "@robertosanchez", testimonial: "Servicio rápido, comida fresca y deliciosa. Recomiendo La Planchita a todos mis amigos en Cancún.", imageSrc: "http://img.b2bpic.net/free-photo/young-lady-posing-while-standing-blouse-denim-jacket-looking-cheery-front-view_176474-109240.jpg?_wi=2", imageAlt: "Roberto Sánchez" }
|
||||
{ id: "5", name: "Sofia Reyes", handle: "@sofiareyes_cancun", testimonial: "¡Los mejores tacos que he probado en Cancún! El ambiente es perfecto para ir con amigos o familia.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg", imageAlt: "Sofia Reyes" },
|
||||
{ id: "6", name: "Roberto Sánchez", handle: "@robertosanchez", testimonial: "Servicio rápido, comida fresca y deliciosa. Recomiendo La Planchita a todos mis amigos en Cancún.", imageSrc: "http://img.b2bpic.net/free-photo/young-lady-posing-while-standing-blouse-denim-jacket-looking-cheery-front-view_176474-109240.jpg", imageAlt: "Roberto Sánchez" }
|
||||
]}
|
||||
animationType="slide-up"
|
||||
title="Lo Que Nuestros Clientes Dicen"
|
||||
@@ -98,7 +98,7 @@ export default function LandingPage() {
|
||||
<div id="gallery" data-section="gallery">
|
||||
<FeatureCardTwentySix
|
||||
features={[
|
||||
{ title: "Ambiente Familiar", description: "Un espacio cálido y acogedor para disfrutar con amigos y familia", imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-chicken-shawarma-flatbread-served-with-fries-sauces-yogurt-pickles_141793-2200.jpg?_wi=1", imageAlt: "Interior del restaurante por la noche", buttonIcon: MapPin },
|
||||
{ title: "Ambiente Familiar", description: "Un espacio cálido y acogedor para disfrutar con amigos y familia", imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-chicken-shawarma-flatbread-served-with-fries-sauces-yogurt-pickles_141793-2200.jpg", imageAlt: "Interior del restaurante por la noche", buttonIcon: MapPin },
|
||||
{ title: "Grill en Vivo", description: "Observa cómo preparamos nuestros deliciosos tacos al pastor", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-brushing-sauce-dip-meat-grilling_23-2147840969.jpg", imageAlt: "Chef cocinando tacos al pastor", buttonIcon: Flame },
|
||||
{ title: "Clientes Felices", description: "Miles de clientes satisfechos disfrutan de nuestros tacos noche tras noche", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-taking-food-photos_23-2149250116.jpg", imageAlt: "Clientes disfrutando comida", buttonIcon: Smile }
|
||||
]}
|
||||
@@ -130,7 +130,7 @@ export default function LandingPage() {
|
||||
title="Ubicación y Horarios"
|
||||
description="Av. 135 #34, 77536 Cancún, Quintana Roo, México\n\nHorarios:\n🌮 Martes a Jueves: 6 PM - 11 PM\n🌮 Viernes a Domingo: 6 PM - 1 AM\n🌮 Lunes: Cerrado\n\n¡Visítanos o pide a domicilio!"
|
||||
tag="Ubicación"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/woman-holding-chicken-shawarma-flatbread-served-with-fries-sauces-yogurt-pickles_141793-2200.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/woman-holding-chicken-shawarma-flatbread-served-with-fries-sauces-yogurt-pickles_141793-2200.jpg"
|
||||
imageAlt="Ubicación de La Planchita Taquerías"
|
||||
buttons={[
|
||||
{ text: "📍 Cómo Llegar", href: "https://www.google.com/maps/search/Av.+135+34,+77536+Cancún,+Quintana+Roo,+México" }
|
||||
|
||||
@@ -1,51 +1,44 @@
|
||||
"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?: number | string;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'central' | 'hanging' | 'mathematical';
|
||||
}
|
||||
|
||||
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 = 48,
|
||||
fontWeight = 'bold',
|
||||
letterSpacing = 2,
|
||||
dominantBaseline = 'middle',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
className={`w-full h-full ${className}`}
|
||||
viewBox="0 0 1000 200"
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
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}
|
||||
letterSpacing={letterSpacing}
|
||||
fill="currentColor"
|
||||
className="font-sans"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user