Merge version_1 into main #2

Merged
bender merged 3 commits from version_1 into main 2026-03-12 19:31:59 +00:00
3 changed files with 124 additions and 341 deletions

View File

@@ -27,8 +27,7 @@ export default function AboutPage() {
const footerColumns = [
{
title: "Hotel",
items: [
title: "Hotel", items: [
{ label: "Rooms", href: "/rooms" },
{ label: "Restaurant", href: "/restaurant" },
{ label: "Amenities", href: "/rooms" },
@@ -36,8 +35,7 @@ export default function AboutPage() {
],
},
{
title: "About",
items: [
title: "About", items: [
{ label: "Our Story", href: "/about" },
{ label: "Dilla City", href: "/about" },
{ label: "Gedeo Zone", href: "/about" },
@@ -45,8 +43,7 @@ export default function AboutPage() {
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Booking Terms", href: "#" },
@@ -77,32 +74,25 @@ export default function AboutPage() {
title="About Delight International Hotel"
description="Delight International Hotel is a well-known hotel in Dilla City offering comfortable rooms, a welcoming restaurant, and friendly service. The hotel serves both local and international travelers visiting the Gedeo Zone, famous for its beautiful coffee landscapes and rich cultural heritage."
tag="Our Story"
imageSrc="http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg?_wi=3"
imageSrc="http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg"
imageAlt="Hotel courtyard with landscaping welcoming"
textboxLayout="default"
useInvertedBackground={false}
mediaAnimation="none"
bulletPoints={[
{
title: "Trusted by Travelers",
description:
"One of the best known hotels in Dilla City serving visitors and business travelers",
},
title: "Trusted by Travelers", description:
"One of the best known hotels in Dilla City serving visitors and business travelers"},
{
title: "Strategic Location",
description:
"Perfectly positioned in the heart of Dilla City with easy access to attractions",
},
title: "Strategic Location", description:
"Perfectly positioned in the heart of Dilla City with easy access to attractions"},
{
title: "Authentic Experience",
description:
"Offering genuine Ethiopian hospitality with modern comfort and amenities",
},
title: "Authentic Experience", description:
"Offering genuine Ethiopian hospitality with modern comfort and amenities"},
]}
buttons={[
{
text: "Learn More",
href: "/rooms",
},
text: "Learn More", href: "/rooms"},
]}
/>
</div>
@@ -118,40 +108,28 @@ export default function AboutPage() {
features={[
{
icon: Users,
title: "Friendly Staff",
description:
"Our welcoming team is dedicated to making your stay comfortable and memorable",
},
title: "Friendly Staff", description:
"Our welcoming team is dedicated to making your stay comfortable and memorable"},
{
icon: Sparkles,
title: "Clean Rooms",
description:
"Daily housekeeping and pristine accommodations with attention to every detail",
},
title: "Clean Rooms", description:
"Daily housekeeping and pristine accommodations with attention to every detail"},
{
icon: MapPin,
title: "Prime Location",
description:
"Conveniently located in Dilla City with access to local attractions and amenities",
},
title: "Prime Location", description:
"Conveniently located in Dilla City with access to local attractions and amenities"},
{
icon: UtensilsCrossed,
title: "Fine Dining",
description:
"Restaurant serving Ethiopian and international dishes with fresh local ingredients",
},
title: "Fine Dining", description:
"Restaurant serving Ethiopian and international dishes with fresh local ingredients"},
{
icon: Wifi,
title: "Reliable Internet",
description:
"High-speed WiFi throughout the hotel for business travelers and guests",
},
title: "Reliable Internet", description:
"High-speed WiFi throughout the hotel for business travelers and guests"},
{
icon: Heart,
title: "Comfort Focus",
description:
"Ideal for both short business trips and extended leisure stays",
},
title: "Comfort Focus", description:
"Ideal for both short business trips and extended leisure stays"},
]}
/>
</div>
@@ -167,72 +145,36 @@ export default function AboutPage() {
gridVariant="uniform-all-items-equal"
testimonials={[
{
id: "1",
name: "Ahmed Mohamed",
role: "Business Traveler",
company: "Tech Consulting",
rating: 5,
id: "1", name: "Ahmed Mohamed", role: "Business Traveler", company: "Tech Consulting", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19784.jpg?_wi=2",
imageAlt: "Ahmed Mohamed",
},
"http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19784.jpg", imageAlt: "Ahmed Mohamed"},
{
id: "2",
name: "Fatima Hassan",
role: "Tourism Manager",
company: "Ethiopian Tours",
rating: 5,
id: "2", name: "Fatima Hassan", role: "Tourism Manager", company: "Ethiopian Tours", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/cheerful-middle-aged-businesswoman_1262-21005.jpg?_wi=2",
imageAlt: "Fatima Hassan",
},
"http://img.b2bpic.net/free-photo/cheerful-middle-aged-businesswoman_1262-21005.jpg", imageAlt: "Fatima Hassan"},
{
id: "3",
name: "David Wilson",
role: "International Visitor",
company: "Coffee Importer",
rating: 5,
id: "3", name: "David Wilson", role: "International Visitor", company: "Coffee Importer", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/medium-shot-man-posing-bicycle_23-2148928014.jpg?_wi=2",
imageAlt: "David Wilson",
},
"http://img.b2bpic.net/free-photo/medium-shot-man-posing-bicycle_23-2148928014.jpg", imageAlt: "David Wilson"},
{
id: "4",
name: "Getnet Tadesse",
role: "Local Business Owner",
company: "Dilla Commerce",
rating: 5,
id: "4", name: "Getnet Tadesse", role: "Local Business Owner", company: "Dilla Commerce", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/close-up-happy-mature-businessman-with-cup-coffee_23-2147955276.jpg?_wi=2",
imageAlt: "Getnet Tadesse",
},
"http://img.b2bpic.net/free-photo/close-up-happy-mature-businessman-with-cup-coffee_23-2147955276.jpg", imageAlt: "Getnet Tadesse"},
{
id: "5",
name: "Maria Santos",
role: "Travel Blogger",
company: "Wanderlust Chronicles",
rating: 5,
id: "5", name: "Maria Santos", role: "Travel Blogger", company: "Wanderlust Chronicles", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/content-business-woman-talking-smartphone-outdoors_1262-20534.jpg?_wi=2",
imageAlt: "Maria Santos",
},
"http://img.b2bpic.net/free-photo/content-business-woman-talking-smartphone-outdoors_1262-20534.jpg", imageAlt: "Maria Santos"},
{
id: "6",
name: "James Anderson",
role: "Corporate Executive",
company: "International Logistics",
rating: 5,
id: "6", name: "James Anderson", role: "Corporate Executive", company: "International Logistics", rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/handsome-young-man-pointing-away_23-2148377858.jpg?_wi=2",
imageAlt: "James Anderson",
},
"http://img.b2bpic.net/free-photo/handsome-young-man-pointing-away_23-2148377858.jpg", imageAlt: "James Anderson"},
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/happy-young-woman-designer-talking-by-phone_171337-15733.jpg?_wi=3"
imageSrc="http://img.b2bpic.net/free-photo/happy-young-woman-designer-talking-by-phone_171337-15733.jpg"
imageAlt="Delight International Hotel evening view"
logoText="Delight International Hotel"
copyrightText="© 2025 Delight International Hotel. All rights reserved."

