From 69e4d04378f1583a389482c6f7bec1a92fb2ccee Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:16:44 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b1a6285..b6ed916 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -49,16 +49,16 @@ export default function LandingPage() { description="Experience fresh, delicious vegetarian dishes in a warm, welcoming atmosphere. Go Highway Restaurant offers the perfect stop for quality food and genuine hospitality on your journey." background={{ variant: "sparkles-gradient" }} leftCarouselItems={[ - { imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg?_wi=1", imageAlt: "Cheese Pav Bhaji" }, - { imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg?_wi=1", imageAlt: "Paneer Palak" }, + { imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg", imageAlt: "Cheese Pav Bhaji" }, + { imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg", imageAlt: "Paneer Palak" }, { imageSrc: "http://img.b2bpic.net/free-photo/top-view-meal-with-rice-onion_23-2148747621.jpg", imageAlt: "Restaurant Interior" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg?_wi=1", imageAlt: "Vegetarian Thali" } + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg", imageAlt: "Vegetarian Thali" } ]} rightCarouselItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/top-view-woman-hands-cutting-cucumber-with-knife-cutting-board-with-vegetable-salad-lettuce-tomato-black-pepper-wooden-surface_141793-10694.jpg", imageAlt: "Restaurant Ambiance" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg?_wi=2", imageAlt: "Thali Special" }, - { imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg?_wi=2", imageAlt: "Pav Bhaji" }, - { imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg?_wi=2", imageAlt: "Paneer Curry" } + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg", imageAlt: "Thali Special" }, + { imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg", imageAlt: "Pav Bhaji" }, + { imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg", imageAlt: "Paneer Curry" } ]} carouselPosition="right" buttons={[ @@ -96,13 +96,13 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", name: "Cheese Pav Bhaji", price: "₹80", variant: "With fresh pav and butter", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg?_wi=3", imageAlt: "Cheese Pav Bhaji" + id: "1", name: "Cheese Pav Bhaji", price: "₹80", variant: "With fresh pav and butter", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pies-with-meat-filling-seasonings-dark-blue-surface-dough-pie-bread-bun-food-bake_140725-52996.jpg", imageAlt: "Cheese Pav Bhaji" }, { - id: "2", name: "Veg Thali", price: "₹120", variant: "Complete meal with dal and sabzi", imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg?_wi=3", imageAlt: "Vegetarian Thali" + id: "2", name: "Veg Thali", price: "₹120", variant: "Complete meal with dal and sabzi", imageSrc: "http://img.b2bpic.net/free-photo/top-view-indian-spices-food_23-2148747665.jpg", imageAlt: "Vegetarian Thali" }, { - id: "3", name: "Paneer Palak", price: "₹140", variant: "Spinach curry with paneer", imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg?_wi=3", imageAlt: "Paneer Palak" + id: "3", name: "Paneer Palak", price: "₹140", variant: "Spinach curry with paneer", imageSrc: "http://img.b2bpic.net/free-photo/chicken-feet-stew-tomato-sauce-white-bowl-with-vegetables-lemon_114579-103.jpg", imageAlt: "Paneer Palak" } ]} buttons={[ -- 2.49.1 From ce04d0d7daa958c0f2429624ed3ec804c5cdf42a Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:16:44 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 74 ++++++++++--------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2c34bd2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,53 @@ -"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?: number | string; + letterSpacing?: number; + fill?: string; + strokeWidth?: number; + stroke?: string; + opacity?: number; } -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 = 48, + fontWeight = 700, + letterSpacing = 0, + fill = 'currentColor', + strokeWidth = 0, + stroke = 'none', + opacity = 1, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1