COHHIO / ryha

R Shiny app for analyzing COHHIO Youth Homelessness Data
GNU Affero General Public License v3.0
8 stars 1 forks source link

Issue 68 improve welcome and upload data pages #69

Closed IvanM26 closed 11 months ago

IvanM26 commented 11 months ago

I have improved how Welcome and Upload Data pages look.

Regarding Welcome page, I replaced the .Rmd file with a Shiny Module, as it seemed easier to wrap content into boxes. I used HTML to add style to the content. The boxes were created using bs4Dash::box() function. I added some CSS to provide custom style (such as increase font size). I also used CSS to vertical center the logos.

As part of this PR I also fixed the link in Welcome Page to Help Page. To do so, I used JavaScript to communicate between the Browser and R (by creating an on click event to the word "Help" which changes the value of an ad-hoc input value, which in turn triggers the observeEvent that changes the page).

I changed the layout of Upload Data page as well. I used a function from shinyWidgets to create the Upload button. Instructions text was slightly modified.