diff --git a/src/app/page.tsx b/src/app/page.tsx index cd06204..909f197 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="largeSmall" - background="grid" + background="circleGradient" cardStyle="solid" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="solid" @@ -48,24 +48,20 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/contemporary-loft-style-apartment-with-homey-office-corner_482257-119908.jpg" imageAlt="Modern comfortable apartment living room" mediaAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "animated-grid" }} useInvertedBackground={false} testimonials={[ { - name: "Ahmed Hassan", handle: "Business Traveler", testimonial: "Perfect for my extended stays. The spacious apartment and convenient location made my work trip comfortable.", rating: 5, - imageSrc: "https://ui-avatars.com/api/?name=Ahmed+Hassan&background=15479c&color=ffffff" + name: "Ahmed Hassan", handle: "Business Traveler", testimonial: "Perfect for my extended stays. The spacious apartment and convenient location made my work trip comfortable.", rating: 5, imageSrc: "https://ui-avatars.com/api/?name=Ahmed+Hassan&background=15479c&color=ffffff" }, { - name: "Sarah Johnson", handle: "Family Visitor", testimonial: "Excellent facilities and friendly staff. My family loved the pool and the fully equipped kitchen.", rating: 5, - imageSrc: "https://ui-avatars.com/api/?name=Sarah+Johnson&background=15479c&color=ffffff" + name: "Sarah Johnson", handle: "Family Visitor", testimonial: "Excellent facilities and friendly staff. My family loved the pool and the fully equipped kitchen.", rating: 5, imageSrc: "https://ui-avatars.com/api/?name=Sarah+Johnson&background=15479c&color=ffffff" }, { - name: "Marco Rossi", handle: "Golf Enthusiast", testimonial: "Just 3 km from Emirates Golf Club! Great location with all the amenities we needed.", rating: 5, - imageSrc: "https://ui-avatars.com/api/?name=Marco+Rossi&background=15479c&color=ffffff" + name: "Marco Rossi", handle: "Golf Enthusiast", testimonial: "Just 3 km from Emirates Golf Club! Great location with all the amenities we needed.", rating: 5, imageSrc: "https://ui-avatars.com/api/?name=Marco+Rossi&background=15479c&color=ffffff" }, { - name: "Leila Al-Mansouri", handle: "Dubai Resident", testimonial: "The home-away-from-home experience is exactly what we wanted for our guests from abroad.", rating: 5, - imageSrc: "https://ui-avatars.com/api/?name=Leila+Al-Mansouri&background=15479c&color=ffffff" + name: "Leila Al-Mansouri", handle: "Dubai Resident", testimonial: "The home-away-from-home experience is exactly what we wanted for our guests from abroad.", rating: 5, imageSrc: "https://ui-avatars.com/api/?name=Leila+Al-Mansouri&background=15479c&color=ffffff" } ]} testimonialRotationInterval={5000} @@ -86,7 +82,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={true} imagePosition="right" - imageSrc="http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg" imageAlt="CARE Holiday Homes apartment building exterior" mediaAnimation="slide-up" bulletPoints={[ @@ -122,31 +118,31 @@ export default function LandingPage() { animationType="slide-up" features={[ { - id: "01", title: "Complimentary High-Speed Wi-Fi", description: "Stay connected with reliable, complimentary Wi-Fi throughout the entire property for work and entertainment.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg?_wi=1", imageAlt: "Modern lobby with WiFi connectivity" + id: "01", title: "Complimentary High-Speed Wi-Fi", description: "Stay connected with reliable, complimentary Wi-Fi throughout the entire property for work and entertainment.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg", imageAlt: "Modern lobby with WiFi connectivity" }, { - id: "02", title: "Free Parking", description: "Convenient on-site parking available for all guests. No additional parking fees.", imageSrc: "http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg?_wi=2", imageAlt: "Apartment building with parking facilities" + id: "02", title: "Free Parking", description: "Convenient on-site parking available for all guests. No additional parking fees.", imageSrc: "http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg", imageAlt: "Apartment building with parking facilities" }, { id: "03", title: "Outdoor Swimming Pool", description: "Relax and refresh in our well-maintained outdoor swimming pool with beautiful landscaping.", imageSrc: "http://img.b2bpic.net/free-photo/deckchair-swimming-pool_1150-10748.jpg", imageAlt: "Outdoor swimming pool resort style" }, { - id: "04", title: "24-Hour Fitness Center", description: "Stay fit with our modern gym facility open 24/7, fully equipped with contemporary exercise equipment.", imageSrc: "http://img.b2bpic.net/free-photo/panoramic-spa-lounge-minimalist-relaxation-modern-resort_169016-68893.jpg?_wi=1", imageAlt: "Modern fitness center interior" + id: "04", title: "24-Hour Fitness Center", description: "Stay fit with our modern gym facility open 24/7, fully equipped with contemporary exercise equipment.", imageSrc: "http://img.b2bpic.net/free-photo/panoramic-spa-lounge-minimalist-relaxation-modern-resort_169016-68893.jpg", imageAlt: "Modern fitness center interior" }, { - id: "05", title: "Steam Room & Wellness", description: "Unwind and rejuvenate at our dedicated steam room facility for the ultimate relaxation experience.", imageSrc: "http://img.b2bpic.net/free-photo/panoramic-spa-lounge-minimalist-relaxation-modern-resort_169016-68893.jpg?_wi=2", imageAlt: "Wellness spa facilities" + id: "05", title: "Steam Room & Wellness", description: "Unwind and rejuvenate at our dedicated steam room facility for the ultimate relaxation experience.", imageSrc: "http://img.b2bpic.net/free-photo/panoramic-spa-lounge-minimalist-relaxation-modern-resort_169016-68893.jpg", imageAlt: "Wellness spa facilities" }, { - id: "06", title: "24/7 Front Desk & Concierge", description: "Our dedicated staff is available round-the-clock to assist with inquiries, arrangements, and local recommendations.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg?_wi=2", imageAlt: "Professional front desk service area" + id: "06", title: "24/7 Front Desk & Concierge", description: "Our dedicated staff is available round-the-clock to assist with inquiries, arrangements, and local recommendations.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg", imageAlt: "Professional front desk service area" }, { - id: "07", title: "Laundry & Business Services", description: "Professional laundry service and full-featured business center for your convenience.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg?_wi=3", imageAlt: "Business center facilities" + id: "07", title: "Laundry & Business Services", description: "Professional laundry service and full-featured business center for your convenience.", imageSrc: "http://img.b2bpic.net/free-photo/fashionable-feminist-african-american-woman-wear-black-tshirt-shorts-posed-restaurant_627829-5373.jpg", imageAlt: "Business center facilities" }, { - id: "08", title: "Airport Shuttle Service", description: "Convenient airport shuttle service available. Please contact us for rates and advance booking arrangements.", imageSrc: "http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg?_wi=3", imageAlt: "Hotel exterior and transportation access" + id: "08", title: "Airport Shuttle Service", description: "Convenient airport shuttle service available. Please contact us for rates and advance booking arrangements.", imageSrc: "http://img.b2bpic.net/free-photo/skyscrapers-with-many-windows_1203-576.jpg", imageAlt: "Hotel exterior and transportation access" }, { - id: "09", title: "Relaxed On-Site Café", description: "Enjoy casual dining at our on-site café, or prepare meals in your fully equipped apartment kitchen.", imageSrc: "http://img.b2bpic.net/free-photo/served-table-restaurant_93675-129581.jpg?_wi=1", imageAlt: "Modern dining and kitchen area" + id: "09", title: "Relaxed On-Site Café", description: "Enjoy casual dining at our on-site café, or prepare meals in your fully equipped apartment kitchen.", imageSrc: "http://img.b2bpic.net/free-photo/served-table-restaurant_93675-129581.jpg", imageAlt: "Modern dining and kitchen area" } ]} /> @@ -168,7 +164,7 @@ export default function LandingPage() { id: "1", name: "Standard 2-Bedroom Apartment", price: "Premium Location • 105m²", imageSrc: "http://img.b2bpic.net/free-psd/gray-fluffy-round-sheepskin-rug-soft-texture-home-decor-cozy-winter-comfort_191095-77619.jpg", imageAlt: "Standard two-bedroom apartment interior" }, { - id: "2", name: "Spacious 3-Bedroom Apartment", price: "Family Haven • 140m²+", imageSrc: "http://img.b2bpic.net/free-photo/served-table-restaurant_93675-129581.jpg?_wi=2", imageAlt: "Spacious three-bedroom apartment" + id: "2", name: "Spacious 3-Bedroom Apartment", price: "Family Haven • 140m²+", imageSrc: "http://img.b2bpic.net/free-photo/served-table-restaurant_93675-129581.jpg", imageAlt: "Spacious three-bedroom apartment" }, { id: "3", name: "Bi-Level Apartment Suite", price: "Extra Space • Multi-Level", imageSrc: "http://img.b2bpic.net/free-photo/coworkers-table-working-with-papers_23-2147668784.jpg", imageAlt: "Bi-level apartment with extra space" @@ -223,7 +219,7 @@ export default function LandingPage() { description="Contact us today to check availability, inquire about our apartments, or make a reservation. Our friendly team is ready to help you find your ideal home away from home." tagIcon={Phone} tagAnimation="slide-up" - background={{ variant: "grid" }} + background={{ variant: "animated-grid" }} useInvertedBackground={false} inputPlaceholder="Enter your email address" buttonText="Get In Touch" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c307153 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;