Closed bbest closed 2 years ago
Hey @geocoug,
This splash
branch of apps repo looks super cool from your commit https://github.com/marineenergy/apps/commit/0b255d49a70b0c9fd0f46af687e534f8c51d24e9!
I was hoping that the home (ie splash) page could be statically rendered though, so not dependent on Shiny and therefore quick to load. You'll notice that bslib can be used to render Bootstrap 4/5 in Shiny apps or Rmarkdown pages, which is why I created this issue in the www repo. You might try these same carousel and layout in the www repo. Apologies if I misunderstood your commit.
Hi again @geocoug, ah I see you already tried on www per https://github.com/marineenergy/www/issues/23#issuecomment-929620071
Caleb: Why use Rmarkdown w/ all its wierdness and not just HTML?
Ben:
Created new branch splash
with commit https://github.com/marineenergy/www/commit/f66f7c209f9b5b3640f30b980dfb98101679233e:
index.Rmd
_site.yml
Next steps: Caleb working on carousel and layout with bootstrap 4.
Caleb made some nice progress here:
code: www, splash branch
server: /share/github/www_dev
From rstudio.marineenergy.app, run Build Website to render all .Rmd pages to .html:
Next Steps:
Got the goods for vector icons and raster background images from K&W all found here:
Well done with incorporating the latest imagery and style into the Carousel @cdobbelaere 🥳
vector_svg/Marine Energy Graphics 10-19-21_how-it-works.svg
:
vector_svg/Marine Energy Graphics 10-19-21_developer-regulator.svg
:
output:
html_document:
theme:
version: 4
bg: "#FFFFFF" # dark blue: "#08274D"
fg: "#08274D" # light gray: "#E6E9ED"
# https://rstudio.github.io/bslib/articles/bslib.html#real-time
# theme:
# bslib: true
css: libs/styles.css
Looking darn good!
Here are a few more tips for layout with Bootstrap version 4 (what is specfied in _site.yml
using bslib):
[ moved to top comment for checkboxed tasks to show up ]
Currently: marineenergy.app shows a landing page and menus that are embedded in the Shiny app that has a similar nav bar and look, e.g. shiny.marineenergy.app/report/?nav=Configure.
Next: marineenergy.app will show a simpler landing page with a link going to a dedicated Shiny app.
I like https://www.inaturalist.org/ as an example because it has:
See mockups and notes:
Tools:
Next Steps: