From 2707423c238d0dc3d01f3e26163b98ce84baa5f6 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 02:17:48 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 36a4a1c..8493143 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="largeSmall" - background="aurora" + background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -48,7 +48,7 @@ export default function LandingPage() { { text: "Browse Products", href: "#products" } ]} buttonAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/combination-cocoa-butter-cookies-wooden-platter_114579-56162.jpg" imageAlt="Golden Crust Bakery fresh baked goods display" mediaAnimation="slide-up" @@ -158,7 +158,7 @@ export default function LandingPage() { { text: "Place Your Order", href: "#products" }, { text: "Contact Us", href: "mailto:hello@goldencrust.com" } ]} - background={{ variant: "aurora" }} + background={{ variant: "plain" }} useInvertedBackground={false} /> -- 2.49.1 From 6e6da23b654cbe9dc37e2e2719c5a9ca03bd3a4b Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 02:17:48 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 ++++++++----------- 1 file changed, 23 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7a84463 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontSize?: number; + fontWeight?: 'light' | 'normal' | 'bold'; + fill?: 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, + className = '', + fontSize = 32, + fontWeight = 'bold', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1