Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 19:27:43 +00:00
2 changed files with 38 additions and 50 deletions

View File

@@ -18,7 +18,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="small"
sizing="mediumLargeSizeLargeTitles"
background="grid"
background="circleGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="solid"
@@ -59,19 +59,19 @@ export default function LandingPage() {
testimonials={[
{
name: "María García", handle: "Cliente Regular", testimonial: "Excelente trato, amigable y grandes profesionales. Vuelvo cada mes.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylist-works-woman-hair-salon_1398-1042.jpg?_wi=1", imageAlt: "retrato mujer sonriente profesional confiada"
imageSrc: "http://img.b2bpic.net/free-photo/stylist-works-woman-hair-salon_1398-1042.jpg", imageAlt: "retrato mujer sonriente profesional confiada"
},
{
name: "Carlos López", handle: "Cliente Fiel", testimonial: "Magnífico trato, buen rollo y buena música. Es mi lugar favorito en Gràcia.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg?_wi=1", imageAlt: "hombre joven satisfecho corte peluquería"
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg", imageAlt: "hombre joven satisfecho corte peluquería"
},
{
name: "Ana Martínez", handle: "Cliente Satisfecha", testimonial: "Lewin es atento, servicial y te hace sentir cómodo desde el primer momento. Muy recomendado.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beauty-brunette-portrait-girl-pool-good-shape-with-long-dark-hair-tan-skin-red-lips-with-cat-eye-neon-makeup-eyeshadow-smile_343629-113.jpg?_wi=1", imageAlt: "mujer joven retrato sonriente profesional"
imageSrc: "http://img.b2bpic.net/free-photo/beauty-brunette-portrait-girl-pool-good-shape-with-long-dark-hair-tan-skin-red-lips-with-cat-eye-neon-makeup-eyeshadow-smile_343629-113.jpg", imageAlt: "mujer joven retrato sonriente profesional"
}
]}
testimonialRotationInterval={5000}
background={{ variant: "grid" }}
background={{ variant: "plain" }}
/>
</div>
@@ -82,10 +82,10 @@ export default function LandingPage() {
title: "Corte y Estilismo", description: "Diseños personalizados adaptados a tu rostro y estilo de vida. Nuestros especialistas crean looks únicos que resaltan tu mejor versión.", icon: Scissors,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/faceless-woman-cutting-beard-man_23-2147778905.jpg?_wi=1", imageAlt: "Corte profesional de cabello"
imageSrc: "http://img.b2bpic.net/free-photo/faceless-woman-cutting-beard-man_23-2147778905.jpg", imageAlt: "Corte profesional de cabello"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/faceless-woman-cutting-beard-man_23-2147778905.jpg?_wi=2", imageAlt: "Estilismo especializado"
imageSrc: "http://img.b2bpic.net/free-photo/faceless-woman-cutting-beard-man_23-2147778905.jpg", imageAlt: "Estilismo especializado"
}
]
},
@@ -93,10 +93,10 @@ export default function LandingPage() {
title: "Tratamientos de Queratina", description: "Alisados y tratamientos de queratina con resultados espectaculares garantizados. Cabello liso, brillante y saludable por semanas.", icon: Sparkles,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/woman-spraying-hair-with-product_23-2148547437.jpg?_wi=1", imageAlt: "Tratamiento queratina profesional"
imageSrc: "http://img.b2bpic.net/free-photo/woman-spraying-hair-with-product_23-2148547437.jpg", imageAlt: "Tratamiento queratina profesional"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/woman-spraying-hair-with-product_23-2148547437.jpg?_wi=2", imageAlt: "Resultado cabello liso brillante"
imageSrc: "http://img.b2bpic.net/free-photo/woman-spraying-hair-with-product_23-2148547437.jpg", imageAlt: "Resultado cabello liso brillante"
}
]
},
@@ -104,10 +104,10 @@ export default function LandingPage() {
title: "Estética Avanzada", description: "Diseño de cejas con precisión, manicura y pedicura semipermanente. Belleza integral para manos, pies y rostro.", icon: Zap,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-getting-pedicure_23-2150507058.jpg?_wi=1", imageAlt: "Diseño de cejas profesional"
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-getting-pedicure_23-2150507058.jpg", imageAlt: "Diseño de cejas profesional"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-getting-pedicure_23-2150507058.jpg?_wi=2", imageAlt: "Manicura y pedicura semipermanente"
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-getting-pedicure_23-2150507058.jpg", imageAlt: "Manicura y pedicura semipermanente"
}
]
}
@@ -132,15 +132,15 @@ export default function LandingPage() {
testimonials={[
{
id: "1", name: "María García", role: "Diseñadora Gráfica", company: "Freelancer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylist-works-woman-hair-salon_1398-1042.jpg?_wi=2", imageAlt: "retrato mujer sonriente profesional confiada"
imageSrc: "http://img.b2bpic.net/free-photo/stylist-works-woman-hair-salon_1398-1042.jpg", imageAlt: "retrato mujer sonriente profesional confiada"
},
{
id: "2", name: "Carlos López", role: "Empresario", company: "Startup Tech", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg?_wi=2", imageAlt: "hombre joven satisfecho corte peluquería"
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-with-hands-head_1262-2009.jpg", imageAlt: "hombre joven satisfecho corte peluquería"
},
{
id: "3", name: "Ana Martínez", role: "Abogada", company: "Bufete Jurídico", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beauty-brunette-portrait-girl-pool-good-shape-with-long-dark-hair-tan-skin-red-lips-with-cat-eye-neon-makeup-eyeshadow-smile_343629-113.jpg?_wi=2", imageAlt: "mujer joven retrato sonriente profesional"
imageSrc: "http://img.b2bpic.net/free-photo/beauty-brunette-portrait-girl-pool-good-shape-with-long-dark-hair-tan-skin-red-lips-with-cat-eye-neon-makeup-eyeshadow-smile_343629-113.jpg", imageAlt: "mujer joven retrato sonriente profesional"
},
{
id: "4", name: "David Fernández", role: "Arquitecto", company: "Studio Diseño", rating: 5,

View File

@@ -1,51 +1,39 @@
"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?: 'normal' | 'bold' | 'semibold';
letterSpacing?: number;
}
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',
letterSpacing = 0,
}) => {
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"
}}
y={fontSize}
fontSize={fontSize}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill="currentColor"
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;