From 4b7676cf0381a359ada5a08d48782d267bae5c50 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:13:17 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index acb519b..fcbaa35 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -94,13 +94,13 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "1", name: "Deluxe Room", price: "From €120/night", imageSrc: "http://img.b2bpic.net/free-photo/suspended-ceiling-with-halogen-spots-lamps-drywall-construction-room_632498-1082.jpg?_wi=1", imageAlt: "Deluxe room with queen bed and modern furnishings" + id: "1", name: "Deluxe Room", price: "From €120/night", imageSrc: "http://img.b2bpic.net/free-photo/suspended-ceiling-with-halogen-spots-lamps-drywall-construction-room_632498-1082.jpg", imageAlt: "Deluxe room with queen bed and modern furnishings" }, { id: "2", name: "Standard Room", price: "From €85/night", imageSrc: "http://img.b2bpic.net/free-photo/grandmother-happy-spend-time-with-family_23-2148597183.jpg", imageAlt: "Standard room with comfortable bed and contemporary design" }, { - id: "3", name: "Suite", price: "From €180/night", imageSrc: "http://img.b2bpic.net/free-photo/suspended-ceiling-with-halogen-spots-lamps-drywall-construction-room_632498-1082.jpg?_wi=2", imageAlt: "Spacious suite with separate living area" + id: "3", name: "Suite", price: "From €180/night", imageSrc: "http://img.b2bpic.net/free-photo/suspended-ceiling-with-halogen-spots-lamps-drywall-construction-room_632498-1082.jpg", imageAlt: "Spacious suite with separate living area" } ]} gridVariant="three-columns-all-equal-width" @@ -117,7 +117,6 @@ export default function LandingPage() { title="Amenities Designed for Every Guest" description="From fast WiFi to gourmet breakfast, every detail supports your comfort and convenience." tag="Premium Services" - textboxLayout="default" useInvertedBackground={false} accordionItems={[ { From 2ed00304f61f968caa61bc2769a77ff69c51de12 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 14:13:18 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e17c035 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + dominantBaseline?: 'auto' | 'baseline' | 'middle' | 'hanging' | 'math' | 'central'; } -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 = '', + textClassName = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;