From c99ee90d40673a09fc12c5103876c094246ba817 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 03:38:16 +0000 Subject: [PATCH 1/6] Update src/app/about/page.tsx --- src/app/about/page.tsx | 101 ++++++++++++----------------------------- 1 file changed, 29 insertions(+), 72 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 3cedc25..8a0cd8f 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -11,17 +11,15 @@ import { Star, Users, MapPin, Clock, MessageSquare } from "lucide-react"; export default function AboutPage() { const navItems = [ - { name: "Home", id: "home" }, - { name: "About", id: "about" }, - { name: "Menu", id: "menu" }, - { name: "Reviews", id: "reviews" }, - { name: "Contact", id: "contact" }, + { name: "Home", id: "/" }, + { name: "About", id: "/about" }, + { name: "Menu", id: "/menu" }, + { name: "Reviews", id: "/reviews" }, + { name: "Contact", id: "/contact" }, ]; const navButton = { - text: "Order Now", - href: "menu", - }; + text: "Order Now", href: "menu"}; return ( Date: Fri, 13 Mar 2026 03:38:16 +0000 Subject: [PATCH 2/6] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 00e0414..d01588f 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -17,8 +17,7 @@ export default function ContactPage() { const footerColumns = [ { - title: "Sweetag", - items: [ + title: "Sweetag", items: [ { label: "Home", href: "/" }, { label: "About", href: "/about" }, { label: "Menu", href: "/menu" }, @@ -26,8 +25,7 @@ export default function ContactPage() { ], }, { - title: "Contact", - items: [ + title: "Contact", items: [ { label: "Phone: +61 3 7002 6274", href: "tel:+61370026274" }, { label: "WhatsApp", href: "https://wa.me/61370026274" }, { label: "Glen Waverley, VIC", href: "#" }, @@ -35,8 +33,7 @@ export default function ContactPage() { ], }, { - title: "Legal", - items: [ + title: "Legal", items: [ { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, { label: "Contact Form", href: "/contact" }, @@ -62,9 +59,7 @@ export default function ContactPage() { brandName="Sweetag" navItems={navItems} button={{ - text: "Order Now", - href: "/menu", - }} + text: "Order Now", href: "/menu"}} /> @@ -77,18 +72,13 @@ export default function ContactPage() { description="Call us, message on WhatsApp, or fill out our contact form. We're located at Level 1, 73/75 Kingsway, Glen Waverley VIC 3150, and open daily from 10am." buttons={[ { - text: "Call: +61 3 7002 6274", - href: "tel:+61370026274", - }, + text: "Call: +61 3 7002 6274", href: "tel:+61370026274"}, { - text: "WhatsApp Message", - href: "https://wa.me/61370026274", - }, + text: "WhatsApp Message", href: "https://wa.me/61370026274"}, ]} buttonAnimation="slide-up" background={{ - variant: "radial-gradient", - }} + variant: "radial-gradient"}} useInvertedBackground={false} /> From 1afb41d9b5adccd18040bcb86da97b8999971dd9 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 03:38:16 +0000 Subject: [PATCH 3/6] Update src/app/menu/page.tsx --- src/app/menu/page.tsx | 58 ++++++++----------------------------------- 1 file changed, 10 insertions(+), 48 deletions(-) diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx index 6cfe921..912160d 100644 --- a/src/app/menu/page.tsx +++ b/src/app/menu/page.tsx @@ -42,28 +42,13 @@ export default function MenuPage() { console.log("Product clicked"), + id: "5", name: "Classic Egg Waffle", price: "$9.50", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3357bs", imageAlt: "Classic egg waffle", onProductClick: () => console.log("Product clicked"), }, { - id: "6", - name: "Strawberry Bingsu", - price: "$12.00", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2xby32&_wi=2", - imageAlt: "Strawberry bingsu", - onProductClick: () => console.log("Product clicked"), + id: "6", name: "Strawberry Bingsu", price: "$12.00", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2xby32", imageAlt: "Strawberry bingsu", onProductClick: () => console.log("Product clicked"), }, { - id: "7", - name: "Iced Latte Special", - price: "$7.50", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0ne0sk&_wi=2", - imageAlt: "Iced specialty latte", - onProductClick: () => console.log("Product clicked"), + id: "7", name: "Iced Latte Special", price: "$7.50", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0ne0sk", imageAlt: "Iced specialty latte", onProductClick: () => console.log("Product clicked"), }, ]} title="Menu Highlights" @@ -87,36 +72,16 @@ export default function MenuPage() { console.log("Product clicked"), + id: "1", name: "Crispy Egg Waffle", price: "$9.50", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=s7l4xs", imageAlt: "Egg waffle with toppings", onProductClick: () => console.log("Product clicked"), }, { - id: "2", - name: "Refreshing Bingsu", - price: "$10.00", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=i8bhwl&_wi=2", - imageAlt: "Korean shaved ice bingsu", - onProductClick: () => console.log("Product clicked"), + id: "2", name: "Refreshing Bingsu", price: "$10.00", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=i8bhwl", imageAlt: "Korean shaved ice bingsu", onProductClick: () => console.log("Product clicked"), }, { - id: "3", - name: "Ice Cream Waffle", - price: "$11.50", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=53fo76&_wi=2", - imageAlt: "Ice cream waffle cone", - onProductClick: () => console.log("Product clicked"), + id: "3", name: "Ice Cream Waffle", price: "$11.50", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=53fo76", imageAlt: "Ice cream waffle cone", onProductClick: () => console.log("Product clicked"), }, { - id: "4", - name: "Specialty Drinks", - price: "$6.50", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x884tc&_wi=2", - imageAlt: "Colorful specialty beverages", - onProductClick: () => console.log("Product clicked"), + id: "4", name: "Specialty Drinks", price: "$6.50", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x884tc", imageAlt: "Colorful specialty beverages", onProductClick: () => console.log("Product clicked"), }, ]} title="Our Signature Desserts" @@ -154,8 +119,7 @@ export default function MenuPage() { Date: Fri, 13 Mar 2026 03:38:17 +0000 Subject: [PATCH 4/6] Update src/app/page.tsx --- src/app/page.tsx | 174 ++++++++++------------------------------------- 1 file changed, 37 insertions(+), 137 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4025fa6..7902829 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,9 +21,7 @@ export default function HomePage() { ]; const navButton = { - text: "Order Now", - href: "menu", - }; + text: "Order Now", href: "menu"}; return ( @@ -134,24 +106,16 @@ export default function HomePage() { metrics={[ { icon: Star, - label: "Customer Rating", - value: "4.7⭐", - }, + label: "Customer Rating", value: "4.7⭐"}, { icon: Users, - label: "Happy Customers", - value: "79+", - }, + label: "Happy Customers", value: "79+"}, { icon: MapPin, - label: "Location", - value: "Glen Waverley", - }, + label: "Location", value: "Glen Waverley"}, { icon: Clock, - label: "Hours Daily", - value: "Open 10am", - }, + label: "Hours Daily", value: "Open 10am"}, ]} metricsAnimation="slide-up" useInvertedBackground={true} @@ -163,29 +127,13 @@ export default function HomePage() { @@ -254,13 +183,9 @@ export default function HomePage() { description="Call us, message on WhatsApp, or fill out our contact form. We're located at Level 1, 73/75 Kingsway, Glen Waverley VIC 3150, and open daily from 10am." buttons={[ { - text: "Call: +61 3 7002 6274", - href: "tel:+61370026274", - }, + text: "Call: +61 3 7002 6274", href: "tel:+61370026274"}, { - text: "WhatsApp Message", - href: "https://wa.me/61370026274", - }, + text: "WhatsApp Message", href: "https://wa.me/61370026274"}, ]} buttonAnimation="slide-up" background={{ variant: "radial-gradient" }} @@ -273,62 +198,37 @@ export default function HomePage() { Date: Fri, 13 Mar 2026 03:38:17 +0000 Subject: [PATCH 5/6] Update src/app/reviews/page.tsx --- src/app/reviews/page.tsx | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/src/app/reviews/page.tsx b/src/app/reviews/page.tsx index fc51488..36ebf3a 100644 --- a/src/app/reviews/page.tsx +++ b/src/app/reviews/page.tsx @@ -41,29 +41,13 @@ export default function ReviewsPage() { Date: Fri, 13 Mar 2026 03:38:17 +0000 Subject: [PATCH 6/6] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 77 ++++++++++--------- 1 file changed, 41 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6676fbe 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,56 @@ -"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; + fontFamily?: string; + fontWeight?: number | string; + letterSpacing?: number; + dominantBaseline?: SVGAttributes['dominantBaseline']; } -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, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 700, + letterSpacing = 0, + dominantBaseline = 'middle', +}) => { return ( + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; + +import type { SVGAttributes } from 'react'; \ No newline at end of file