Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #1.
This commit is contained in:
2026-03-11 00:36:46 +00:00
2 changed files with 20 additions and 39 deletions

View File

@@ -43,7 +43,7 @@ export default function LandingPage() {
<HeroSplitKpi
title="Excellence in Every Cut"
description="Experience premium barbershop services in Laval. From precision haircuts to classic straight razor shaves, we deliver excellence with every visit."
background={{ variant: "glowing-orb" }}
background={{ variant: "rotated-rays-animated" }}
kpis={[
{ value: "15+", label: "Years Experience" },
{ value: "5000+", label: "Satisfied Clients" },
@@ -172,7 +172,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
title="Ready for Your Next Great Haircut?"
description="Book your appointment today at Excellence Barbershop in Laval. Walk-ins welcome, but we recommend booking ahead to secure your preferred time."
background={{ variant: "glowing-orb" }}
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
inputPlaceholder="Enter your email"
buttonText="Book Appointment"

View File

@@ -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;
}
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`}
width="100"
height="40"
viewBox="0 0 100 40"
className={className}
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="20"
textAnchor="middle"
dominantBaseline="central"
fontSize="16"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;