diff --git a/h2/app.r b/h2/app.r index cf12def..57fa2df 100644 --- a/h2/app.r +++ b/h2/app.r @@ -2,6 +2,15 @@ source("./global.r") ui <- fluidPage( includeCSS("./components/layout/style copy.css"), + tags$div(class = "container", + tags$img(src = "images/earth-header.png", height = "300px", width = "100%", class = "earth", alt = "Earth's atmosphere"), + tags$div( + a( + img(src = "images/GCIMS_logo_alt.svg", class = "logo"), href = "https://gcims.pnnl.gov/", target = "_blank"), + h1("HectorUI", class = "header-text-title"), + h2("An Interactive Climate Model", class = "header-text-sub", style = "font-weight:normal; "), + ), + ), navbarPage( id = "nav", title = "", @@ -9,7 +18,7 @@ ui <- fluidPage( tabPanel(title = "Home", includeHTML("./components/layout/homepage.html")), tabPanel(title = "Guides"), - tabPanel(title = "Explore Hector", + tabPanel(title = "Run Hector", fluidRow( run_ui("run_1"), #download_ui("download_1"), diff --git a/h2/components/layout/style copy.css b/h2/components/layout/style copy.css index fd14914..d475f3d 100644 --- a/h2/components/layout/style copy.css +++ b/h2/components/layout/style copy.css @@ -1,8 +1,90 @@ -.test { - font-family:"Barlow Regular", Sans-Serif !important; -} - h5 { font-weight: bold; } + +body +{ + font-family:"Barlow Regular", Sans-Serif !important; + font-size: 20px; +} + +.about-info +{ + font-size: 12px; +} + +.c-emissions +{ + font-size: 14px; +} + +.container { + position: relative; + width:100%; +} + +.header-text-title +{ + position: absolute; + color: #FFFFFF; + top: 40%; + left: 50%; + text-align: center;!important + max-width: 120px; + margin-right: -50%; + transform: translate(-50%, -50%) +} + +.header-text-sub +{ + position: absolute; + color: #FFFFFF; + text-align: center; + font-size: 100%; + top: 60%; + left: 50%; + margin-right: -50%; + transform: translate(-50%, -50%) +} + +.home-text +{ + font-size: 16px; +} + +.hrNav +{ + font-size: 50px; +} + +.logo +{ + + position: absolute; + top: 2rem; + left: 2rem; + margin:20px; + padding:0px 8px; + width:5em; +} + +.maps +{ + font-size: 16px; +} + +.nav-tabs +{ + font-size: 14px; +} + +.output-vars +{ + font-size: 16px; +} + +.params +{ + font-size: 14px; +} diff --git a/h2/www/images/GCIMS_logo_alt.svg b/h2/www/images/GCIMS_logo_alt.svg new file mode 100644 index 0000000..30aa3ec --- /dev/null +++ b/h2/www/images/GCIMS_logo_alt.svg @@ -0,0 +1,12 @@ + + + logo + + + + \ No newline at end of file diff --git a/h2/www/images/GitHub-logo.png b/h2/www/images/GitHub-logo.png new file mode 100644 index 0000000..41887d7 Binary files /dev/null and b/h2/www/images/GitHub-logo.png differ diff --git a/h2/www/images/Hector-sm.png b/h2/www/images/Hector-sm.png new file mode 100644 index 0000000..1bb2f06 Binary files /dev/null and b/h2/www/images/Hector-sm.png differ diff --git a/h2/www/images/earth-header.png b/h2/www/images/earth-header.png new file mode 100644 index 0000000..3c986cd Binary files /dev/null and b/h2/www/images/earth-header.png differ diff --git a/h2/www/images/hectorcal-doi.svg b/h2/www/images/hectorcal-doi.svg new file mode 100644 index 0000000..3ab99b7 --- /dev/null +++ b/h2/www/images/hectorcal-doi.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + DOI + + + DOI + + + 10.5281/zenodo.3515153 + + + 10.5281/zenodo.3515153 + + + \ No newline at end of file diff --git a/h2/www/images/line.png b/h2/www/images/line.png new file mode 100644 index 0000000..a3e282e Binary files /dev/null and b/h2/www/images/line.png differ