From 6b6ce69c5d63b77346ab111ba3224e49bf50ae80 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 23:49:56 +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 d05d047..dbf242b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="smallMedium" sizing="largeSmallSizeMediumTitles" - background="grid" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="primary-glow" secondaryButtonStyle="solid" @@ -53,14 +53,14 @@ export default function LandingPage() { ]} buttonAnimation="blur-reveal" mediaItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg?_wi=1", imageAlt: "luxury scented candles collection aesthetic" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-drinks-arrangement_23-2149312336.jpg?_wi=1", imageAlt: "vanilla scented candle product photography" }, - { imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-bouquet-blue-pink-wildflowers-vase_169016-59687.jpg?_wi=1", imageAlt: "lavender candle luxury product shot" }, - { imageSrc: "http://img.b2bpic.net/free-photo/burning-candle-red-roses-home-romance-cozy-romance_169016-71469.jpg?_wi=1", imageAlt: "rose scented candle luxury product" }, - { imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg?_wi=2", imageAlt: "luxury scented candles collection aesthetic" } + { imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg", imageAlt: "luxury scented candles collection aesthetic" }, + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-drinks-arrangement_23-2149312336.jpg", imageAlt: "vanilla scented candle product photography" }, + { imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-bouquet-blue-pink-wildflowers-vase_169016-59687.jpg", imageAlt: "lavender candle luxury product shot" }, + { imageSrc: "http://img.b2bpic.net/free-photo/burning-candle-red-roses-home-romance-cozy-romance_169016-71469.jpg", imageAlt: "rose scented candle luxury product" }, + { imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg", imageAlt: "luxury scented candles collection aesthetic" } ]} mediaAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "animated-grid" }} ariaLabel="Hero section showcasing premium candle collection" /> @@ -77,9 +77,9 @@ export default function LandingPage() { animationType="slide-up" gridVariant="three-columns-all-equal-width" products={[ - { id: "1", name: "Vanilla Dream", price: "$34.99", imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-drinks-arrangement_23-2149312336.jpg?_wi=2", imageAlt: "Vanilla Dream premium candle", initialQuantity: 1 }, - { id: "2", name: "Lavender Serenity", price: "$34.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-bouquet-blue-pink-wildflowers-vase_169016-59687.jpg?_wi=2", imageAlt: "Lavender Serenity scented candle", initialQuantity: 1 }, - { id: "3", name: "Rose Bliss", price: "$39.99", imageSrc: "http://img.b2bpic.net/free-photo/burning-candle-red-roses-home-romance-cozy-romance_169016-71469.jpg?_wi=2", imageAlt: "Rose Bliss luxury candle", initialQuantity: 1 } + { id: "1", name: "Vanilla Dream", price: "$34.99", imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-drinks-arrangement_23-2149312336.jpg", imageAlt: "Vanilla Dream premium candle", initialQuantity: 1 }, + { id: "2", name: "Lavender Serenity", price: "$34.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-bouquet-blue-pink-wildflowers-vase_169016-59687.jpg", imageAlt: "Lavender Serenity scented candle", initialQuantity: 1 }, + { id: "3", name: "Rose Bliss", price: "$39.99", imageSrc: "http://img.b2bpic.net/free-photo/burning-candle-red-roses-home-romance-cozy-romance_169016-71469.jpg", imageAlt: "Rose Bliss luxury candle", initialQuantity: 1 } ]} ariaLabel="Product collection section with add to cart" /> @@ -95,7 +95,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={true} imagePosition="right" - imageSrc="http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg?_wi=3" + imageSrc="http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23224.jpg" imageAlt="Premium candle collection display" mediaAnimation="slide-up" bulletPoints={[ -- 2.49.1 From 2770fb04ceb42674f8d867e52be91a5901d2c205 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 23:49:56 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 ++++++++----------- 1 file changed, 25 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4e52dfb 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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 { + text?: string; + size?: number; + color?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Logo', + size = 100, + color = '#000000', + ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1