Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="largeSmall"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -44,13 +44,13 @@ export default function LandingPage() {
|
||||
title="Comfortable Stay in Vellore at Affordable Prices"
|
||||
description="Clean rooms, friendly service, and convenient location for travelers, families, and medical visitors. Experience comfort and hospitality at Jai Bharath Residency."
|
||||
tag="4.1★ 363+ Reviews"
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "animated-grid" }}
|
||||
mediaItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/low-angle-apartment-building-with-windows-city_23-2148798615.jpg?_wi=1", imageAlt: "Jai Bharath Residency exterior" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/low-angle-apartment-building-with-windows-city_23-2148798615.jpg", imageAlt: "Jai Bharath Residency exterior" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/businessman-provides-information-front-desk-check-procedure-travelling-work-purposes-attend-official-conference-receptionist-greeting-professional-client-lobby_482257-65299.jpg", imageAlt: "Hotel reception and lobby" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/view-plumber-tool-box-ready-fixing-problems-bathroom_23-2150990695.jpg?_wi=1", imageAlt: "Standard room" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed-decoration-bedroom_1339-7403.jpg?_wi=1", imageAlt: "Deluxe room" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/couple-with-kid-bed_1153-3070.jpg?_wi=1", imageAlt: "Family room" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/view-plumber-tool-box-ready-fixing-problems-bathroom_23-2150990695.jpg", imageAlt: "Standard room" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed-decoration-bedroom_1339-7403.jpg", imageAlt: "Deluxe room" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/couple-with-kid-bed_1153-3070.jpg", imageAlt: "Family room" }
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "📞 Call Now to Book", href: "#contact" },
|
||||
@@ -83,9 +83,9 @@ export default function LandingPage() {
|
||||
description="Choose from our selection of comfortable, clean, and affordable rooms tailored to your needs."
|
||||
tag="Room Selection"
|
||||
products={[
|
||||
{ id: "1", name: "Standard Room", price: "₹1,500 - ₹2,000/night", imageSrc: "http://img.b2bpic.net/free-photo/view-plumber-tool-box-ready-fixing-problems-bathroom_23-2150990695.jpg?_wi=2", imageAlt: "Standard Room" },
|
||||
{ id: "2", name: "Deluxe Room", price: "₹2,500 - ₹3,500/night", imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed-decoration-bedroom_1339-7403.jpg?_wi=2", imageAlt: "Deluxe Room" },
|
||||
{ id: "3", name: "Family Room", price: "₹4,000 - ₹5,500/night", imageSrc: "http://img.b2bpic.net/free-photo/couple-with-kid-bed_1153-3070.jpg?_wi=2", imageAlt: "Family Room" }
|
||||
{ id: "1", name: "Standard Room", price: "₹1,500 - ₹2,000/night", imageSrc: "http://img.b2bpic.net/free-photo/view-plumber-tool-box-ready-fixing-problems-bathroom_23-2150990695.jpg", imageAlt: "Standard Room" },
|
||||
{ id: "2", name: "Deluxe Room", price: "₹2,500 - ₹3,500/night", imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed-decoration-bedroom_1339-7403.jpg", imageAlt: "Deluxe Room" },
|
||||
{ id: "3", name: "Family Room", price: "₹4,000 - ₹5,500/night", imageSrc: "http://img.b2bpic.net/free-photo/couple-with-kid-bed_1153-3070.jpg", imageAlt: "Family Room" }
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
animationType="slide-up"
|
||||
@@ -122,12 +122,12 @@ export default function LandingPage() {
|
||||
description="Real feedback from travelers, families, and medical visitors who stayed with us."
|
||||
tag="Guest Reviews"
|
||||
testimonials={[
|
||||
{ id: "1", name: "Rajesh Kumar", role: "Medical Visitor", company: "From Chennai", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=1" },
|
||||
{ id: "2", name: "Priya Sharma", role: "Business Traveler", company: "Software Professional", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=2" },
|
||||
{ id: "3", name: "Amit Verma", role: "Family Head", company: "Tourist Group", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=3" },
|
||||
{ id: "4", name: "Sunita Iyer", role: "CMC Visitor", company: "Healthcare Sector", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=4" },
|
||||
{ id: "5", name: "Vikram Singh", role: "Regular Guest", company: "Frequent Traveler", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=5" },
|
||||
{ id: "6", name: "Deepa Nair", role: "Temple Tourist", company: "Pilgrimage Group", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg?_wi=6" }
|
||||
{ id: "1", name: "Rajesh Kumar", role: "Medical Visitor", company: "From Chennai", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" },
|
||||
{ id: "2", name: "Priya Sharma", role: "Business Traveler", company: "Software Professional", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" },
|
||||
{ id: "3", name: "Amit Verma", role: "Family Head", company: "Tourist Group", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" },
|
||||
{ id: "4", name: "Sunita Iyer", role: "CMC Visitor", company: "Healthcare Sector", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" },
|
||||
{ id: "5", name: "Vikram Singh", role: "Regular Guest", company: "Frequent Traveler", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" },
|
||||
{ id: "6", name: "Deepa Nair", role: "Temple Tourist", company: "Pilgrimage Group", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409991.jpg" }
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
animationType="slide-up"
|
||||
@@ -167,7 +167,7 @@ export default function LandingPage() {
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="http://img.b2bpic.net/free-photo/low-angle-apartment-building-with-windows-city_23-2148798615.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/low-angle-apartment-building-with-windows-city_23-2148798615.jpg"
|
||||
imageAlt="Jai Bharath Residency"
|
||||
columns={[
|
||||
{
|
||||
|
||||
@@ -1,51 +1,29 @@
|
||||
"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<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
viewBox="0 0 200 50"
|
||||
className={className}
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
aria-label={text}
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
className="fill-current text-2xl font-bold"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user