diff --git a/client/src/components/Home.js b/client/src/components/Home.js index d70e4f2..caaf278 100644 --- a/client/src/components/Home.js +++ b/client/src/components/Home.js @@ -1,31 +1,37 @@ -import { Button, Grid, Typography } from "@mui/material"; +import { + Box, + Button, + Grid, + Typography, + Paper, + styled, + useTheme, + useMediaQuery, +} from "@mui/material"; import { useNavigate } from "react-router-dom"; -import image from "./images/berkeleylab.png"; +import residentialIcon from "./images/residential.png"; +import commercialIcon from "./images/commercial.png"; +import benchmarkIcon from "./images/benchmarking.png"; + +// Visualization +const Item = styled(Paper)(({ theme }) => ({ + backgroundColor: theme.palette.mode === "dark" ? "#1A2027" : "#fff", + ...theme.typography.body2, + padding: theme.spacing(1), + textAlign: "center", + color: theme.palette.text.secondary, +})); export default function Home() { - let navigate = useNavigate(); // navigate to diff pages + let navigate = useNavigate(); // Navigate to different pages + const theme = useTheme(); + const isMobile = useMediaQuery(theme.breakpoints.down("sm")); // Check if the device is mobile return ( -
- + + {" "} + {/* Adjust padding for mobile */} + - Demand Flexibility Assessment Tool + Welcome to the Demand Flexibility Assessment Tool (DFAT) @@ -45,108 +50,152 @@ export default function Home() { variant="h6" color="white.main" sx={{ - fontWeight: "bold", m: 1, marginTop: 1, textAlign: "center", - textShadow: "1px 1px #000", }} > - Welcome to the Demand Flexibility Assessment Tool, made by the Grid - Integration Group at Lawrence Berkeley National Lab. The estimation - tool provides demand response shed magnitudes for a range of OATs - for one of the major DR strategies: HVAC Temp Reset (Precool with - Zone Temp Setback). + DFAT is an open-source web-based tool that estimates the demand + flexibility potential of common control strategies in residential + and commercial buildings. DFAT is designed to help building owners & + operators understand the potential of demand flexibility in their + buildings and to help utilities and grid operators understand the + potential of demand flexibility in their service territories. - + + {/* Button Components */} + {/* Residential Button */} + + {/* Commercial Button */} + + {/* Benchmarking Button */} - - {/* + + Paper Citations: + + - Welcome to the Demand Flexibility Assessment Tool, made by the - Grid Integration Group at Lawrence Berkeley National Lab. The - estimation tool provides demand response shed magnitudes for a - range of OATs for one of the major DR strategies: HVAC Temp Reset - (Precool with Zone Temp Setback). + Yin, R., J. Liu, M.A. Piette, J. Xie, M. Pritoni, A. Casillas, L. + Yu, P. Schwartz, Comparing simulated demand flexibility against + actual performance in commercial office buildings, Building and + Environment, 2023.{" "} + + https://doi.org/10.1016/j.buildenv.2023.110663 + + + + DFAT: A Web-Based Demand Flexibility Assessment Toolkit for + Building-to-Grid Integration.{" "} + + To be submitted to Journal of SoftwareX + - - - - - - - - - - - - - - */} -
+ + ); } - -/*return ;*/ -/**/ diff --git a/client/src/components/images/benchmarking.png b/client/src/components/images/benchmarking.png new file mode 100644 index 0000000..835cbfc Binary files /dev/null and b/client/src/components/images/benchmarking.png differ diff --git a/client/src/components/images/commercial.png b/client/src/components/images/commercial.png new file mode 100644 index 0000000..7d118ff Binary files /dev/null and b/client/src/components/images/commercial.png differ diff --git a/client/src/components/images/residential.png b/client/src/components/images/residential.png new file mode 100644 index 0000000..919acc8 Binary files /dev/null and b/client/src/components/images/residential.png differ