egenn commited on
Commit
87cc739
1 Parent(s): ea4985f
Files changed (2) hide show
  1. .gitignore +1 -0
  2. app.R +13 -10
.gitignore CHANGED
@@ -5,4 +5,5 @@ dev/
5
  .DS_Store
6
 
7
  # VS Code
 
8
  *.code-workspace
 
5
  .DS_Store
6
 
7
  # VS Code
8
+ .vscode/
9
  *.code-workspace
app.R CHANGED
@@ -67,6 +67,8 @@ xtlive <- function(
67
  as.character(a("shinylive", href = "https://posit-dev.github.io/r-shinylive/", target = "_blank")),
68
  "<br>and is best viewed with the latest version of Chrome."
69
  )
 
 
70
  }
71
 
72
  # UI page_navbar ----
@@ -133,16 +135,17 @@ xtlive <- function(
133
  title = "Welcome"
134
  ),
135
  shinylive_info
136
- ))
137
- ),
138
- bslib::card_image(
139
- file = "./www/rtemisxt_splash.png",
140
- alt = "rtemislive",
141
- align = "center",
142
- border_radius = "all",
143
- fill = FALSE,
144
- width = "40%",
145
- class = "mx-auto"
 
146
  )
147
  )
148
  ), # /nav_panel Welcome
 
67
  as.character(a("shinylive", href = "https://posit-dev.github.io/r-shinylive/", target = "_blank")),
68
  "<br>and is best viewed with the latest version of Chrome."
69
  )
70
+ } else {
71
+ NULL
72
  }
73
 
74
  # UI page_navbar ----
 
135
  title = "Welcome"
136
  ),
137
  shinylive_info
138
+ )),
139
+ br(), br(),
140
+ bslib::card_image(
141
+ file = "./www/rtemisxt_splash.png",
142
+ alt = "rtemislive",
143
+ align = "center",
144
+ border_radius = "all",
145
+ fill = FALSE,
146
+ width = "40%",
147
+ class = "mx-auto"
148
+ )
149
  )
150
  )
151
  ), # /nav_panel Welcome