From ba314225f8adb23b0e42edf3af7445c42d4e567e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:13:39 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cc4f68a..97c1668 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -44,7 +44,7 @@ export default function LandingPage() { description="Handcrafted with traditional recipes passed down through generations. Every loaf tells a story of heritage, quality, and culinary excellence." tag="Est. 2020" tagAnimation="slide-up" - background={{ variant: "plain" }} + background={{ variant: "floatingGradient" }} imageSrc="http://img.b2bpic.net/free-photo/delicious-roti-assortment-table-with-copy-space_23-2149033977.jpg" imageAlt="Fresh traditional Afghan naan bread" buttons={[ @@ -67,6 +67,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/woman-shopping-ramadan-side-view_23-2150154492.jpg" imageAlt="Kamiyab Bakery traditional interior" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> -- 2.49.1 From 7e81daec0ee06cdec055e95c6af1b95292bce54f Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:13:40 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 75 +++++++++---------- 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..0d74b90 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,50 @@ -"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; } -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 = '', + textClassName = '', +}) => { + const chars = text.split(''); + const charWidth = 20; + const width = chars.length * charWidth + 40; + const height = 60; return ( - - {logoText} - + + + + + + + + {chars.map((char, index) => ( + + {char} + + ))} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1