-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfront_page.R
39 lines (30 loc) · 2.02 KB
/
front_page.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
frontp = function()
div(class = "master",
# Create homepage title banner and image
div(class = "front-banner",
tags$img(src = "img/home-banner-crop.jpg", style="width:100%"),
div(class = "content-box",
tags$p(class = "text", "Explore the Data Behind the Global Ocean Health Index"))
),
# Home page text
tags$p(h4("The Ocean Health Index Global Data Explorer lets you interact with the data behind the most recent assessment.")),
div(class = "intro-divider"),
# Additional information
tags$p("The Ocean Health Index is a tailorable marine assessment framework to comprehensively and quantitatively evaluate ocean health. Originally developed by an interdisciplinary team of scientists, global assessments have been repeated every year since 2012."),
tags$p("Currently, we only have data exploration available for our Mariculture sub-goal, but the remaining 10 goals will be available in the near future. Other goals include Tourism & Recreation, Clean Waters, Biodiversity, Artisanal Opportunities, Carbon Storage, and Natural Products."),
# Two hyperlink boxes: more info
div(class = "box-con",
tags$a(target = "_blank",
href = "http://ohi-science.org/about/#what-is-the-ocean-health-index",
div(class = "float box box-more",
tags$p(class = "intro-text", "Overview"),
tags$p("What is the Ocean Health Index?")
)),
tags$a(target = "_blank",
href = "http://ohi-science.org/ohi-global/",
div(class = "float box box-rear",
tags$p(class = "intro-text", "Deep Dive"),
tags$p("The Ocean Health Index Global Assessment is produced from a collaborative team of scientists based in Santa Barbara. Click here for documentation of methods, data, and publications.")
))
)
)