From d90fea34ea385cc7f47f528f668c48e774fd68a5 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:24:58 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e375ff6..1b18268 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -54,7 +54,7 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" layoutOrder="default" - imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-buying-apples_23-2148238141.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-buying-apples_23-2148238141.jpg" imageAlt="City Mart supermarket bright aisles with fresh groceries" mediaAnimation="blur-reveal" frameStyle="card" @@ -72,7 +72,7 @@ export default function LandingPage() { { value: "4.3", title: "Google Rating" } ]} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg" imageAlt="City Mart supermarket clean interior" mediaAnimation="slide-up" metricsAnimation="slide-up" @@ -90,7 +90,7 @@ export default function LandingPage() { id: "1", title: "Wide Product Selection", descriptions: [ "Everything from fresh groceries to stationery under one roof", "Groceries, cosmetics, household items, personal care, and more", "One-stop shopping for your entire family's needs" ], - imageSrc: "http://img.b2bpic.net/free-photo/plate-fresh-seasonal-vegetables-including-tomatoes-cucumbers-variety-greenery_114579-1842.jpg?_wi=1", imageAlt: "Wide variety of fresh produce and products" + imageSrc: "http://img.b2bpic.net/free-photo/plate-fresh-seasonal-vegetables-including-tomatoes-cucumbers-variety-greenery_114579-1842.jpg", imageAlt: "Wide variety of fresh produce and products" }, { id: "2", title: "Convenient Parking", descriptions: [ @@ -102,7 +102,7 @@ export default function LandingPage() { id: "3", title: "Clean & Organized Store", descriptions: [ "Professional store environment with clear navigation", "Well-maintained shelves and organized sections", "Fresh produce and product quality management" ], - imageSrc: "http://img.b2bpic.net/free-photo/set-ribbons-box_1304-4076.jpg?_wi=1", imageAlt: "Organized supermarket shelves and clean interior" + imageSrc: "http://img.b2bpic.net/free-photo/set-ribbons-box_1304-4076.jpg", imageAlt: "Organized supermarket shelves and clean interior" }, { id: "4", title: "Helpful Staff", descriptions: [ @@ -129,15 +129,15 @@ export default function LandingPage() { products={[ { id: "1", brand: "City Mart", name: "Fresh Vegetables & Fruits", price: "Seasonal Pricing", rating: 5, - reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/plate-fresh-seasonal-vegetables-including-tomatoes-cucumbers-variety-greenery_114579-1842.jpg?_wi=2", imageAlt: "Fresh vegetables and fruits" + reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/plate-fresh-seasonal-vegetables-including-tomatoes-cucumbers-variety-greenery_114579-1842.jpg", imageAlt: "Fresh vegetables and fruits" }, { id: "2", brand: "City Mart", name: "Household Essentials", price: "Starting ₹99", rating: 5, - reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/set-ribbons-box_1304-4076.jpg?_wi=2", imageAlt: "Household cleaning and kitchen items" + reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/set-ribbons-box_1304-4076.jpg", imageAlt: "Household cleaning and kitchen items" }, { id: "3", brand: "City Mart", name: "Groceries & Staples", price: "Best Prices", rating: 5, - reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-buying-apples_23-2148238141.jpg?_wi=2", imageAlt: "Grocery items and staples" + reviewCount: "200+", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-buying-apples_23-2148238141.jpg", imageAlt: "Grocery items and staples" } ]} gridVariant="three-columns-all-equal-width" @@ -157,7 +157,7 @@ export default function LandingPage() { tagIcon={Star} testimonials={[ { - id: "1", name: "Anjali Sharma", role: "Homemaker", testimonial: "Great store, very convenient. Has literally everything under one roof. The staff is always helpful and the parking is super easy!", imageSrc: "http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg?_wi=2", imageAlt: "Anjali Sharma" + id: "1", name: "Anjali Sharma", role: "Homemaker", testimonial: "Great store, very convenient. Has literally everything under one roof. The staff is always helpful and the parking is super easy!", imageSrc: "http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg", imageAlt: "Anjali Sharma" }, { id: "2", name: "Rajesh Kumar", role: "Software Professional", testimonial: "One of the best supermarkets in Palakkad with ample parking and good staff. Perfect for my weekly shopping after work.", imageSrc: "http://img.b2bpic.net/free-photo/young-man-wearing-blue-outfit-doing-double-ok-gesture-with_1298-451.jpg", imageAlt: "Rajesh Kumar" @@ -169,7 +169,6 @@ export default function LandingPage() { id: "4", name: "Suresh Nair", role: "Retired", testimonial: "Fantastic variety and competitive pricing. The staff remembers regular customers and always greets with a smile. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/happy-afro-american-man-wearing-black-pullover-posing-outdoor-terrace_291650-214.jpg", imageAlt: "Suresh Nair" } ]} - gridVariant="four-items-2x2-equal-grid" animationType="slide-up" textboxLayout="default" useInvertedBackground={true} @@ -188,7 +187,7 @@ export default function LandingPage() { { id: "3", value: "100", title: "Product Categories", description: "One-stop shopping", icon: ShoppingCart }, { id: "4", value: "15", title: "Years Serving", description: "Community established", icon: Award } ]} - gridVariant="four-items-2x2-equal-grid" + gridVariant="uniform-all-items-equal" animationType="slide-up" textboxLayout="default" useInvertedBackground={false} @@ -215,7 +214,7 @@ export default function LandingPage() { id: "4", title: "📞 How can I contact City Mart?", content: "Call: +91-9876543210
WhatsApp: +91-9876543210

For product enquiries, bulk purchases, or store information, we're always available to help!" } ]} - imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg?_wi=3" + imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg" imageAlt="City Mart supermarket location" mediaAnimation="blur-reveal" mediaPosition="right" @@ -238,7 +237,7 @@ export default function LandingPage() { required: true }} useInvertedBackground={true} - imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg?_wi=4" + imageSrc="http://img.b2bpic.net/free-photo/man-woman-with-medical-masks-out-grocery-shopping-with-shopping-cart_23-2149483146.jpg" imageAlt="City Mart customer service" mediaAnimation="slide-up" mediaPosition="left" -- 2.49.1 From bb46bfd3ec680c3ae8282e5ca5643628f3926edf Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:24:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7ab3c74 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1