From d3401254eecec69b0a8f3ec5812b84a1181e343f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:16:14 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f34974e..cdd33ab 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="largeSizeMediumTitles" - background="fluid" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="flat" secondaryButtonStyle="solid" @@ -49,7 +49,7 @@ export default function LandingPage() { { text: "Visit Us Today", href: "#location" } ]} buttonAnimation="slide-up" - background={{ variant: "fluid" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/rice-noodles-red-curry-with-meatballs-with-dried-chilies-basil-cucumber-long-beans_1150-27076.jpg" imageAlt="DOJO Kopihouse cinematic food hero" mediaAnimation="opacity" @@ -97,7 +97,7 @@ export default function LandingPage() { id: "4", name: "Nasi Ayam Penyet", price: "RM14", variant: "Smashed chicken with sambal & turmeric rice", imageSrc: "http://img.b2bpic.net/free-photo/crispy-omelet-topped-with-minced-pork-mixed-vegetables-sauce_1150-27791.jpg", imageAlt: "Nasi Ayam Penyet" }, { - id: "5", name: "Claypot Noodles", price: "RM15", variant: "Sizzling hot clay pot with charred edges", imageSrc: "http://img.b2bpic.net/free-photo/noodles-bowl-with-chopsticks-garlic_23-2148382851.jpg?_wi=1", imageAlt: "Claypot Noodles" + id: "5", name: "Claypot Noodles", price: "RM15", variant: "Sizzling hot clay pot with charred edges", imageSrc: "http://img.b2bpic.net/free-photo/noodles-bowl-with-chopsticks-garlic_23-2148382851.jpg", imageAlt: "Claypot Noodles" } ]} carouselMode="buttons" @@ -203,7 +203,7 @@ export default function LandingPage() { id: "2", name: "Lunch", role: "Hearty Noodles & Rice", imageSrc: "http://img.b2bpic.net/free-photo/acacia-pennata-omelette-with-chili-paste_1339-4617.jpg", imageAlt: "Traditional nasi lemak lunch" }, { - id: "3", name: "Evening", role: "Claypot & Favorites", imageSrc: "http://img.b2bpic.net/free-photo/noodles-bowl-with-chopsticks-garlic_23-2148382851.jpg?_wi=2", imageAlt: "Sizzling claypot noodles" + id: "3", name: "Evening", role: "Claypot & Favorites", imageSrc: "http://img.b2bpic.net/free-photo/noodles-bowl-with-chopsticks-garlic_23-2148382851.jpg", imageAlt: "Sizzling claypot noodles" }, { id: "4", name: "Community", role: "Friends & Family Gather", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-happy-friends-toasting-with-wine-while-having-dinner-together_637285-3334.jpg", imageAlt: "Family dining at DOJO" -- 2.49.1 From 8d231ba60cb7c0b4a91ba37c276ba085aa80d625 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:16:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 +++++++------------ 1 file changed, 21 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..eca1752 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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; + textClassName?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export default function SvgTextLogo({ + text, + className = '', + textClassName = '', +}: SvgTextLogoProps) { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +} -- 2.49.1