Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
2026-03-11 17:01:39 +00:00
2 changed files with 42 additions and 49 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="small"
sizing="mediumLargeSizeMediumTitles"
background="floatingGradient"
background="circleGradient"
cardStyle="solid"
primaryButtonStyle="flat"
secondaryButtonStyle="glass"
@@ -47,18 +47,18 @@ export default function LandingPage() {
tag="Premium Skincare"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "floatingGradient" }}
background={{ variant: "plain" }}
leftCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-psd/elegant-pink-white-beauty-products-display-luxurious-skincare-set_191095-90347.jpg?_wi=1", imageAlt: "Luxury facial serum" },
{ imageSrc: "http://img.b2bpic.net/free-photo/body-butter-with-nature-elements-white-background_23-2148241809.jpg?_wi=1", imageAlt: "Premium moisturizer cream" },
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-therapist-applying-face-treatment_23-2148815308.jpg?_wi=1", imageAlt: "Pink luxury mask" },
{ imageSrc: "http://img.b2bpic.net/free-photo/compostable-beauty-still-life-with-bottle_23-2149353107.jpg?_wi=1", imageAlt: "Beauty essence spray" }
{ imageSrc: "http://img.b2bpic.net/free-psd/elegant-pink-white-beauty-products-display-luxurious-skincare-set_191095-90347.jpg", imageAlt: "Luxury facial serum" },
{ imageSrc: "http://img.b2bpic.net/free-photo/body-butter-with-nature-elements-white-background_23-2148241809.jpg", imageAlt: "Premium moisturizer cream" },
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-therapist-applying-face-treatment_23-2148815308.jpg", imageAlt: "Pink luxury mask" },
{ imageSrc: "http://img.b2bpic.net/free-photo/compostable-beauty-still-life-with-bottle_23-2149353107.jpg", imageAlt: "Beauty essence spray" }
]}
rightCarouselItems={[
{ imageSrc: "http://img.b2bpic.net/free-photo/body-butter-with-nature-elements-white-background_23-2148241809.jpg?_wi=2", imageAlt: "Premium moisturizer" },
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-therapist-applying-face-treatment_23-2148815308.jpg?_wi=2", imageAlt: "Luxury mask treatment" },
{ imageSrc: "http://img.b2bpic.net/free-photo/compostable-beauty-still-life-with-bottle_23-2149353107.jpg?_wi=2", imageAlt: "Essence spray" },
{ imageSrc: "http://img.b2bpic.net/free-psd/elegant-pink-white-beauty-products-display-luxurious-skincare-set_191095-90347.jpg?_wi=2", imageAlt: "Facial serum" }
{ imageSrc: "http://img.b2bpic.net/free-photo/body-butter-with-nature-elements-white-background_23-2148241809.jpg", imageAlt: "Premium moisturizer" },
{ imageSrc: "http://img.b2bpic.net/free-photo/close-up-therapist-applying-face-treatment_23-2148815308.jpg", imageAlt: "Luxury mask treatment" },
{ imageSrc: "http://img.b2bpic.net/free-photo/compostable-beauty-still-life-with-bottle_23-2149353107.jpg", imageAlt: "Essence spray" },
{ imageSrc: "http://img.b2bpic.net/free-psd/elegant-pink-white-beauty-products-display-luxurious-skincare-set_191095-90347.jpg", imageAlt: "Facial serum" }
]}
carouselPosition="right"
buttons={[
@@ -189,7 +189,7 @@ export default function LandingPage() {
<ContactText
text="Ready to start your luxurious skincare journey? Let us help you discover your most radiant self."
animationType="reveal-blur"
background={{ variant: "floatingGradient" }}
background={{ variant: "plain" }}
useInvertedBackground={false}
buttons={[
{ text: "Get Started", href: "products" },

View File

@@ -1,51 +1,44 @@
"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;
width?: number;
height?: number;
fontSize?: number;
fontWeight?: string;
fill?: 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,
width = 200,
height = 100,
fontSize = 48,
fontWeight = 'bold',
fill = '#000',
className,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
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="middle"
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
fontFamily="Arial, sans-serif"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
};