diff --git a/src/app/portfolio/[slug]/building-passport/[propertyId]/BuildingPassportHomeClient.tsx b/src/app/portfolio/[slug]/building-passport/[propertyId]/BuildingPassportHomeClient.tsx deleted file mode 100644 index 6e4f6a9..0000000 --- a/src/app/portfolio/[slug]/building-passport/[propertyId]/BuildingPassportHomeClient.tsx +++ /dev/null @@ -1,93 +0,0 @@ -"use client"; - -import { useState } from "react"; -import EpcCard from "@/app/components/building-passport/EpcCard"; -import { Button } from "@/app/shadcn_components/ui/button"; -import { formatDateTime } from "@/app/utils"; -import { - CalendarIcon, - HomeIcon, - BuildingOfficeIcon, - ClockIcon, - UserGroupIcon, - HomeModernIcon, -} from "@heroicons/react/24/solid"; -import BookSurveyModal from "../../components/BookSurveyModal"; -import BookingSuccessToast from "../../components/BookingSuccessToast"; - -interface BuildingPassportHomeClientProps { - propertyMeta: any; - portfolioId: string; // ✅ from URL (slug) -} - -export default function BuildingPassportHomeClient({ - propertyMeta, - portfolioId, -}: BuildingPassportHomeClientProps) { - - return ( -
- {/* EPC Card + Property Info */} -
- {/* EPC Rating Card */} - - - {/* Property Info Card */} -
-
Your Property
- -
- -
Building Passport Created At:
-
{formatDateTime(propertyMeta.createdAt)}
-
- -
- -
Property Type:
-
{propertyMeta.propertyType}
-
- -
- -
Built Form:
-
{propertyMeta.builtForm}
-
- -
- -
Year Built:
-
{propertyMeta.yearBuilt}
-
- -
- -
Tenure:
-
{propertyMeta.tenure}
-
- -
- -
Number of Habitable Rooms:
-
{propertyMeta.numberOfRooms}
-
-
-
- - {/* ✅ "Book a Survey" Button */} -
- -
-
- ); -}