forked from OHI-Science/global-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
front_page.R
47 lines (35 loc) · 2.11 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
40
41
42
43
44
45
46
47
frontp = function()
div(class = "master",
# Create homepage title banner and image
div(class = "front-banner",
tags$img(src = "img/home-banner-crop.jpg", title = "Photo by Dan Gold on Unsplash", style="width:100%"),
div(class = "content-box",
tags$p(class = "text", "Farming our Waters"))
),
# Home page text
tags$p(h4("The US Aquaculture Data Explorer lets you directly interact with information from a variety of publicly available sources.")),
div(class = "intro-divider"),
# Additional information
tags$p("This project strives to provide the most relevant and accurate information. Sources of aquaculture data include the US Department of Agriculture Quick Stats and the Food and Drug Administration Import Refusal database. Currently you can explore a summary of US aquaculture production and import refusals recorded by the FDA. Data will continuously be added to this site over time!"
),
tags$p("Contact",
tags$a(href="https://iwensu0313.github.io", "Iwen Su"),
"with any questions or feedback. For California-specific data, check out the",
tags$a(href="https://iwensu.shinyapps.io/ca-aquaculture/", "California Aquaculture Dashboard.")
),
# Two hyperlink boxes: more info
div(class = "box-con",
tags$a(target = "_blank",
href = "https://aquaculturematters.ca.gov/",
div(class = "float box box-more",
tags$p(class = "intro-text", "Stay Up to Date"),
tags$p("Why aquaculture matters.")
)),
tags$a(target = "_blank",
href = "https://conversationaboutaquaculture.weebly.com/",
div(class = "float box box-rear",
tags$p(class = "intro-text", "Getting Started"),
tags$p("Presentations from leading researchers and industry experts on current trends in aquaculture.")
))
)
)