From 29562a5acec2761dc6f21ca1944a51de3c5f6c98 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 20:57:17 +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 5820810..5227362 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -59,7 +59,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/side-view-shawarma-with-fried-potatoes-ayran-mayonnaise-board-cookware_176474-3213.jpg", imageAlt: "Delicious Bessarabian shawarma with spices and herbs" }, { - imageSrc: "http://img.b2bpic.net/free-photo/freshly-cooked-dish-being-taken-by-cook_1220-673.jpg?_wi=1", imageAlt: "Professional shawarma preparation in our kitchen" + imageSrc: "http://img.b2bpic.net/free-photo/freshly-cooked-dish-being-taken-by-cook_1220-673.jpg", imageAlt: "Professional shawarma preparation in our kitchen" } ]} mediaAnimation="slide-up" @@ -78,7 +78,7 @@ export default function LandingPage() { { value: "20+", title: "Years of Excellence" }, { value: "5000+", title: "Happy Customers Weekly" } ]} - imageSrc="http://img.b2bpic.net/free-photo/freshly-cooked-dish-being-taken-by-cook_1220-673.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/freshly-cooked-dish-being-taken-by-cook_1220-673.jpg" imageAlt="Our traditional shawarma cooking setup" mediaAnimation="slide-up" metricsAnimation="slide-up" @@ -122,7 +122,7 @@ export default function LandingPage() { { id: "3", value: "24", title: "/7", description: "Hours of Operation", icon: Clock }, { id: "4", value: "15", title: "min", description: "Average Delivery Time", icon: Zap } ]} - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={true} -- 2.49.1 From 944ef0a700b96e50f64ee901cbaa73b11ec188a6 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 20:57:17 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 88 +++++++++---------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b0e1a2e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,51 @@ -"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"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontFamily?: string; + letterSpacing?: number; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'middle' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text = 'Logo', + fontSize = 24, + fontFamily = 'Inter, sans-serif', + letterSpacing = 0.5, + textAnchor = 'middle', + dominantBaseline = 'middle', + ...props + }, + ref + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; export default SvgTextLogo; -- 2.49.1