From ae3925598b4e8a4743c9304018e5d58de1bed4ac Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:24:31 +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 632503e..a2a6efd 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="mediumSmall" sizing="large" - background="fluid" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="primary-glow" secondaryButtonStyle="glass" @@ -47,7 +47,7 @@ export default function LandingPage() { { text: "Request Supply" } ]} buttonAnimation="slide-up" - background={{ variant: "fluid" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/side-view-delivery-man-wearing-cap-posing-with-water-bottle_23-2148382517.jpg" imageAlt="Water bottles and delivery service" mediaAnimation="opacity" @@ -144,7 +144,7 @@ export default function LandingPage() { useInvertedBackground={false} speed={40} showCard={true} - tagAnimation="entrance-slide" + tagAnimation="slide-up" /> -- 2.49.1 From 6077331c6fb94bca6c49b373feec959b0acb0aca Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:24:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 67 +++++++++---------- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4ae5abd 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,48 @@ -"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?: number | string; + fill?: string; + fontFamily?: 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 = '', + fontSize = 48, + fontWeight = 700, + fill = 'currentColor', + fontFamily = 'system-ui, -apple-system, sans-serif', +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = charWidth * textLength + 40; + const height = fontSize + 20; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1