diff --git a/src/app/page.tsx b/src/app/page.tsx index 7cacaf9..4d204a7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -47,21 +47,22 @@ export default function LandingPage() { background={{ variant: "radial-gradient" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg?_wi=1", imageAlt: "Elegant fine dining restaurant interior" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg", imageAlt: "Elegant fine dining restaurant interior" }, { - imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259749.jpg?_wi=1", imageAlt: "Beautifully plated gourmet dish" + imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259749.jpg", imageAlt: "Beautifully plated gourmet dish" }, { - imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-kitchen_23-2148471872.jpg?_wi=1", imageAlt: "Chef preparing culinary masterpiece" + imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-kitchen_23-2148471872.jpg", imageAlt: "Chef preparing culinary masterpiece" }, { - imageSrc: "http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg?_wi=1", imageAlt: "Sophisticated restaurant ambiance" + imageSrc: "http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg", imageAlt: "Sophisticated restaurant ambiance" }, { imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-restaurant_23-2148006621.jpg", imageAlt: "Guest enjoying dining experience" } ]} + mediaAnimation="none" buttons={[ { text: "Reserve Your Table", href: "contact" }, { text: "View Our Menu", href: "menu" } @@ -88,7 +89,7 @@ export default function LandingPage() { title="Exceptional Dining Experience" description="Discover what makes our restaurant the ultimate destination for fine dining. From our meticulously crafted menu to our warm hospitality." tag="The Savour Difference" - imageSrc="http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg" imageAlt="Restaurant ambiance" accordionItems={[ { @@ -116,16 +117,16 @@ export default function LandingPage() { useInvertedBackground={false} testimonials={[ { - id: "1", name: "Sarah Mitchell, Anniversary Celebration", date: "Date: 15 January 2025", title: "An unforgettable evening", quote: "The food was exquisite, the service impeccable, and the ambiance absolutely magical. We celebrated our 10th anniversary here and couldn't have asked for a better experience.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/friends-eating-restaurant_23-2148006621.jpg", avatarAlt: "Sarah Mitchell", imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259749.jpg?_wi=2" + id: "1", name: "Sarah Mitchell, Anniversary Celebration", date: "Date: 15 January 2025", title: "An unforgettable evening", quote: "The food was exquisite, the service impeccable, and the ambiance absolutely magical. We celebrated our 10th anniversary here and couldn't have asked for a better experience.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/friends-eating-restaurant_23-2148006621.jpg", avatarAlt: "Sarah Mitchell", imageSrc: "http://img.b2bpic.net/free-photo/delicious-smoke-cooked-food_23-2151259749.jpg" }, { - id: "2", name: "James Chen, Business Executive", date: "Date: 8 January 2025", title: "Perfect for business dinners", quote: "We host our important clients here regularly. The sophisticated atmosphere and exceptional cuisine never fail to impress. Highly recommended.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/couples-celebrating-birthday_23-2149891048.jpg", avatarAlt: "James Chen", imageSrc: "http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg?_wi=3" + id: "2", name: "James Chen, Business Executive", date: "Date: 8 January 2025", title: "Perfect for business dinners", quote: "We host our important clients here regularly. The sophisticated atmosphere and exceptional cuisine never fail to impress. Highly recommended.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/couples-celebrating-birthday_23-2149891048.jpg", avatarAlt: "James Chen", imageSrc: "http://img.b2bpic.net/free-photo/view-table-etiquette-dressing_23-2148914876.jpg" }, { - id: "3", name: "Emma Rodriguez, Food Enthusiast", date: "Date: 22 December 2024", title: "Culinary artistry at its finest", quote: "Every dish is a masterpiece. The chef's creativity and attention to detail are evident in every plate. This is fine dining done right.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-friends-with-drinks_23-2149073427.jpg", avatarAlt: "Emma Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg?_wi=2" + id: "3", name: "Emma Rodriguez, Food Enthusiast", date: "Date: 22 December 2024", title: "Culinary artistry at its finest", quote: "Every dish is a masterpiece. The chef's creativity and attention to detail are evident in every plate. This is fine dining done right.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-friends-with-drinks_23-2149073427.jpg", avatarAlt: "Emma Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/front-view-cooked-squashes-designed-meal-inside-plate-dark-grey-space_140725-83767.jpg" }, { - id: "4", name: "Michael Thompson, Regular Guest", date: "Date: 18 December 2024", title: "Our favorite dining destination", quote: "We've been coming here for three years and every visit is special. The menu evolves beautifully, and the team remembers our preferences. Simply wonderful.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3945.jpg", avatarAlt: "Michael Thompson", imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-kitchen_23-2148471872.jpg?_wi=2" + id: "4", name: "Michael Thompson, Regular Guest", date: "Date: 18 December 2024", title: "Our favorite dining destination", quote: "We've been coming here for three years and every visit is special. The menu evolves beautifully, and the team remembers our preferences. Simply wonderful.", tag: "Premium Dining", avatarSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3945.jpg", avatarAlt: "Michael Thompson", imageSrc: "http://img.b2bpic.net/free-photo/close-up-chef-kitchen_23-2148471872.jpg" } ]} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..24f2153 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"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; } -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 = 32, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;