From b15ead48a806fceeb85bc25cc669a7af924f73bd Mon Sep 17 00:00:00 2001 From: jkoren Date: Mon, 6 Nov 2023 16:13:10 -0500 Subject: [PATCH] adjusted mock up to reflect 11/5/23 UA revision --- heat-stack/app/App.css | 91 ++++------ heat-stack/app/components/CaseSummary.tsx | 193 ++++++++++++++-------- 2 files changed, 150 insertions(+), 134 deletions(-) diff --git a/heat-stack/app/App.css b/heat-stack/app/App.css index c7db77c2..9d1484cb 100644 --- a/heat-stack/app/App.css +++ b/heat-stack/app/App.css @@ -1,35 +1,7 @@ body { - margin: 0; - padding: 0; - background-color: #1d2634; - color: #9e9ea4; font-family: 'Montserrat', sans-serif; } -.icon { - vertical-align: middle; - line-height: 1px; - font-size: 20px; -} - -.icon_header { - vertical-align: middle; - line-height: 1px; - font-size: 26px; -} - -.icon, -.icon_header { - margin-right: 5px; -} - -.close_icon { - color: red; - margin-left: 30px; - margin-top: 10px; - cursor: pointer; -} - .grid-container { display: grid; grid-template-columns: 260px 1fr 1fr 1fr; @@ -40,23 +12,6 @@ body { height: 100vh; } -/* Header */ -.header { - grid-area: header; - height: 60px; - display: flex; - align-items: center; - justify-content: space-between; - padding: 0 30px 0 30px; - box-shadow: 0 6px 7px -3px rgba(0, 0, 0, 0.35); -} - -.menu-icon { - display: none; -} - -/* End Header */ - /* Main */ .main-container { grid-area: main; @@ -65,19 +20,20 @@ body { color: #9e9ea4; } -.main-title { - display: flex; - justify-content: space-between; -} - -.header-cards { +.two-cards { display: grid; grid-template-columns: 1fr 1fr; - gap: 20px; - margin: 15px 0; + gap: 10px; + margin: 5px 0; +} +.three-cards { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + gap: 10px; + margin: 5px 0; } -.main-cards { +.four-cards { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 20px; @@ -99,20 +55,33 @@ body { font-size: large; } -.navigation { - font-size: smaller; +.page-title { + font-size: x-large; + text-align: center; +} +.section-title { + font-size: xx-large +} + +.item-title { + font: bold; + font-size: x-large +} +.item-title-small { + font: bold; + font-size: medium +} + +.item { + font-size: medium } .card-inner { display: flex; - align-items: center; + /* align-items: center; */ justify-content: space-between; } -.card-inner>.card_icon { - font-size: 25px; -} - .charts { display: grid; grid-template-columns: 1fr 1fr; diff --git a/heat-stack/app/components/CaseSummary.tsx b/heat-stack/app/components/CaseSummary.tsx index 94d4ef64..04a7416e 100644 --- a/heat-stack/app/components/CaseSummary.tsx +++ b/heat-stack/app/components/CaseSummary.tsx @@ -1,6 +1,28 @@ import { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip } from 'recharts' export function CaseSummary() { + const name = 'Pietro Schirano' + const street = '567 Pine Avenue Apt 21' + const city = 'Rivertown' + const state = 'MA' + const zip = '02856' + const country = 'United States of America' + const livingArea = '3000' + const designTemperature = '63' + const designTemperatureOverride = '65' + const fuelType = 'Natural Gas' + const heatingSystemEfficiency = '75' + const setPoint = '70' + const setbackTemperature = '65' + const setbackTime = '7' + const fileName = '20200930_Eversource.csv' + const averageIndoorTemperature = '63.5' + const dailyOtherUsage = '1.07' + const balancePoint = '60.5' + const numPeriodsIncluded = '30 / 36' + const standardDevationUA = '5.52' + const wholeHomeUA = '1,112' + const data = [ { name: '58 F', @@ -37,98 +59,123 @@ export function CaseSummary() { return (
-
Back to website
+
Case Summary
-
+
Home Information
+
-
Winnie Carroll’s Case Summary
+
+ Resident / Client +
+
{name}

+ Address +
{street}
+
+ {city}, {state}, {zip} +
+
{country}

+ Living Area (sf) +
{livingArea}
+
-
179 Broadway, Somerville, MA 02145
-
-
-
- Summary of heat load analysis outputs -
-
-
- -
-
-
- Avg heat load at design temp -
-
- 58,582 BTU/h +
+
+ Design Temperature (°F)
+
{designTemperature}

+
Override: {designTemperatureOverride}
+
-
-
- Average indoor temp -
-
- 60.0 F +
+ +
Current Heating System
+
+
+
+ Fuel Type +
+
{fuelType}

+ Heating System Efficiency (%) +
+
{heatingSystemEfficiency}

+
-
-
-
- Standard deviation of UA -
-
- 5.08% +
+
+ Set Point (°F)
+
{setPoint}

+ Setback Temperature (°F) +
+
{setbackTemperature}

+ Setback Time (h) +
{setbackTime}
+
-
-
- Balance point - - - - - - - -
+
+ +
Energy Use History
+
+ Data Source +
+
{fileName}

+
Analysis
+
+
+
+ Average Indoor Temperature (°F)
+
{averageIndoorTemperature}

+ Daily Other Usage
+
{dailyOtherUsage}

+
+
-
-
- Max heat load at design temp -
-
- 69,793 BTU/h +
+
+ Balance Point (°F)
+
{balancePoint}

+ No. of Periods Included
+
{numPeriodsIncluded}

+
-
-
-
- Design temp -
-
- 8.4 F +
+
+ Standard Deviation of UA (%)
+
{standardDevationUA}

+ Whole-home UA (BTU/h-F)
+
{wholeHomeUA}

+
-
-
- Whole home UA -
-
- 1057 BTU/h-F -
+
+ +
Graphs
+
+ Balance point + + + + + + +