From 3e8899c8a16c9a305604350edb681306d937341e Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:01:35 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b5d8c1c..df5cec4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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() { Date: Wed, 11 Mar 2026 17:01:35 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 +++++++++---------- 1 file changed, 31 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c6b3230 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + width = 200, + height = 100, + fontSize = 48, + fontWeight = 'bold', + fill = '#000', + className, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}; \ No newline at end of file -- 2.49.1