From f04f7d03b2bc0b848df79f927a8047f3ebf47fa2 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 30 May 2023 15:24:46 +0100 Subject: [PATCH] added empty files for part card and modal --- src/app/components/property/PartModal.tsx | 0 src/app/components/property/partCard.tsx | 17 ++++++++++++++++ .../[slug]/property/[lmkKey]/page.tsx | 20 +++++++++++++++++-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 src/app/components/property/PartModal.tsx create mode 100644 src/app/components/property/partCard.tsx diff --git a/src/app/components/property/PartModal.tsx b/src/app/components/property/PartModal.tsx new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/property/partCard.tsx b/src/app/components/property/partCard.tsx new file mode 100644 index 0000000..1ed4da7 --- /dev/null +++ b/src/app/components/property/partCard.tsx @@ -0,0 +1,17 @@ +export default function PartCard({ title, handleDetailClick }) { + return ( +
+
+

{title}

+ +
+

Short description of the card

+
+ ); +} diff --git a/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx b/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx index 6c12b91..ce4c384 100644 --- a/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx +++ b/src/app/portfolio/[slug]/property/[lmkKey]/page.tsx @@ -109,8 +109,24 @@ export default function PropertyPage({ className="flex-1 border p-4 rounded-lg bg-brandblue text-white hover:bg-hoverblue transition-colors duration-200 cursor-pointer" onClick={handleEditClick} > -

Target EPC rating

-

Rating: {targetEpcRating}

+

Target EPC rating

+
+

Rating: {targetEpcRating}

+ + + +