From 40137b16bf6959843ee88da6e2fbb600d338cc20 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:43:38 +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 5e511a8..1da9ff4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="mediumSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="double-inset" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { title="Reliable Hardware Supplies for Professionals" description="Quality products for construction, painting, and hardware needs. Trusted by local contractors, painters, and hardware shops across the region." tag="IJS Traders" - background={{ variant: "noise" }} + background={{ variant: "plain" }} buttons={[ { text: "Browse Products", href: "#products" }, { text: "Contact Us", href: "#contact" } @@ -192,4 +192,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} -- 2.49.1 From 8d91f23483e1f32c687bb4fc3bf5906c42124143 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:43:39 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 58 +++++++------------ 1 file changed, 21 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c2bb7eb 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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"; +export interface SvgTextLogoProps extends SVGProps { + text: 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, + className = '', + ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1