Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 06:35:33 +00:00
2 changed files with 54 additions and 53 deletions

View File

@@ -18,7 +18,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="mediumLarge"
sizing="medium"
background="grid"
background="circleGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="layered"
@@ -43,7 +43,7 @@ export default function LandingPage() {
<HeroLogoBillboardSplit
logoText="Blonde Me Salon"
description="Premium haircuts, hair colour & spa in the heart of Agripada, Mumbai. Trusted by 300+ happy clients. Rated 4.9 stars for expert styling, hygiene, and personalized care."
background={{ variant: "grid" }}
background={{ variant: "plain" }}
buttons={[
{ text: "📞 Call Now", href: "tel:+917039694479" },
{ text: "📅 Book Appointment", href: "#appointment" }
@@ -103,16 +103,16 @@ export default function LandingPage() {
tag="About Us"
features={[
{
id: "expertise", title: "Expert Stylists", description: "Led by Shaggy Ansari with years of professional experience. Personalized haircare advice for every client.", tag: "Expert", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg?_wi=1", buttons: []
id: "expertise", title: "Expert Stylists", description: "Led by Shaggy Ansari with years of professional experience. Personalized haircare advice for every client.", tag: "Expert", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg", buttons: []
},
{
id: "hygiene", title: "Super Clean & Hygienic", description: "Sanitized tools, clean environment. Your health and safety are our top priority.", tag: "Safety", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg?_wi=2", buttons: []
id: "hygiene", title: "Super Clean & Hygienic", description: "Sanitized tools, clean environment. Your health and safety are our top priority.", tag: "Safety", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg", buttons: []
},
{
id: "quality", title: "Premium Products", description: "Only the best haircare products used. Quality results you can feel and see.", tag: "Quality", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg?_wi=3", buttons: []
id: "quality", title: "Premium Products", description: "Only the best haircare products used. Quality results you can feel and see.", tag: "Quality", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg", buttons: []
},
{
id: "service", title: "Friendly, Polite Staff", description: "Warm welcome, professional service. We treat every client like family.", tag: "Care", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg?_wi=4", buttons: []
id: "service", title: "Friendly, Polite Staff", description: "Warm welcome, professional service. We treat every client like family.", tag: "Care", imageSrc: "http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg", buttons: []
}
]}
animationType="slide-up"
@@ -169,9 +169,9 @@ export default function LandingPage() {
description="Book your appointment with Shaggy Ansari. Quick, easy, and secure. We'll confirm your slot via WhatsApp or call."
tagIcon={Calendar}
tagAnimation="slide-up"
background={{ variant: "grid" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg?_wi=5"
imageSrc="http://img.b2bpic.net/free-photo/emo-resurgence-concept-with-candles-perfume_23-2149829748.jpg"
mediaAnimation="slide-up"
mediaPosition="right"
inputPlaceholder="Enter your phone number"

View File

@@ -1,51 +1,52 @@
"use client";
import React, { SVGProps } from 'react';
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
className?: string;
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text: string;
fontSize?: number;
fontWeight?: number | string;
fill?: string;
letterSpacing?: number;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<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"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
(
{
text,
fontSize = 48,
fontWeight = 'bold',
fill = 'currentColor',
letterSpacing = 0,
...props
},
ref
) => {
return (
<svg
ref={ref}
viewBox="0 0 800 100"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
letterSpacing={letterSpacing}
style={{
fontFamily: 'system-ui, -apple-system, sans-serif',
}}
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";
SvgTextLogo.displayName = 'SvgTextLogo';
export default SvgTextLogo;
export default SvgTextLogo;