From 9d6aaa2e68585aa6255b8c1d06bb366245d9aaee Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:23:36 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ff2038b..8ca1fae 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="medium" sizing="largeSizeMediumTitles" - background="none" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -46,30 +46,30 @@ export default function LandingPage() { tag="Serving Since 2015" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "none" }} + background={{ variant: "plain" }} leftCarouselItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg?_wi=1", imageAlt: "A2 Ghee Roast - Crispy dosa roasted in rich A2 ghee" + imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg", imageAlt: "A2 Ghee Roast - Crispy dosa roasted in rich A2 ghee" }, { - imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-tomatoes_23-2148765317.jpg?_wi=1", imageAlt: "Al Faham - Smoky grilled chicken with Arabic flavors" + imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-tomatoes_23-2148765317.jpg", imageAlt: "Al Faham - Smoky grilled chicken with Arabic flavors" }, { - imageSrc: "http://img.b2bpic.net/free-photo/low-angle-delicious-granita-dessert-with-watermelon_23-2149395557.jpg?_wi=1", imageAlt: "Watermelon Mojito - Refreshing summer cooler" + imageSrc: "http://img.b2bpic.net/free-photo/low-angle-delicious-granita-dessert-with-watermelon_23-2149395557.jpg", imageAlt: "Watermelon Mojito - Refreshing summer cooler" }, { - imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg?_wi=1", imageAlt: "Kanary Restaurant - Comfortable and welcoming ambiance" + imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg", imageAlt: "Kanary Restaurant - Comfortable and welcoming ambiance" } ]} rightCarouselItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=1", imageAlt: "A2 Ghee Thattu Dosa - Soft thick dosa with spicy chutneys" + imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg", imageAlt: "A2 Ghee Thattu Dosa - Soft thick dosa with spicy chutneys" }, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg?_wi=1", imageAlt: "Black Bun Beef Burger - Juicy patty in charcoal bun" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg", imageAlt: "Black Bun Beef Burger - Juicy patty in charcoal bun" }, { - imageSrc: "http://img.b2bpic.net/free-photo/chocolate-frappe-with-vanilla-ice-cream_1339-6959.jpg?_wi=1", imageAlt: "KitKat Shake - Chocolate lovers' favorite creamy shake" + imageSrc: "http://img.b2bpic.net/free-photo/chocolate-frappe-with-vanilla-ice-cream_1339-6959.jpg", imageAlt: "KitKat Shake - Chocolate lovers' favorite creamy shake" }, { imageSrc: "http://img.b2bpic.net/free-photo/explaining-work_1098-18099.jpg", imageAlt: "Premium dining experience at Kanary" @@ -95,9 +95,10 @@ export default function LandingPage() { { value: "4.1★", title: "Guest Rating" }, { value: "₹200–₹400", title: "Price Range" } ]} - imageSrc="http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg" imageAlt="Kanary Restaurant welcoming interior" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={true} /> @@ -111,22 +112,22 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "1", name: "A2 Ghee Roast", price: "₹180", variant: "Crispy & Golden", imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg?_wi=2", imageAlt: "A2 Ghee Roast" + id: "1", name: "A2 Ghee Roast", price: "₹180", variant: "Crispy & Golden", imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg", imageAlt: "A2 Ghee Roast" }, { - id: "2", name: "A2 Ghee Thattu Dosa", price: "₹150", variant: "Soft & Thick", imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg?_wi=2", imageAlt: "Thattu Dosa" + id: "2", name: "A2 Ghee Thattu Dosa", price: "₹150", variant: "Soft & Thick", imageSrc: "http://img.b2bpic.net/free-photo/delicious-indian-dosa-assortment_23-2149086033.jpg", imageAlt: "Thattu Dosa" }, { - id: "3", name: "Black Bun Beef Burger", price: "₹220", variant: "Premium Patty", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg?_wi=2", imageAlt: "Black Bun Beef Burger" + id: "3", name: "Black Bun Beef Burger", price: "₹220", variant: "Premium Patty", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hand-pouring-sesame-seeds-beef-burger-with-salad-bacon_23-2148784492.jpg", imageAlt: "Black Bun Beef Burger" }, { - id: "4", name: "Al Faham", price: "₹280", variant: "Grilled Perfection", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-tomatoes_23-2148765317.jpg?_wi=2", imageAlt: "Al Faham Chicken" + id: "4", name: "Al Faham", price: "₹280", variant: "Grilled Perfection", imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-tomatoes_23-2148765317.jpg", imageAlt: "Al Faham Chicken" }, { - id: "5", name: "Watermelon Mojito", price: "₹120", variant: "Refreshing", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-delicious-granita-dessert-with-watermelon_23-2149395557.jpg?_wi=2", imageAlt: "Watermelon Mojito" + id: "5", name: "Watermelon Mojito", price: "₹120", variant: "Refreshing", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-delicious-granita-dessert-with-watermelon_23-2149395557.jpg", imageAlt: "Watermelon Mojito" }, { - id: "6", name: "KitKat Shake", price: "₹140", variant: "Chocolate Indulgence", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-frappe-with-vanilla-ice-cream_1339-6959.jpg?_wi=2", imageAlt: "KitKat Shake" + id: "6", name: "KitKat Shake", price: "₹140", variant: "Chocolate Indulgence", imageSrc: "http://img.b2bpic.net/free-photo/chocolate-frappe-with-vanilla-ice-cream_1339-6959.jpg", imageAlt: "KitKat Shake" } ]} gridVariant="uniform-all-items-equal" @@ -146,7 +147,7 @@ export default function LandingPage() { features={[ { id: "1", title: "Late Night Dining", description: "Open until 1 AM for your midnight cravings and spontaneous gatherings. Perfect for late-night food lovers and night owls.", media: { - imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg?_wi=3" + imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg" }, items: [ { icon: Clock, text: "Open till 1 AM" }, @@ -156,7 +157,7 @@ export default function LandingPage() { }, { id: "2", title: "Signature Ghee Roast", description: "Rich, authentic flavors crafted with premium A2 ghee. Each dish is a masterpiece of traditional culinary excellence.", media: { - imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg?_wi=3" + imageSrc: "http://img.b2bpic.net/free-photo/orange-soup-vegetable-vitamine-riched-delicious-salted-peppered-brown-wood-rustic-desk_140725-14857.jpg" }, items: [ { icon: Flame, text: "Premium ingredients" }, @@ -166,7 +167,7 @@ export default function LandingPage() { }, { id: "3", title: "Prime Location", description: "Conveniently located near Thrissur Round in the heart of the city. Easy to reach and impossible to miss.", media: { - imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg?_wi=4" + imageSrc: "http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg" }, items: [ { icon: MapPin, text: "Central location" }, @@ -221,7 +222,7 @@ export default function LandingPage() { required: false }} buttonText="Reserve Table" - imageSrc="http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg?_wi=5" + imageSrc="http://img.b2bpic.net/free-photo/elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-sexy-seductive-look-attractive-skinny-figure_285396-7236.jpg" imageAlt="Kanary Restaurant" mediaAnimation="slide-up" mediaPosition="right" From bd4baf78ece8f915406eb41c1a5734280a872aba Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 08:23:37 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..07856f9 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,41 @@ -"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; + fontWeight?: number | string; + letterSpacing?: number; + fill?: 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, + className = '', + fontSize = 24, + fontWeight = 700, + letterSpacing = 0, + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;