From 2a294638105f74029645480c102f544ac3414f70 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:56:07 +0000 Subject: [PATCH 1/6] Update src/app/about/page.tsx --- src/app/about/page.tsx | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 03ac244..b3b4540 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -20,8 +20,7 @@ export default function AboutPage() { const footerColumns = [ { - title: "Navigate", - items: [ + title: "Navigate", items: [ { label: "Home", href: "/" }, { label: "Menu", href: "/menu" }, { label: "Gallery", href: "/gallery" }, @@ -29,8 +28,7 @@ export default function AboutPage() { ] }, { - title: "Order & Contact", - items: [ + title: "Order & Contact", items: [ { label: "Order via Glovo", href: "https://glovo.com" }, { label: "Call Us", href: "tel:+212522995910" }, { label: "Email", href: "mailto:hello@wafflefactory.ma" }, @@ -38,8 +36,7 @@ export default function AboutPage() { ] }, { - title: "Hours & Info", - items: [ + title: "Hours & Info", items: [ { label: "Open Today", href: "#" }, { label: "Closes 23:00", href: "#" }, { label: "Delivery Available", href: "#" }, @@ -47,8 +44,7 @@ export default function AboutPage() { ] }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Delivery Info", href: "#" } @@ -82,19 +78,16 @@ export default function AboutPage() { Date: Wed, 11 Mar 2026 19:56:07 +0000 Subject: [PATCH 2/6] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 1642ef5..622acf9 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -17,8 +17,7 @@ export default function ContactPage() { const footerColumns = [ { - title: "Navigate", - items: [ + title: "Navigate", items: [ { label: "Home", href: "/" }, { label: "Menu", href: "/menu" }, { label: "Gallery", href: "/gallery" }, @@ -26,8 +25,7 @@ export default function ContactPage() { ], }, { - title: "Order & Contact", - items: [ + title: "Order & Contact", items: [ { label: "Order via Glovo", href: "https://glovo.com" }, { label: "Call Us", href: "tel:+212522995910" }, { label: "Email", href: "mailto:hello@wafflefactory.ma" }, @@ -35,8 +33,7 @@ export default function ContactPage() { ], }, { - title: "Hours & Info", - items: [ + title: "Hours & Info", items: [ { label: "Open Today", href: "#" }, { label: "Closes 23:00", href: "#" }, { label: "Delivery Available", href: "#" }, @@ -44,8 +41,7 @@ export default function ContactPage() { ], }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Delivery Info", href: "#" }, @@ -88,7 +84,7 @@ export default function ContactPage() { description="Whether you want to reserve a table, place an order for delivery, or just say hello—we're here for you. Open until 23:00 daily." tagIcon={undefined} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Your email address" buttonText="Subscribe" -- 2.49.1 From b5efb375575212844b9680bcf3c00e2fbd3f189b Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:56:07 +0000 Subject: [PATCH 3/6] Update src/app/gallery/page.tsx --- src/app/gallery/page.tsx | 54 +++++++--------------------------------- 1 file changed, 9 insertions(+), 45 deletions(-) diff --git a/src/app/gallery/page.tsx b/src/app/gallery/page.tsx index 65c97fd..f5aca95 100644 --- a/src/app/gallery/page.tsx +++ b/src/app/gallery/page.tsx @@ -19,8 +19,7 @@ export default function GalleryPage() { const footerColumns = [ { - title: "Navigate", - items: [ + title: "Navigate", items: [ { label: "Home", href: "/" }, { label: "Menu", href: "/menu" }, { label: "Gallery", href: "/gallery" }, @@ -28,8 +27,7 @@ export default function GalleryPage() { ] }, { - title: "Order & Contact", - items: [ + title: "Order & Contact", items: [ { label: "Order via Glovo", href: "https://glovo.com" }, { label: "Call Us", href: "tel:+212522995910" }, { label: "Email", href: "mailto:hello@wafflefactory.ma" }, @@ -37,8 +35,7 @@ export default function GalleryPage() { ] }, { - title: "Hours & Info", - items: [ + title: "Hours & Info", items: [ { label: "Open Today", href: "#" }, { label: "Closes 23:00", href: "#" }, { label: "Delivery Available", href: "#" }, @@ -46,8 +43,7 @@ export default function GalleryPage() { ] }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Delivery Info", href: "#" } @@ -81,48 +77,16 @@ export default function GalleryPage() { Date: Wed, 11 Mar 2026 19:56:08 +0000 Subject: [PATCH 4/6] Update src/app/menu/page.tsx --- src/app/menu/page.tsx | 56 +++++++++---------------------------------- 1 file changed, 11 insertions(+), 45 deletions(-) diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx index 8a65ee2..956db18 100644 --- a/src/app/menu/page.tsx +++ b/src/app/menu/page.tsx @@ -46,47 +46,17 @@ export default function MenuPage() { tagAnimation="slide-up" products={[ { - id: "1", - name: "Classic Belgian Waffle", - price: "60 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-waffles-with-raspberries-honey_23-2148352303.jpg?_wi=2", - imageAlt: "Classic Belgian waffle with toppings", - }, + id: "1", name: "Classic Belgian Waffle", price: "60 MAD", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-waffles-with-raspberries-honey_23-2148352303.jpg", imageAlt: "Classic Belgian waffle with toppings"}, { - id: "2", - name: "Chocolate Dream Waffle", - price: "75 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-berries-plate-cake-chocolate-strawberries-bowls-chocolate-sweets-strawberries-cutting-board_140725-111589.jpg?_wi=2", - imageAlt: "Chocolate waffle with cream and berries", - }, + id: "2", name: "Chocolate Dream Waffle", price: "75 MAD", imageSrc: "http://img.b2bpic.net/free-photo/top-view-berries-plate-cake-chocolate-strawberries-bowls-chocolate-sweets-strawberries-cutting-board_140725-111589.jpg", imageAlt: "Chocolate waffle with cream and berries"}, { - id: "3", - name: "Strawberry Cheesecake Waffle", - price: "80 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/side-view-cake-with-cup-tea-cake-with-strawberries-chocolate-bowl-strawberries-chocolate-cream-cup-tea-with-lemon-cinnamon-sticks-black-table_140725-110580.jpg?_wi=2", - imageAlt: "Strawberry cheesecake topped waffle", - }, + id: "3", name: "Strawberry Cheesecake Waffle", price: "80 MAD", imageSrc: "http://img.b2bpic.net/free-photo/side-view-cake-with-cup-tea-cake-with-strawberries-chocolate-bowl-strawberries-chocolate-cream-cup-tea-with-lemon-cinnamon-sticks-black-table_140725-110580.jpg", imageAlt: "Strawberry cheesecake topped waffle"}, { - id: "4", - name: "Premium Gelato Sundae", - price: "50 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/blueberry-ice-cream-scoops-with-waffle-wooden-table_123827-21814.jpg?_wi=2", - imageAlt: "Gourmet gelato sundae", - }, + id: "4", name: "Premium Gelato Sundae", price: "50 MAD", imageSrc: "http://img.b2bpic.net/free-photo/blueberry-ice-cream-scoops-with-waffle-wooden-table_123827-21814.jpg", imageAlt: "Gourmet gelato sundae"}, { - id: "5", - name: "Nutella Paradise Waffle", - price: "85 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-waffles-with-raspberries-honey_23-2148352303.jpg?_wi=3", - imageAlt: "Nutella waffle with hazelnuts", - }, + id: "5", name: "Nutella Paradise Waffle", price: "85 MAD", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-waffles-with-raspberries-honey_23-2148352303.jpg", imageAlt: "Nutella waffle with hazelnuts"}, { - id: "6", - name: "Banana Split Deluxe", - price: "70 MAD", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-berries-plate-cake-chocolate-strawberries-bowls-chocolate-sweets-strawberries-cutting-board_140725-111589.jpg?_wi=3", - imageAlt: "Banana split with ice cream and toppings", - }, + id: "6", name: "Banana Split Deluxe", price: "70 MAD", imageSrc: "http://img.b2bpic.net/free-photo/top-view-berries-plate-cake-chocolate-strawberries-bowls-chocolate-sweets-strawberries-cutting-board_140725-111589.jpg", imageAlt: "Banana split with ice cream and toppings"}, ]} gridVariant="bento-grid" animationType="slide-up" @@ -124,7 +94,7 @@ export default function MenuPage() { description="Have dietary preferences or special requests? Call us or send an email. Our friendly staff is ready to assist you." tagIcon={Phone} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Your email" buttonText="Contact" @@ -136,8 +106,7 @@ export default function MenuPage() { Date: Wed, 11 Mar 2026 19:56:08 +0000 Subject: [PATCH 5/6] Update src/app/page.tsx --- src/app/page.tsx | 164 +++++++++-------------------------------------- 1 file changed, 30 insertions(+), 134 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a64623b..df9ced6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -46,20 +46,14 @@ export default function HomePage() { @@ -296,7 +196,7 @@ export default function HomePage() { description="Whether you want to reserve a table, place an order for delivery, or just say hello—we're here for you. Open until 23:00 daily." tagIcon={Phone} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Your email address" buttonText="Subscribe" @@ -308,8 +208,7 @@ export default function HomePage() { Date: Wed, 11 Mar 2026 19:56:09 +0000 Subject: [PATCH 6/6] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 72 +++++++++---------- 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a143020 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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"; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: 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, + fontSize = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = '#000000', + className = '', + ...svgProps +}) => { + const textLength = text.length; + const estimatedWidth = textLength * (fontSize * 0.6); + const estimatedHeight = fontSize * 1.5; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1