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 (
@@ -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}
/>
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() {
@@ -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() {
['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 (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;
+
+import type { SVGAttributes } from 'react';
\ No newline at end of file