Merge version_1 into main #2
@@ -48,33 +48,33 @@ export default function LandingPage() {
|
||||
tag="Estética Profesional"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
leftCarouselItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg?_wi=1", imageAlt: "beautiful woman spa treatment relaxation"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg", imageAlt: "beautiful woman spa treatment relaxation"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg?_wi=1", imageAlt: "professional facial treatment spa beauty"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg", imageAlt: "professional facial treatment spa beauty"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg?_wi=1", imageAlt: "professional massage therapy relaxation spa"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg", imageAlt: "professional massage therapy relaxation spa"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg?_wi=1", imageAlt: "beauty serum skincare product bottle"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg", imageAlt: "beauty serum skincare product bottle"
|
||||
}
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg?_wi=1", imageAlt: "luxury face cream skincare jar white"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg", imageAlt: "luxury face cream skincare jar white"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg?_wi=1", imageAlt: "beauty face mask skincare treatment"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg", imageAlt: "beauty face mask skincare treatment"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg?_wi=2", imageAlt: "professional facial treatment spa beauty"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg", imageAlt: "professional facial treatment spa beauty"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg?_wi=2", imageAlt: "beautiful woman spa treatment relaxation"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg", imageAlt: "beautiful woman spa treatment relaxation"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -100,10 +100,10 @@ export default function LandingPage() {
|
||||
title: "Faciales Hidratantes", description: "Tratamientos faciales profundos con productos premium para revitalizar tu piel", icon: Sparkles,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg?_wi=3", imageAlt: "Facial hidratante"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/serene-spa-room_23-2151934180.jpg", imageAlt: "Facial hidratante"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg?_wi=2", imageAlt: "Productos faciales"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg", imageAlt: "Productos faciales"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -111,10 +111,10 @@ export default function LandingPage() {
|
||||
title: "Masajes Relajantes", description: "Masajes terapéuticos para aliviar tensión y promover bienestar total", icon: Wind,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg?_wi=2", imageAlt: "Masaje profesional"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg", imageAlt: "Masaje profesional"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg?_wi=3", imageAlt: "Spa relajante"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/illuminated-couch-armchair_1203-771.jpg", imageAlt: "Spa relajante"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -122,10 +122,10 @@ export default function LandingPage() {
|
||||
title: "Tratamientos Corporales", description: "Cuidados completos del cuerpo con técnicas modernas y productos naturales", icon: Zap,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg?_wi=2", imageAlt: "Tratamiento corporal"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg", imageAlt: "Tratamiento corporal"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg?_wi=3", imageAlt: "Body treatment"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-massage-spa_329181-18812.jpg", imageAlt: "Body treatment"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -133,10 +133,10 @@ export default function LandingPage() {
|
||||
title: "Skincare Personalizado", description: "Rutinas de cuidado adaptadas a tu tipo de piel y necesidades específicas", icon: Shield,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg?_wi=2", imageAlt: "Skincare routine"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg", imageAlt: "Skincare routine"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg?_wi=3", imageAlt: "Productos skincare"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg", imageAlt: "Productos skincare"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -157,22 +157,22 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Serum Antioxidante Premium", price: "$45.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg?_wi=4", imageAlt: "Serum antioxidante"
|
||||
id: "1", name: "Serum Antioxidante Premium", price: "$45.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg", imageAlt: "Serum antioxidante"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Crema Facial Hidratante 24h", price: "$52.00", imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg?_wi=3", imageAlt: "Crema facial hidratante"
|
||||
id: "2", name: "Crema Facial Hidratante 24h", price: "$52.00", imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg", imageAlt: "Crema facial hidratante"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Máscara Facial Revitalizante", price: "$38.00", imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg?_wi=3", imageAlt: "Máscara facial revitalizante"
|
||||
id: "3", name: "Máscara Facial Revitalizante", price: "$38.00", imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg", imageAlt: "Máscara facial revitalizante"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Tónico Limpiador Suave", price: "$28.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg?_wi=5", imageAlt: "Tónico limpiador"
|
||||
id: "4", name: "Tónico Limpiador Suave", price: "$28.00", imageSrc: "http://img.b2bpic.net/free-photo/top-view-set-beauty-products-blue-background_23-2148574376.jpg", imageAlt: "Tónico limpiador"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Exfoliante Corporal Natural", price: "$35.00", imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg?_wi=4", imageAlt: "Exfoliante corporal"
|
||||
id: "5", name: "Exfoliante Corporal Natural", price: "$35.00", imageSrc: "http://img.b2bpic.net/free-photo/woman-putting-facial-treatment-close-up_23-2148660797.jpg", imageAlt: "Exfoliante corporal"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Aceite Facial Nutritivo", price: "$48.00", imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg?_wi=4", imageAlt: "Aceite facial nutritivo"
|
||||
id: "6", name: "Aceite Facial Nutritivo", price: "$48.00", imageSrc: "http://img.b2bpic.net/free-vector/different-bath-containers_1110-756.jpg", imageAlt: "Aceite facial nutritivo"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -261,7 +261,7 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
text="¿Listos para transformar tu belleza? Contáctanos hoy y agenda tu consulta personal con nuestros expertos"
|
||||
animationType="reveal-blur"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={true}
|
||||
buttons={[
|
||||
{ text: "Agendar Cita", href: "#" },
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
"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;
|
||||
fontFamily?: string;
|
||||
fontSize?: number;
|
||||
fontWeight?: string | number;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'text-top' | 'text-bottom' | 'central' | 'mathematical' | 'inherit';
|
||||
}
|
||||
|
||||
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,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fontSize = 24,
|
||||
fontWeight = 700,
|
||||
letterSpacing = 1,
|
||||
dominantBaseline = 'middle'
|
||||
}) => {
|
||||
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 500 100"
|
||||
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={dominantBaseline}
|
||||
fontFamily={fontFamily}
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user