Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 07:20:22 +00:00
2 changed files with 20 additions and 41 deletions

View File

@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="smallMedium"
sizing="largeSizeMediumTitles"
background="noise"
background="circleGradient"
cardStyle="glass-depth"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -44,7 +44,7 @@ export default function LandingPage() {
tag="Premium Beauty Services"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "noise" }}
background={{ variant: "plain" }}
imageSrc="http://img.b2bpic.net/free-photo/professional-stylist-doing-haircut-salon_23-2147769831.jpg"
imageAlt="Professional hair styling service"
buttons={[
@@ -67,7 +67,7 @@ export default function LandingPage() {
{ id: "2", value: "150+", description: "Happy Customers" },
{ id: "3", value: "10+", description: "Years Experience" }
]}
gridVariant="three-columns-all-equal-width"
gridVariant="uniform-all-items-equal"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
@@ -166,7 +166,7 @@ export default function LandingPage() {
tagAnimation="slide-up"
title="Get Beautiful Today"
description="Book your beauty appointment now. Fill out the form or call us directly on WhatsApp for instant booking."
background={{ variant: "noise" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/make-up-artist-applying-lipstick-woman_23-2148332511.jpg"
imageAlt="Professional makeup service"

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);
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 200 50"
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="10"
y="35"
fontSize="32"
fontWeight="bold"
fill="currentColor"
fontFamily="Arial, sans-serif"
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;