From 08f4df32cf81d8e53e44c53e0fd01193b2499d6e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:26:59 +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 363e904..201a3fe 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -184,9 +184,9 @@ export default function LandingPage() { useInvertedBackground={false} gridVariant="uniform-all-items-equal" metrics={[ - { id: "1", value: "100%", title: "Fresh Ingredients", icon: Leaf }, - { id: "2", value: "24/7", title: "Hot & Ready", icon: Flame }, - { id: "3", value: "5+", title: "Delivery Options", icon: Truck } + { id: "1", value: "100", title: "Fresh Ingredients", description: "All ingredients sourced fresh daily", icon: Leaf }, + { id: "2", value: "24", title: "Hot & Ready", description: "Available around the clock", icon: Flame }, + { id: "3", value: "5", title: "Delivery Options", description: "Multiple delivery partners", icon: Truck } ]} buttons={[ { text: "Order Now", href: "#" }, From 04ba93a9ab006f42ae74e3fdf01b121d8cf74cd3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 11:26:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 +++++++++---------- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f8c1f03 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + textClassName?: string; + fontSize?: number; + fontWeight?: string | number; + fill?: string; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging'; } -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 = '', + textClassName = '', + fontSize = 24, + fontWeight = 'bold', + fill = 'currentColor', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;