From c6caddbf4a6517ea1ee8a14b26e8063261db1d3c Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:43:35 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 868bcb8..6501cf1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -48,7 +48,7 @@ export default function NammudeCafePage() { tag="Rated 5.0 ⭐" tagIcon={Star} tagAnimation="slide-up" - background={{ variant: "circleGradient" }} + background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/empty-coffee-cup-coffee-machine_1232-1982.jpg" imageAlt="Nammude Cafe cozy interior" mediaAnimation="blur-reveal" @@ -56,19 +56,19 @@ export default function NammudeCafePage() { testimonials={[ { name: "Priya Sharma", handle: "Regular Customer", testimonial: "Amazing Kerala style snacks. Very rare to get puffs and cutlets this good!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg" }, { name: "Rajesh Kumar", handle: "Office Worker", testimonial: "Great food quality in budget. Best cafe to chill out.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg" }, { name: "Ananya Patel", handle: "Friend Group", testimonial: "Affordable, good atmosphere and great service. Highly recommend!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-man-with-curly-hair-wearing-shirt_273609-19767.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-man-with-curly-hair-wearing-shirt_273609-19767.jpg" }, { name: "Vikram Singh", handle: "Local Resident", testimonial: "Perfect spot for meetings. Warm vibes and delicious snacks.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg" } ]} buttons={[ @@ -140,12 +140,12 @@ export default function NammudeCafePage() { cardAnimation="blur-reveal" useInvertedBackground={false} testimonials={[ - { id: "1", name: "Priya Sharma", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg?_wi=2" }, - { id: "2", name: "Rajesh Kumar", imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg?_wi=2" }, - { id: "3", name: "Ananya Patel", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-man-with-curly-hair-wearing-shirt_273609-19767.jpg?_wi=2" }, - { id: "4", name: "Vikram Singh", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg?_wi=2" }, - { id: "5", name: "Neha Desai", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg?_wi=3" }, - { id: "6", name: "Arjun Iyer", imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg?_wi=3" } + { id: "1", name: "Priya Sharma", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg" }, + { id: "2", name: "Rajesh Kumar", imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg" }, + { id: "3", name: "Ananya Patel", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-man-with-curly-hair-wearing-shirt_273609-19767.jpg" }, + { id: "4", name: "Vikram Singh", imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-posing_23-2150171293.jpg" }, + { id: "5", name: "Neha Desai", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-talking-mobile-phone-coffee-shop_1170-2063.jpg" }, + { id: "6", name: "Arjun Iyer", imageSrc: "http://img.b2bpic.net/free-photo/young-man-posing-with-camera-field_23-2149333929.jpg" } ]} /> -- 2.49.1 From 5d6e2eda92e3eaeb862c669d94c89b82004e2a0b Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 20:43:35 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 62 +++++++------------ 1 file changed, 24 insertions(+), 38 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..de5a813 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontWeight?: "normal" | "bold" | "lighter" | "bolder" | number; + fill?: string; + dominantBaseline?: "auto" | "baseline" | "before-edge" | "hanging" | "ideographic" | "mathematical" | "central" | "middle" | "after-edge" | "text-after-edge"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = "Logo", fontSize = 24, + fontWeight = "bold", fill = "currentColor", dominantBaseline = "middle", ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1