aboutsummaryrefslogtreecommitdiff
path: root/inst/app/templates/navbar.html
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2024-05-09 20:22:45 +0000
committerNaeem Model <me@nmode.ca>2024-05-09 20:22:45 +0000
commitdce01ac19a0298388089ce4297a44ef2aa2c4c46 (patch)
tree1dbc74e9f7e9139f14a517b33a0e3c82c6e04dd0 /inst/app/templates/navbar.html
parente06a56581d43cb3c59d51b9b39e6d0fb36efe31c (diff)
Revamp Shiny app
Diffstat (limited to 'inst/app/templates/navbar.html')
-rw-r--r--inst/app/templates/navbar.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/inst/app/templates/navbar.html b/inst/app/templates/navbar.html
new file mode 100644
index 0000000..1f86953
--- /dev/null
+++ b/inst/app/templates/navbar.html
@@ -0,0 +1,27 @@
+<nav class="navbar navbar-expand-sm">
+ <div class="container-fluid">
+ <!-- Project name and description. -->
+ <a class="navbar-brand text-primary" href="/">Rnaught Web</a>
+ <span class="navbar-text d-none d-md-block">
+ An estimation suite for <em>R<sub>0</sub></em>
+ </span>
+ <!-- Navigation toggler for smaller screens. -->
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#nav-toggle">
+ <span class="glyphicon glyphicon-menu-hamburger text-primary"></span>
+ </button>
+ <!-- Navigation links. -->
+ <div class="collapse navbar-collapse justify-content-end" id="nav-toggle">
+ <div class="navbar-nav">
+ <a class="nav-link text-primary" href="https://MI2YorkU.github.io/Rnaught" target="_blank">
+ <span class="glyphicon glyphicon-book"></span> Documentation
+ </a>
+ <a class="nav-link text-primary" href="https://github.com/MI2Yorku/Rnaught" target="_blank">
+ <span class="glyphicon glyphicon-console"></span> Source
+ </a>
+ <a class="nav-link text-primary" href="https://doi.org/10.1371/journal.pone.0269306" target="_blank">
+ <span class="glyphicon glyphicon-education"></span> Article
+ </a>
+ </div>
+ </div>
+ </div>
+</nav>