From 9049502b18c9c7fe350335c51e889e9f0354a92e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:58:12 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a1cde95..5d2ca56 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni import MetricCardOne from '@/components/sections/metrics/MetricCardOne'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterBase from '@/components/sections/footer/FooterBase'; -import { ChefHat, Clock, Fire, Heart, MapPin, Sparkles, Star, TrendingUp, Users } from "lucide-react"; +import { ChefHat, Clock, Heart, MapPin, Sparkles, Star, TrendingUp, Users } from "lucide-react"; export default function LandingPage() { return ( @@ -57,6 +57,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/three-mini-burgers-served-with-fries-wood-serving-board_140725-2585.jpg" imageAlt="Gourmet burger and crepe showcase" mediaAnimation="blur-reveal" + background={{ variant: "plain" }} testimonials={[ { name: "Ahmed Wisam", handle: "@ahmed_w", testimonial: "مطعم جميل جداً و اكله رائع و لذيذ", rating: 5, @@ -116,7 +117,7 @@ export default function LandingPage() { title="Signature Menu" description="Handcrafted burgers, artisan crepes, and premium sides that make our guests come back again and again." tag="Fresh Daily" - tagIcon={Fire} + tagIcon={Heart} tagAnimation="slide-up" textboxLayout="default" useInvertedBackground={true} @@ -124,28 +125,22 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", brand: "WEEK Signature", name: "Classic Smash Burger", price: "45 SAR", rating: 5, - reviewCount: "280+", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cheeseburgers-wooden-board_23-2148290649.jpg", imageAlt: "Classic Smash Burger with melted cheese and house sauce" + id: "1", brand: "WEEK Signature", name: "Classic Smash Burger", price: "45 SAR", rating: 5, reviewCount: "280+", imageSrc: "http://img.b2bpic.net/free-photo/top-view-cheeseburgers-wooden-board_23-2148290649.jpg", imageAlt: "Classic Smash Burger with melted cheese and house sauce" }, { - id: "2", brand: "WEEK Special", name: "WEEK Double Patty Burger", price: "65 SAR", rating: 5, - reviewCount: "350+", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-burgers-with-bacon_23-2148784474.jpg", imageAlt: "Double patty burger with caramelized onions and signature sauce" + id: "2", brand: "WEEK Special", name: "WEEK Double Patty Burger", price: "65 SAR", rating: 5, reviewCount: "350+", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-burgers-with-bacon_23-2148784474.jpg", imageAlt: "Double patty burger with caramelized onions and signature sauce" }, { - id: "3", brand: "WEEK Crispy", name: "Crispy Chicken Burger", price: "50 SAR", rating: 5, - reviewCount: "240+", imageSrc: "http://img.b2bpic.net/free-photo/burger-with-mayonnaise-sauce-it_188544-15976.jpg", imageAlt: "Golden crispy chicken burger with fresh lettuce and spicy mayo" + id: "3", brand: "WEEK Crispy", name: "Crispy Chicken Burger", price: "50 SAR", rating: 5, reviewCount: "240+", imageSrc: "http://img.b2bpic.net/free-photo/burger-with-mayonnaise-sauce-it_188544-15976.jpg", imageAlt: "Golden crispy chicken burger with fresh lettuce and spicy mayo" }, { - id: "4", brand: "WEEK Crepes", name: "Nutella Dream Crepe", price: "35 SAR", rating: 5, - reviewCount: "420+", imageSrc: "http://img.b2bpic.net/free-photo/delicious-cherry-cake-with-fresh-cherries-top-view_114579-10444.jpg", imageAlt: "Crepe filled with Nutella and fresh strawberries" + id: "4", brand: "WEEK Crepes", name: "Nutella Dream Crepe", price: "35 SAR", rating: 5, reviewCount: "420+", imageSrc: "http://img.b2bpic.net/free-photo/delicious-cherry-cake-with-fresh-cherries-top-view_114579-10444.jpg", imageAlt: "Crepe filled with Nutella and fresh strawberries" }, { - id: "5", brand: "WEEK Crepes", name: "Lotus Crepe", price: "38 SAR", rating: 5, - reviewCount: "310+", imageSrc: "http://img.b2bpic.net/free-photo/crepes-with-white-cheese-raspberries-white-plate_114579-70110.jpg", imageAlt: "Crepe with Lotus spread and crispy biscuit crunch" + id: "5", brand: "WEEK Crepes", name: "Lotus Crepe", price: "38 SAR", rating: 5, reviewCount: "310+", imageSrc: "http://img.b2bpic.net/free-photo/crepes-with-white-cheese-raspberries-white-plate_114579-70110.jpg", imageAlt: "Crepe with Lotus spread and crispy biscuit crunch" }, { - id: "6", brand: "WEEK Crepes", name: "Banana Chocolate Crepe", price: "35 SAR", rating: 5, - reviewCount: "285+", imageSrc: "http://img.b2bpic.net/free-photo/choco-doner-chocolate-wrapped-pancake-plate_140725-10909.jpg", imageAlt: "Crepe with banana slices and rich chocolate" + id: "6", brand: "WEEK Crepes", name: "Banana Chocolate Crepe", price: "35 SAR", rating: 5, reviewCount: "285+", imageSrc: "http://img.b2bpic.net/free-photo/choco-doner-chocolate-wrapped-pancake-plate_140725-10909.jpg", imageAlt: "Crepe with banana slices and rich chocolate" } ]} /> -- 2.49.1 From 3b646d6c5dd01057bdab5be31d3c61f8a7ac0225 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:58:12 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 66 ++++++++----------- 1 file changed, 27 insertions(+), 39 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f6c79c1 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"use client"; +import React from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps { + text: string; className?: string; + fontSize?: number; + fontWeight?: string | number; + dominantBaseline?: 'auto' | 'text-top' | 'middle' | 'ideographic' | 'text-bottom' | 'mathematical' | 'central' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 32, + fontWeight = 'bold', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}; -- 2.49.1