From 48f9b6a917fd641cca5c70265543468c7d43fcb4 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 12:44:31 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 67 +++++++++++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 23 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9eb0771..0fddf2f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="mediumLargeSizeLargeTitles" - background="floatingGradient" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -35,7 +35,8 @@ export default function LandingPage() { { name: "Contact", id: "location" }, ]} button={{ - text: "📞 Call Now", href: "tel:+919876543210"}} + text: "📞 Call Now", href: "tel:+919876543210" + }} animateOnLoad={true} /> @@ -44,13 +45,14 @@ export default function LandingPage() { @@ -63,22 +65,28 @@ export default function LandingPage() { products={[ { id: "1", brand: "Kathiyawadi", name: "Bajra Rotlo", price: "Fresh Daily", rating: 5, - reviewCount: "Most Popular", imageSrc: "http://img.b2bpic.net/free-photo/traditional-flatbread-baking-hot-tandoor-oven_140725-3204.jpg", imageAlt: "Golden crispy bajra rotlo traditional millet bread"}, + reviewCount: "Most Popular", imageSrc: "http://img.b2bpic.net/free-photo/traditional-flatbread-baking-hot-tandoor-oven_140725-3204.jpg", imageAlt: "Golden crispy bajra rotlo traditional millet bread" + }, { id: "2", brand: "Kathiyawadi", name: "Sev Tameta", price: "Specialty", rating: 5, - reviewCount: "Must Try", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-vegetables-sliced-with-sauce-seasonings-dark-surface-meal-sauce-food-dinner-soup-vegetable_140725-85748.jpg", imageAlt: "Sev tameta traditional tomato potato curry"}, + reviewCount: "Must Try", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cooked-vegetables-sliced-with-sauce-seasonings-dark-surface-meal-sauce-food-dinner-soup-vegetable_140725-85748.jpg", imageAlt: "Sev tameta traditional tomato potato curry" + }, { id: "3", brand: "Kathiyawadi", name: "Ringan Bhartu", price: "House Special", rating: 5, - reviewCount: "Customer Favorite", imageSrc: "http://img.b2bpic.net/free-photo/hand-pouring-condensed-milk-homemade-crepes-high-quality-photo_114579-44133.jpg", imageAlt: "Ringan bhartu smoked eggplant vegetable curry"}, + reviewCount: "Customer Favorite", imageSrc: "http://img.b2bpic.net/free-photo/hand-pouring-condensed-milk-homemade-crepes-high-quality-photo_114579-44133.jpg", imageAlt: "Ringan bhartu smoked eggplant vegetable curry" + }, { id: "4", brand: "Kathiyawadi", name: "Dahi Tikari", price: "Fresh", rating: 5, - reviewCount: "Refreshing", imageSrc: "http://img.b2bpic.net/free-photo/view-creamy-broccoli-soup-brown-bowl-different-spices-gray-table_140725-86495.jpg", imageAlt: "Dahi tikari yogurt vegetable traditional side"}, + reviewCount: "Refreshing", imageSrc: "http://img.b2bpic.net/free-photo/view-creamy-broccoli-soup-brown-bowl-different-spices-gray-table_140725-86495.jpg", imageAlt: "Dahi tikari yogurt vegetable traditional side" + }, { id: "5", brand: "Kathiyawadi", name: "Nagli Papad", price: "Specialty", rating: 5, - reviewCount: "Unique Taste", imageSrc: "http://img.b2bpic.net/free-photo/delicious-arrangement-traditional-roti_23-2149034001.jpg", imageAlt: "Nagli papad crispy millet traditional wafer"}, + reviewCount: "Unique Taste", imageSrc: "http://img.b2bpic.net/free-photo/delicious-arrangement-traditional-roti_23-2149034001.jpg", imageAlt: "Nagli papad crispy millet traditional wafer" + }, { id: "6", brand: "Kathiyawadi", name: "Dal Rice", price: "Comfort Food", rating: 5, - reviewCount: "Classic", imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-vermicelli-soup-with-greens-light-grey-table_140725-144072.jpg", imageAlt: "Dal rice traditional Indian comfort food"}, + reviewCount: "Classic", imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-vermicelli-soup-with-greens-light-grey-table_140725-144072.jpg", imageAlt: "Dal rice traditional Indian comfort food" + }, ]} gridVariant="bento-grid" animationType="slide-up" @@ -91,7 +99,8 @@ export default function LandingPage() { Date: Wed, 11 Mar 2026 12:44:32 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 24 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3e7567b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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 | number; + dominantBaseline?: 'auto' | 'text-top' | 'hanging' | 'central' | 'middle' | 'mathematical' | 'text-bottom' | 'ideographic'; } -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 = 24, + fontWeight = 'bold', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1