diff --git a/src/app/components/building-passport/RecommendationContainer.tsx b/src/app/components/building-passport/RecommendationContainer.tsx index 5460541..d4ee30f 100644 --- a/src/app/components/building-passport/RecommendationContainer.tsx +++ b/src/app/components/building-passport/RecommendationContainer.tsx @@ -12,6 +12,7 @@ import { sapToEpc } from "@/app/utils"; import { useState } from "react"; import { sumRecommendationMetricMap } from "@/app/portfolio/[slug]/building-passport/[propertyId]/recommendations/utils"; import { RecommendationMetricMap } from "@/types/recommendations"; +import RecommendationEpcSummaryCard from "./RecommendationEpcSummaryCard"; interface RecommendationContainerProps { recommendations: Recommendation; @@ -70,19 +71,10 @@ export default function RecommendationContainer({ totalSapPoints={totalSapPoints} /> - - - - - - - - - - - - -
Current EPC Rating:{currentEpcRating}
Expected EPC Rating:{expectedEpcRating}
+ diff --git a/src/app/components/building-passport/RecommendationEpcSummaryCard.tsx b/src/app/components/building-passport/RecommendationEpcSummaryCard.tsx new file mode 100644 index 0000000..3364e6b --- /dev/null +++ b/src/app/components/building-passport/RecommendationEpcSummaryCard.tsx @@ -0,0 +1,25 @@ +interface RecommendationEpcSummaryCardProps { + currentEpcRating: string; + expectedEpcRating: string; +} + +export default function RecommendationEpcSummaryCard({ + currentEpcRating, + expectedEpcRating, +}: RecommendationEpcSummaryCardProps) { + return ( + + + + + + + + + + + + +
Current EPC Rating:{currentEpcRating}
Expected EPC Rating:{expectedEpcRating}
+ ); +}