From d2347bbf07c2feab669a233f192cebbad4c11008 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 19:01:34 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 62950c5..65421ab 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -50,13 +50,13 @@ export default function LandingPage() { ]} slides={[ { - imageSrc: "http://img.b2bpic.net/free-photo/abstract-defocused-hotel-lobby-interior_74190-6623.jpg?_wi=1", imageAlt: "Luxury Hotel Lobby" + imageSrc: "http://img.b2bpic.net/free-photo/abstract-defocused-hotel-lobby-interior_74190-6623.jpg", imageAlt: "Luxury Hotel Lobby" }, { - imageSrc: "http://img.b2bpic.net/free-photo/cozy-bedroom-with-pendant-lamp-orchid-home-comfort_169016-70987.jpg?_wi=1", imageAlt: "Premium Hotel Suite" + imageSrc: "http://img.b2bpic.net/free-photo/cozy-bedroom-with-pendant-lamp-orchid-home-comfort_169016-70987.jpg", imageAlt: "Premium Hotel Suite" }, { - imageSrc: "http://img.b2bpic.net/free-photo/cutlery-setting-restaurant_268835-3408.jpg?_wi=1", imageAlt: "Fine Dining Restaurant" + imageSrc: "http://img.b2bpic.net/free-photo/cutlery-setting-restaurant_268835-3408.jpg", imageAlt: "Fine Dining Restaurant" } ]} autoplayDelay={5000} @@ -76,6 +76,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/view-vibrant-city-night_52683-100070.jpg" imageAlt="Hotel Isra Exterior Architecture" mediaAnimation="slide-up" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -88,15 +89,15 @@ export default function LandingPage() { features={[ { id: 1, - tag: "Wellness", title: "Spa & Wellness", subtitle: "Rejuvenate Your Senses", description: "Indulge in our full-service spa featuring therapeutic massages, facials, and holistic wellness treatments. Our expert therapists combine traditional techniques with modern practices to provide ultimate relaxation and rejuvenation.", imageSrc: "http://img.b2bpic.net/free-photo/two-beds-with-sea-view_1137-126.jpg?_wi=1", imageAlt: "Luxury Spa Facilities", buttons: [{ text: "Book Treatment", href: "#contact" }] + tag: "Wellness", title: "Spa & Wellness", subtitle: "Rejuvenate Your Senses", description: "Indulge in our full-service spa featuring therapeutic massages, facials, and holistic wellness treatments. Our expert therapists combine traditional techniques with modern practices to provide ultimate relaxation and rejuvenation.", imageSrc: "http://img.b2bpic.net/free-photo/two-beds-with-sea-view_1137-126.jpg", imageAlt: "Luxury Spa Facilities", buttons: [{ text: "Book Treatment", href: "#contact" }] }, { id: 2, - tag: "Dining", title: "Culinary Excellence", subtitle: "Savor Global Flavors", description: "Our award-winning chefs present innovative cuisine blending international and local flavors. From fine dining to casual elegance, each restaurant offers a distinct culinary journey with impeccable service and ambiance.", imageSrc: "http://img.b2bpic.net/free-photo/cutlery-setting-restaurant_268835-3408.jpg?_wi=2", imageAlt: "Fine Dining Restaurant", buttons: [{ text: "Reserve Table", href: "#contact" }] + tag: "Dining", title: "Culinary Excellence", subtitle: "Savor Global Flavors", description: "Our award-winning chefs present innovative cuisine blending international and local flavors. From fine dining to casual elegance, each restaurant offers a distinct culinary journey with impeccable service and ambiance.", imageSrc: "http://img.b2bpic.net/free-photo/cutlery-setting-restaurant_268835-3408.jpg", imageAlt: "Fine Dining Restaurant", buttons: [{ text: "Reserve Table", href: "#contact" }] }, { id: 3, - tag: "Recreation", title: "Recreation & Activities", subtitle: "Explore & Engage", description: "From state-of-the-art fitness centers to swimming pools and recreational programs, Hotel Isra provides diverse activities for active travelers and those seeking relaxation alike.", imageSrc: "http://img.b2bpic.net/free-photo/cozy-bedroom-with-pendant-lamp-orchid-home-comfort_169016-70987.jpg?_wi=2", imageAlt: "Hotel Recreation Facilities", buttons: [{ text: "Learn More", href: "#contact" }] + tag: "Recreation", title: "Recreation & Activities", subtitle: "Explore & Engage", description: "From state-of-the-art fitness centers to swimming pools and recreational programs, Hotel Isra provides diverse activities for active travelers and those seeking relaxation alike.", imageSrc: "http://img.b2bpic.net/free-photo/cozy-bedroom-with-pendant-lamp-orchid-home-comfort_169016-70987.jpg", imageAlt: "Hotel Recreation Facilities", buttons: [{ text: "Learn More", href: "#contact" }] } ]} textboxLayout="default" @@ -149,22 +150,22 @@ export default function LandingPage() { ); -} \ No newline at end of file +} -- 2.49.1 From cbcc2955a7218083ab540e4f11bbdbe6734d46ec Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 19:01:35 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 24 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..fdf0081 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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?: string; + 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 = 48, + fontWeight = 'bold', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1