View File

@@ -25,8 +25,7 @@ export default function HomePage() {
const footerColumns = [
{
title: "Hotel",
items: [
title: "Hotel", items: [
{ label: "Rooms", href: "/rooms" },
{ label: "Restaurant", href: "/restaurant" },
{ label: "Amenities", href: "/rooms" },
@@ -34,8 +33,7 @@ export default function HomePage() {
],
},
{
title: "About",
items: [
title: "About", items: [
{ label: "Our Story", href: "/about" },
{ label: "Dilla City", href: "/about" },
{ label: "Gedeo Zone", href: "/about" },
@@ -43,8 +41,7 @@ export default function HomePage() {
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Booking Terms", href: "#" },
@@ -75,38 +72,24 @@ export default function HomePage() {
title="Welcome to Delight International Hotel"
description="Comfortable rooms, friendly service, and authentic hospitality in the heart of Dilla City"
tag="Ethiopian Hospitality"
background={{ variant: "circleGradient" }}
background={{ variant: "sparkles-gradient" }}
buttons={[
{
text: "Book a Room",
href: "/rooms",
},
text: "Book a Room", href: "/rooms"},
{
text: "Contact Us",
href: "/contact",
},
text: "Contact Us", href: "/contact"},
]}
mediaItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/analog-city-landscape-with-buildings_23-2149661419.jpg",
imageAlt: "Delight International Hotel exterior",
},
imageSrc: "http://img.b2bpic.net/free-photo/analog-city-landscape-with-buildings_23-2149661419.jpg", imageAlt: "Delight International Hotel exterior"},
{
imageSrc: "http://img.b2bpic.net/free-vector/night-bedroom-attic-empty-moonlight-interior_1441-3660.jpg",
imageAlt: "Comfortable hotel room",
},
imageSrc: "http://img.b2bpic.net/free-vector/night-bedroom-attic-empty-moonlight-interior_1441-3660.jpg", imageAlt: "Comfortable hotel room"},
{
imageSrc: "http://img.b2bpic.net/free-photo/market-stall-with-various-dried-fruits-nuts_23-2148209806.jpg",
imageAlt: "Traditional Ethiopian coffee",
},
imageSrc: "http://img.b2bpic.net/free-photo/market-stall-with-various-dried-fruits-nuts_23-2148209806.jpg", imageAlt: "Traditional Ethiopian coffee"},
{
imageSrc: "http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg?_wi=1",
imageAlt: "Hotel courtyard and facilities",
},
imageSrc: "http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg", imageAlt: "Hotel courtyard and facilities"},
{
imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-having-lunch_23-2150598343.jpg?_wi=1",
imageAlt: "Restaurant dining area",
},
imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-having-lunch_23-2150598343.jpg", imageAlt: "Restaurant dining area"},
]}
/>
</div>
@@ -116,29 +99,22 @@ export default function HomePage() {
title="About Delight International Hotel"
description="Delight International Hotel is a well-known hotel in Dilla City offering comfortable rooms, a welcoming restaurant, and friendly service. The hotel serves both local and international travelers visiting the Gedeo Zone, famous for its beautiful coffee landscapes and rich cultural heritage."
tag="Our Story"
imageSrc="http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/elegant-brunette-girl-sitting-wooden-chair-outside-enjoying-exotic-landscape-amazing-slim-young-woman-white-sunglasses-bikini-have-sunbathing-yard-with-cactuses-vacation_197531-3065.jpg"
imageAlt="Hotel courtyard and premises"
textboxLayout="default"
useInvertedBackground={false}
mediaAnimation="none"
bulletPoints={[
{
title: "Trusted by Travelers",
description: "One of the best known hotels in Dilla City serving visitors and business travelers",
},
title: "Trusted by Travelers", description: "One of the best known hotels in Dilla City serving visitors and business travelers"},
{
title: "Strategic Location",
description: "Perfectly positioned in the heart of Dilla City with easy access to attractions",
},
title: "Strategic Location", description: "Perfectly positioned in the heart of Dilla City with easy access to attractions"},
{
title: "Authentic Experience",
description: "Offering genuine Ethiopian hospitality with modern comfort and amenities",
},
title: "Authentic Experience", description: "Offering genuine Ethiopian hospitality with modern comfort and amenities"},
]}
buttons={[
{
text: "Learn More",
href: "#features",
},
text: "Learn More", href: "#features"},
]}
/>
</div>
@@ -154,34 +130,22 @@ export default function HomePage() {
features={[
{
icon: Users,
title: "Friendly Staff",
description: "Our welcoming team is dedicated to making your stay comfortable and memorable",
},
title: "Friendly Staff", description: "Our welcoming team is dedicated to making your stay comfortable and memorable"},
{
icon: Sparkles,
title: "Clean Rooms",
description: "Daily housekeeping and pristine accommodations with attention to every detail",
},
title: "Clean Rooms", description: "Daily housekeeping and pristine accommodations with attention to every detail"},
{
icon: MapPin,
title: "Prime Location",
description: "Conveniently located in Dilla City with access to local attractions and amenities",
},
title: "Prime Location", description: "Conveniently located in Dilla City with access to local attractions and amenities"},
{
icon: UtensilsCrossed,
title: "Fine Dining",
description: "Restaurant serving Ethiopian and international dishes with fresh local ingredients",
},
title: "Fine Dining", description: "Restaurant serving Ethiopian and international dishes with fresh local ingredients"},
{
icon: Wifi,
title: "Reliable Internet",
description: "High-speed WiFi throughout the hotel for business travelers and guests",
},
title: "Reliable Internet", description: "High-speed WiFi throughout the hotel for business travelers and guests"},
{
icon: Heart,
title: "Comfort Focus",
description: "Ideal for both short business trips and extended leisure stays",
},
title: "Comfort Focus", description: "Ideal for both short business trips and extended leisure stays"},
]}
/>
</div>
@@ -197,59 +161,23 @@ export default function HomePage() {
gridVariant="uniform-all-items-equal"
testimonials={[
{
id: "1",
name: "Ahmed Mohamed",
role: "Business Traveler",
company: "Tech Consulting",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19784.jpg?_wi=1",
imageAlt: "Ahmed Mohamed",
},
id: "1", name: "Ahmed Mohamed", role: "Business Traveler", company: "Tech Consulting", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19784.jpg", imageAlt: "Ahmed Mohamed"},
{
id: "2",
name: "Fatima Hassan",
role: "Tourism Manager",
company: "Ethiopian Tours",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-middle-aged-businesswoman_1262-21005.jpg?_wi=1",
imageAlt: "Fatima Hassan",
},
id: "2", name: "Fatima Hassan", role: "Tourism Manager", company: "Ethiopian Tours", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-middle-aged-businesswoman_1262-21005.jpg", imageAlt: "Fatima Hassan"},
{
id: "3",
name: "David Wilson",
role: "International Visitor",
company: "Coffee Importer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-posing-bicycle_23-2148928014.jpg?_wi=1",
imageAlt: "David Wilson",
},
id: "3", name: "David Wilson", role: "International Visitor", company: "Coffee Importer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-posing-bicycle_23-2148928014.jpg", imageAlt: "David Wilson"},
{
id: "4",
name: "Getnet Tadesse",
role: "Local Business Owner",
company: "Dilla Commerce",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-mature-businessman-with-cup-coffee_23-2147955276.jpg?_wi=1",
imageAlt: "Getnet Tadesse",
},
id: "4", name: "Getnet Tadesse", role: "Local Business Owner", company: "Dilla Commerce", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-mature-businessman-with-cup-coffee_23-2147955276.jpg", imageAlt: "Getnet Tadesse"},
{
id: "5",
name: "Maria Santos",
role: "Travel Blogger",
company: "Wanderlust Chronicles",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/content-business-woman-talking-smartphone-outdoors_1262-20534.jpg?_wi=1",
imageAlt: "Maria Santos",
},
id: "5", name: "Maria Santos", role: "Travel Blogger", company: "Wanderlust Chronicles", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/content-business-woman-talking-smartphone-outdoors_1262-20534.jpg", imageAlt: "Maria Santos"},
{
id: "6",
name: "James Anderson",
role: "Corporate Executive",
company: "International Logistics",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-pointing-away_23-2148377858.jpg?_wi=1",
imageAlt: "James Anderson",
},
id: "6", name: "James Anderson", role: "Corporate Executive", company: "International Logistics", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-man-pointing-away_23-2148377858.jpg", imageAlt: "James Anderson"},
]}
/>
</div>
@@ -265,35 +193,14 @@ export default function HomePage() {
gridVariant="three-columns-all-equal-width"
products={[
{
id: "1",
brand: "Delight Hotel",
name: "Standard Room",
price: "Comfortable Stay",
rating: 5,
reviewCount: "Highly Rated",
imageSrc: "http://img.b2bpic.net/free-photo/home-comfortable-new-hotel-stylish_1203-4565.jpg?_wi=1",
imageAlt: "Standard hotel room",
},
id: "1", brand: "Delight Hotel", name: "Standard Room", price: "Comfortable Stay", rating: 5,
reviewCount: "Highly Rated", imageSrc: "http://img.b2bpic.net/free-photo/home-comfortable-new-hotel-stylish_1203-4565.jpg", imageAlt: "Standard hotel room"},
{
id: "2",
brand: "Delight Hotel",
name: "Twin Room",
price: "Family Friendly",
rating: 5,
reviewCount: "Highly Rated",
imageSrc: "http://img.b2bpic.net/free-photo/cozy-lively-home-interior-design_23-2151118953.jpg?_wi=1",
imageAlt: "Twin room with two beds",
},
id: "2", brand: "Delight Hotel", name: "Twin Room", price: "Family Friendly", rating: 5,
reviewCount: "Highly Rated", imageSrc: "http://img.b2bpic.net/free-photo/cozy-lively-home-interior-design_23-2151118953.jpg", imageAlt: "Twin room with two beds"},
{
id: "3",
brand: "Delight Hotel",
name: "Business Room",
price: "Premium Workspace",
rating: 5,
reviewCount: "Highly Rated",
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-using-laptop-while-sitting-couch_7502-9116.jpg?_wi=1",
imageAlt: "Business room with office desk",
},
id: "3", brand: "Delight Hotel", name: "Business Room", price: "Premium Workspace", rating: 5,
reviewCount: "Highly Rated", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-using-laptop-while-sitting-couch_7502-9116.jpg", imageAlt: "Business room with office desk"},
]}
/>
</div>
@@ -308,74 +215,35 @@ export default function HomePage() {
useInvertedBackground={true}
plans={[
{
id: "1",
price: "All Rooms",
name: "Standard Amenities",
buttons: [
id: "1", price: "All Rooms", name: "Standard Amenities", buttons: [
{
text: "Book Now",
href: "/contact",
},
text: "Book Now", href: "/contact"},
{
text: "Learn More",
href: "/rooms",
},
text: "Learn More", href: "/rooms"},
],
features: [
"Private bathroom",
"Hot shower (when available)",
"Comfortable bed with quality linens",
"Room service",
"Daily housekeeping",
],
"Private bathroom", "Hot shower (when available)", "Comfortable bed with quality linens", "Room service", "Daily housekeeping"],
},
{
id: "2",
badge: "Most Popular",
badgeIcon: Sparkles,
price: "Business Rooms",
name: "Premium Amenities",
buttons: [
id: "2", badge: "Most Popular", badgeIcon: Sparkles,
price: "Business Rooms", name: "Premium Amenities", buttons: [
{
text: "Book Now",
href: "/contact",
},
text: "Book Now", href: "/contact"},
{
text: "Learn More",
href: "/rooms",
},
text: "Learn More", href: "/rooms"},
],
features: [
"All standard amenities",
"Dedicated work desk",
"High-speed WiFi",
"Premium bedding",
"City views",
"Extended workspace",
],
"All standard amenities", "Dedicated work desk", "High-speed WiFi", "Premium bedding", "City views", "Extended workspace"],
},
{
id: "3",
price: "All Rooms",
name: "Guest Services",
buttons: [
id: "3", price: "All Rooms", name: "Guest Services", buttons: [
{
text: "Book Now",
href: "/contact",
},
text: "Book Now", href: "/contact"},
{
text: "Learn More",
href: "/rooms",
},
text: "Learn More", href: "/rooms"},
],
features: [
"Reliable WiFi access",
"24-hour front desk",
"Restaurant service",
"Local transportation assistance",
"Authentic hospitality",
"Cultural guidance",
],
"Reliable WiFi access", "24-hour front desk", "Restaurant service", "Local transportation assistance", "Authentic hospitality", "Cultural guidance"],
},
]}
/>
@@ -391,21 +259,9 @@ export default function HomePage() {
useInvertedBackground={false}
metrics={[
{
id: "1",
value: "100%",
title: "Local Sourcing",
description: "Fresh ingredients from Gedeo region",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-baked-vegetables-potatoes-eggplants-with-seasonings-dark-space_140725-79625.jpg?_wi=1",
imageAlt: "Traditional Ethiopian cuisine",
},
id: "1", value: "100%", title: "Local Sourcing", description: "Fresh ingredients from Gedeo region", imageSrc: "http://img.b2bpic.net/free-photo/top-view-baked-vegetables-potatoes-eggplants-with-seasonings-dark-space_140725-79625.jpg", imageAlt: "Traditional Ethiopian cuisine"},
{
id: "2",
value: "3x",
title: "Daily Service",
description: "Breakfast, lunch, and dinner availability",
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-women-with-coffee-cups_23-2149308476.jpg?_wi=1",
imageAlt: "Coffee ceremony service",
},
id: "2", value: "3x", title: "Daily Service", description: "Breakfast, lunch, and dinner availability", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-women-with-coffee-cups_23-2149308476.jpg", imageAlt: "Coffee ceremony service"},
]}
/>
</div>
@@ -418,15 +274,7 @@ export default function HomePage() {
textboxLayout="default"
useInvertedBackground={true}
names={[
"International Travelers",
"Business Professionals",
"Tourism Organizations",
"Coffee Enthusiasts",
"Adventure Seekers",
"Corporate Groups",
"Travel Agencies",
"Local Communities",
]}
"International Travelers", "Business Professionals", "Tourism Organizations", "Coffee Enthusiasts", "Adventure Seekers", "Corporate Groups", "Travel Agencies", "Local Communities"]}
speed={40}
showCard={true}
/>
@@ -434,7 +282,7 @@ export default function HomePage() {
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/happy-young-woman-designer-talking-by-phone_171337-15733.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/happy-young-woman-designer-talking-by-phone_171337-15733.jpg"
imageAlt="Delight International Hotel evening view"
logoText="Delight International Hotel"
copyrightText="© 2025 Delight International Hotel. All rights reserved."

View File

@@ -1,51 +1,44 @@
"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;
fontFamily?: string;
fontWeight?: number;
fill?: string;
letterSpacing?: number;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fontSize = 32,
fontFamily = 'Arial, sans-serif',
fontWeight = 700,
fill = '#000000',
letterSpacing = 0,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
y={fontSize}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
letterSpacing={letterSpacing}
dominantBaseline="hanging"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;