diff --git a/client/src/components/Canvas/views/Home.jsx b/client/src/components/Canvas/views/Home.jsx index 6ef3ad9..095816c 100644 --- a/client/src/components/Canvas/views/Home.jsx +++ b/client/src/components/Canvas/views/Home.jsx @@ -124,6 +124,7 @@ export default function Home({...props}) { bg="base200" px={5} pt={3} + pb={2} align="center" justify="space-between" width="100%" diff --git a/client/src/components/Canvas/views/Volcano.jsx b/client/src/components/Canvas/views/Volcano.jsx index c2a5a50..985b7e6 100644 --- a/client/src/components/Canvas/views/Volcano.jsx +++ b/client/src/components/Canvas/views/Volcano.jsx @@ -1,24 +1,70 @@ -import { Box, Text } from '@chakra-ui/react'; +import { Box, Text, Heading, DataList, HStack } from '@chakra-ui/react'; +import React from "react"; +import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet"; export default function Volcano() { + const position = [46.2, -122.18]; // Mt. St. Helens + const stats = [ + { label: "Elevation", value: "2,539 (m) 8,330 (ft)", helpText: "Volcano Elevation" }, + { label: "Volcano Type", value: "Stratovolcano", helpText: "Volcano Type" }, + { label: "Composition", value: "Basalt to Ryodacite", helpText: "Volcano Composition" }, + { label: "Recent Eruptions", value: "1980, 2004-2008", helpText: "Last Eruption" }, + { label: "Threat Potential", value: "Very High", helpText: "Threat Potential" }, + + ] + + const historyText = ` + Mount St. Helens, located in the Cascade Range of Washington State, is one of the most + active and well-known volcanoes in the United States. It famously erupted on May 18, 1980, + in one of the most significant volcanic events in U.S. history, which caused widespread + devastation and loss of life. The eruption reduced the mountain’s summit and created a large + crater. Subsequent dome-building eruptions continued through the 2000s, and the volcano + remains closely monitored today. + `; + return ( - - - - Volcano Canvas coming soon! - + + + Mount St. Helens - United States CVO + + + + + + + + CVO — Home of the volcanoligists + + + + + + + + {stats.map((item) => ( + + + {item.label} + + + {item.value} + + + ))} + + + + + Historical Summary + + { historyText} + + + ); } \ No newline at end of file