From f9c5afde44f3f3081487109f4fb3fe39a3d3e1ae Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:57:48 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3d01908..a536511 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,7 +9,7 @@ import TestimonialCardSixteen from '@/components/sections/testimonial/Testimonia import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import ContactText from '@/components/sections/contact/ContactText'; import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; -import { Clock } from 'lucide-react'; +import { Clock, Flame } from 'lucide-react'; export default function LandingPage() { return ( @@ -43,16 +43,16 @@ export default function LandingPage() { description="Maher Azeem Cafe brings fresh, quality dining to Okara. Join hundreds of satisfied neighbors—call to reserve your table or order today." tag="Open Now" tagIcon={Clock} - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} mediaItems={[ { imageSrc: "http://img.b2bpic.net/free-photo/table-set-dinning-table_1339-3436.jpg", imageAlt: "Welcoming Maher Azeem Cafe interior with warm lighting" }, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pakistan-dish-composition_23-2148821524.jpg?_wi=1", imageAlt: "Signature biryani dish plated beautifully" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pakistan-dish-composition_23-2148821524.jpg", imageAlt: "Signature biryani dish plated beautifully" }, { - imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-slices-with-tomato-sauce-grey-floor-sauce-dish-meat-chicken-tomato_140725-96230.jpg?_wi=1", imageAlt: "Aromatic chicken karahi traditional dish" + imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-slices-with-tomato-sauce-grey-floor-sauce-dish-meat-chicken-tomato_140725-96230.jpg", imageAlt: "Aromatic chicken karahi traditional dish" } ]} buttons={[ @@ -68,13 +68,13 @@ export default function LandingPage() { title="Our Bestsellers" description="Discover our most-loved menu items, crafted with fresh ingredients and authentic recipes." tag="Featured Menu" - tagIcon={Clock} + tagIcon={Flame} features={[ { - title: "Signature Biryani", description: "Fragrant basmati rice layered with tender meat and aromatic spices. A local favorite for generations.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pakistan-dish-composition_23-2148821524.jpg?_wi=2", imageAlt: "Signature biryani", button: { text: "Order Now", href: "#contact" } + title: "Signature Biryani", description: "Fragrant basmati rice layered with tender meat and aromatic spices. A local favorite for generations.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pakistan-dish-composition_23-2148821524.jpg", imageAlt: "Signature biryani", button: { text: "Order Now", href: "#contact" } }, { - title: "Chicken Karahi", description: "Bold, flavorful curry prepared fresh in cast-iron karahi. Spiced to perfection with garlic and peppers.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-slices-with-tomato-sauce-grey-floor-sauce-dish-meat-chicken-tomato_140725-96230.jpg?_wi=2", imageAlt: "Chicken karahi", button: { text: "Order Now", href: "#contact" } + title: "Chicken Karahi", description: "Bold, flavorful curry prepared fresh in cast-iron karahi. Spiced to perfection with garlic and peppers.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-chicken-slices-with-tomato-sauce-grey-floor-sauce-dish-meat-chicken-tomato_140725-96230.jpg", imageAlt: "Chicken karahi", button: { text: "Order Now", href: "#contact" } }, { title: "Tikka Masala", description: "Tender chicken tikka in creamy tomato sauce. Creamy, rich, and deeply satisfying.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-multi-colored-meatballs-with-tomato-sauces-green-onions_140725-13961.jpg", imageAlt: "Tikka masala", button: { text: "Order Now", href: "#contact" } -- 2.49.1 From 7df5ee588c6d65219d46582136939de13c015c7f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 07:57:49 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..fdf1391 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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; + fill?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 32, + fontWeight = 'bold', + fill = 'currentColor', +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const width = textLength * charWidth + 40; + const height = fontSize + 20; + const xPos = 20; + const yPos = fontSize + 10; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1