Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 19:43:22 +00:00
2 changed files with 24 additions and 50 deletions

View File

@@ -54,7 +54,7 @@ export default function LandingPage() {
{ text: "Schedule Free Consultation", href: "#contact" }
]}
buttonAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-photo/pillow-sofa_74190-3597.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/pillow-sofa_74190-3597.jpg"
imageAlt="Luxury apartment with modern design and premium amenities"
imagePosition="right"
mediaAnimation="blur-reveal"
@@ -91,27 +91,22 @@ export default function LandingPage() {
useInvertedBackground={true}
features={[
{
id: 1,
title: "Buy Property", description: "Find the best residential and commercial properties within your budget. Expert guidance through the entire purchase process.", imageSrc: "http://img.b2bpic.net/free-photo/modern-studio-apartment-design-with-bedroom-living-space_1262-12375.jpg?_wi=1"
id: "1", title: "Buy Property", description: "Find the best residential and commercial properties within your budget. Expert guidance through the entire purchase process.", imageSrc: "http://img.b2bpic.net/free-photo/modern-studio-apartment-design-with-bedroom-living-space_1262-12375.jpg"
},
{
id: 2,
title: "Sell Property", description: "Sell your property quickly with expert pricing and targeted marketing strategies. Maximum visibility to qualified buyers.", imageSrc: "http://img.b2bpic.net/free-photo/employee-office-leaving-desk-present-revenue-figures-tablet_482257-126652.jpg?_wi=1"
id: "2", title: "Sell Property", description: "Sell your property quickly with expert pricing and targeted marketing strategies. Maximum visibility to qualified buyers.", imageSrc: "http://img.b2bpic.net/free-photo/employee-office-leaving-desk-present-revenue-figures-tablet_482257-126652.jpg"
},
{
id: 3,
title: "Rent Property", description: "Discover rental homes and offices in prime locations. Flexible options for short-term and long-term rentals.", imageSrc: "http://img.b2bpic.net/free-photo/family-celebrating-kid-his-first-years-life_23-2149219446.jpg?_wi=1"
id: "3", title: "Rent Property", description: "Discover rental homes and offices in prime locations. Flexible options for short-term and long-term rentals.", imageSrc: "http://img.b2bpic.net/free-photo/family-celebrating-kid-his-first-years-life_23-2149219446.jpg"
},
{
id: 4,
title: "Property Consultation", description: "Professional guidance on investment strategies, legal paperwork, and accurate market valuation.", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3597.jpg?_wi=2"
id: "4", title: "Property Consultation", description: "Professional guidance on investment strategies, legal paperwork, and accurate market valuation.", imageSrc: "http://img.b2bpic.net/free-photo/pillow-sofa_74190-3597.jpg"
}
]}
buttons={[
{ text: "Explore Properties", href: "#properties" }
]}
buttonAnimation="slide-up"
animationType="slide-up"
/>
</div>
@@ -131,15 +126,15 @@ export default function LandingPage() {
products={[
{
id: "1", brand: "Om Sai Ram", name: "Luxury 3BHK Apartment", price: "$450,000", rating: 5,
reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/modern-studio-apartment-design-with-bedroom-living-space_1262-12375.jpg?_wi=2", imageAlt: "Luxury 3BHK apartment with modern amenities"
reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/modern-studio-apartment-design-with-bedroom-living-space_1262-12375.jpg", imageAlt: "Luxury 3BHK apartment with modern amenities"
},
{
id: "2", brand: "Om Sai Ram", name: "Modern Office Space", price: "$75,000/month", rating: 5,
reviewCount: "18", imageSrc: "http://img.b2bpic.net/free-photo/employee-office-leaving-desk-present-revenue-figures-tablet_482257-126652.jpg?_wi=2", imageAlt: "Modern office space in prime location"
reviewCount: "18", imageSrc: "http://img.b2bpic.net/free-photo/employee-office-leaving-desk-present-revenue-figures-tablet_482257-126652.jpg", imageAlt: "Modern office space in prime location"
},
{
id: "3", brand: "Om Sai Ram", name: "Affordable Family Home", price: "$250,000", rating: 5,
reviewCount: "32", imageSrc: "http://img.b2bpic.net/free-photo/family-celebrating-kid-his-first-years-life_23-2149219446.jpg?_wi=2", imageAlt: "Comfortable affordable family home"
reviewCount: "32", imageSrc: "http://img.b2bpic.net/free-photo/family-celebrating-kid-his-first-years-life_23-2149219446.jpg", imageAlt: "Comfortable affordable family home"
}
]}
gridVariant="three-columns-all-equal-width"

View File

@@ -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<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"
role="img"
aria-label={`${logoText} logo`}
viewBox="0 0 300 100"
className={`w-full h-auto ${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"
}}
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
fontSize="48"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;