From d99257162f7efd06f9e8561709a058e4af0ed853 Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Sun, 12 Apr 2026 00:41:01 -0400 Subject: [PATCH] add layout for data tracking page --- app/ui.R | 93 +++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 68 insertions(+), 25 deletions(-) diff --git a/app/ui.R b/app/ui.R index 2261c7b..2419216 100644 --- a/app/ui.R +++ b/app/ui.R @@ -44,32 +44,40 @@ ui <- page_navbar( ' ) ), - card( - HTML( + layout_columns( + col_widths = 12, + card( + HTML( + ' +

How to Use This App

+ +
1. Find a Storm — Storm Selector
+

Browse and filter the full storm database. Use the search bar to find a storm by name, or narrow results by year range, available data types, and normalized cost or fatality thresholds. Click a row to preview storm statistics, then press Load Storm to explore it in detail.

+ +
2. Explore Storm Data — Storm Explorer
+

Once a storm is loaded, four analysis tabs become available:

+ + +
Data Availability
+

All storms include HURDAT2 track data. Cost normalization and fatality data are available for a subset of storms, indicated by the Cost and Fatality badges in the Storm Selector.

' -

How to Use This App

- -
1. Find a Storm — Storm Selector
-

Browse and filter the full storm database. Use the search bar to find a storm by name, or narrow results by year range, available data types, and normalized cost or fatality thresholds. Click a row to preview storm statistics, then press Load Storm to explore it in detail.

- -
2. Explore Storm Data — Storm Explorer
-

Once a storm is loaded, four analysis tabs become available:

- - -
Data Availability
-

All storms include HURDAT2 track data. Cost normalization and fatality data are available for a subset of storms, indicated by the Cost and Fatality badges in the Storm Selector.

- ' + ) + ), + card( + "Contact Us", + card_body( + "CONTACT US INFO" + ) ) - ) - # TODO: contact us information + ), ) ), nav_panel( @@ -387,7 +395,42 @@ ui <- page_navbar( ), nav_menu( "Data", - nav_panel("What We Track"), + nav_panel( + "What We Track", + layout_columns( + col_widths = 12, + layout_column_wrap( + width = 1 / 4, + card(), + card(), + card(), + card() + ), + layout_columns( + col_widths = 6, + layout_columns( + col_widths = 12, + card(card_header("HURDAT2 Integration")), + card(card_header("Economic Data")), + card(card_header("Population and Housing Growth")), + card(card_header("Social Vulnerability")) + ), + navset_card_tab( + height = 600, + title = "Geographic Data Coverage", + nav_panel( + "Cost" + ), + nav_panel( + "Fatality" + ), + nav_panel( + "SVI" + ) + ) + ) + ) + ), nav_panel("Export") ), nav_menu(