From ac57e93df0283e84dc4ff1e88189dabd402cc8a5 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:01:59 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d18bc6e..8b4076c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="large" - background="grid" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -44,7 +44,7 @@ export default function LandingPage() { @@ -207,7 +208,7 @@ export default function LandingPage() { tag="Emergency Support" title="Need Medicines Urgently?" description="We are open 24 hours a day, 7 days a week. Get fast doorstep delivery or call us directly for immediate assistance." - background={{ variant: "grid" }} + background={{ variant: "animated-grid" }} useInvertedBackground={false} tagAnimation="slide-up" /> -- 2.49.1 From b886d5a744ea5c7b68a35b52100e38fb3601b664 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 17:01:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 ++++++++----------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c0f11dc 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging'; } -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 = 48, + fontWeight = 'bold', + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1