Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 21:04:59 +00:00
2 changed files with 24 additions and 46 deletions

View File

@@ -50,12 +50,10 @@ export default function LandingPage() {
mediaAnimation="slide-up"
testimonials={[
{
name: "Lorent C.", handle: "Satisfied Client", testimonial: "Incredible service... he did it perfectly. The price is so good.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg?_wi=1"
name: "Lorent C.", handle: "Satisfied Client", testimonial: "Incredible service... he did it perfectly. The price is so good.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg"
},
{
name: "Eris", handle: "Regular Customer", testimonial: "The first barbershop I've seen that truly combines professionalism with modern style.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-man-looking-photographer_23-2148398473.jpg?_wi=1"
name: "Eris", handle: "Regular Customer", testimonial: "The first barbershop I've seen that truly combines professionalism with modern style.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-man-looking-photographer_23-2148398473.jpg"
}
]}
buttons={[
@@ -79,11 +77,11 @@ export default function LandingPage() {
},
{
id: 2,
title: "Hairstyling", description: "Expert styling for any occasion. We recreate any look you bring as a reference photo with professional precision.", imageSrc: "http://img.b2bpic.net/free-photo/woman-having-hair-treatment-latino-hair-salon_23-2150555174.jpg?_wi=1", imageAlt: "Professional Hair Styling Service"
title: "Hairstyling", description: "Expert styling for any occasion. We recreate any look you bring as a reference photo with professional precision.", imageSrc: "http://img.b2bpic.net/free-photo/woman-having-hair-treatment-latino-hair-salon_23-2150555174.jpg", imageAlt: "Professional Hair Styling Service"
},
{
id: 3,
title: "Hair Highlighting", description: "Modern color techniques to enhance your style. Precision highlighting that complements your natural look.", imageSrc: "http://img.b2bpic.net/free-photo/woman-having-hair-treatment-latino-hair-salon_23-2150555174.jpg?_wi=2", imageAlt: "Professional Hair Highlighting"
title: "Hair Highlighting", description: "Modern color techniques to enhance your style. Precision highlighting that complements your natural look.", imageSrc: "http://img.b2bpic.net/free-photo/woman-having-hair-treatment-latino-hair-salon_23-2150555174.jpg", imageAlt: "Professional Hair Highlighting"
},
{
id: 4,
@@ -102,10 +100,11 @@ export default function LandingPage() {
{ value: "5.0★", title: "Client Rating (73+ Reviews)" },
{ value: "10+", title: "Years of Combined Excellence" }
]}
imageSrc="http://img.b2bpic.net/free-photo/hairdresser-styling-hair-young-woman_23-2147769811.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/hairdresser-styling-hair-young-woman_23-2147769811.jpg"
imageAlt="Mustaqe Saloon Professional Team"
useInvertedBackground={true}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -140,10 +139,10 @@ export default function LandingPage() {
cardAnimation="slide-up"
testimonials={[
{
id: "1", name: "Lorent C.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg?_wi=2", imageAlt: "Lorent C."
id: "1", name: "Lorent C.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg", imageAlt: "Lorent C."
},
{
id: "2", name: "Eris", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-man-looking-photographer_23-2148398473.jpg?_wi=2", imageAlt: "Eris"
id: "2", name: "Eris", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-man-looking-photographer_23-2148398473.jpg", imageAlt: "Eris"
},
{
id: "3", name: "Klajdi", imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg", imageAlt: "Klajdi"
@@ -167,7 +166,7 @@ export default function LandingPage() {
name: "service", placeholder: "Which service are you interested in? (Taper Fade, Hairstyling, etc.)", rows: 4,
required: true
}}
imageSrc="http://img.b2bpic.net/free-photo/hairdresser-styling-hair-young-woman_23-2147769811.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/hairdresser-styling-hair-young-woman_23-2147769811.jpg"
imageAlt="Mustaqe Saloon Interior"
mediaAnimation="slide-up"
useInvertedBackground={false}

View File

@@ -1,51 +1,30 @@
"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;
}
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 = '' }) => {
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 * 60} 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="central"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;