"use client";
import { useState, ChangeEvent, FormEvent, useEffect } from "react";
import Footer from "@/components/Footer";
import PropertyGallery from "@/components/PropertyGallery";
import PropertyNav from "@/components/PropertyNav";
import InnerBanner from "@/components/InnerBanner";
import { Property } from "@/data/properties";
import axios from "axios";
import { useCompare } from "@/context/CompareContext";
import dynamic from 'next/dynamic';
import Link from 'next/link';
import { motion } from "framer-motion";
const AnimateSection = ({ children, className, id, direction = "left" }: { children: React.ReactNode, className?: string, id?: string, direction?: "left" | "right" | "up" | "down" }) => {
const variants = {
hidden: {
opacity: 0,
scale: direction === "left" || direction === "right" ? 0.95 : 1,
y: direction === "up" ? 30 : direction === "down" ? -30 : 0
},
visible: { opacity: 1, scale: 1, y: 0 }
};
return (
{property.title} by {property.builder?.name || "Builder"}
Average is based on comparable projects in {property.locality?.name || "this area"}
✦ {property.overview.description || property.connectivity?.description || `${property.title} is located in ${property.location}.`}
{!isConnectivityExpanded && ( )}{property.reraInfo?.isApproved && `It was approved on ${property.reraInfo.approvalDate}`}
{property.brochureCard?.description || "Download the detailed brochure"}
{property.prosConsCard?.description || "See every risk & potential clearly with our experts"}
Last updated on {property.pricingUpdateDate || "Recently"}
{property.title}
✦ {property.connectivity?.description || `${property.title} is located in ${property.location}.`}
{!isConnectivityExpanded && ( )}{property.masterPlan?.description || "Master plan details unavailable."}
300+ families found safer homes with Sky & Soil. You could be next
Compare 2 properties side by side on 40+ parameters like connectivity, layout, price, specs and more
Get a free Peace of Mind report, solid negotiations & a loyalty reward up to ₹3.29 Lakhs when you work with us
Ideal if you've already visited and close to deciding. Our Peace of Mind report shows you what builders won't.
{property.floorPlans && property.floorPlans.length > 0 ? `${property.title} has configurations ranging from ${property.floorPlans[0].area} to ${property.floorPlans[property.floorPlans.length - 1].area}.` : "Floor plans details coming soon."}
{/* Tabs */}{property.title}
{property.title} by Modern Spaaces has received 4 out of 4 important approvals as per RERA
{/* Approvals List - Two Column Grid */}Curated documents from various sources for {property.title} by {property.builder?.name || "Builder"}
{doc.description}
See Document ))}{property.builder?.name || "Builder"}
{property.builder?.description}
See all properties by {property.builder?.name || "this builder"}{property.builder?.establishedYear || "N/A"}
{property.builder?.completedProjects || "N/A"}
{property.locality?.name || "Bangalore"}
{/* Large Image */}{property.locality?.description}
{/* Gauges */}Living Experience
Investment Potential
Price Range
See properties similar to {property.title} by {property.builder?.name || "Builder"} in the same neighbourhood
3.07 Crores - 5.67 Crores
Varthur
1.63 Crores - 2.32 Crores
Varthur
2.22 Crores - 3.51 Crores
Varthur
99% of your queries should get answered here, for others, you can always talk to us
{/* Tabs */}
e.stopPropagation()}
/>
Lifestyle