Add Volcano tabs along with functioning boilerplate component views
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
// Main views called from Home tab -> Canvas navigation header
|
||||
export const DASHBOARD_VIEWS = ["mydashboard", "gas", "seismic", "remote", "daily"]
|
||||
|
||||
// Volcano views called from Volcano tab -> Canvas navigation header
|
||||
// export const VOLCANO_VIEWS = ["volcanohome", "partner", "reports", "official", "social"]
|
||||
export const VOLCANO_VIEWS = [
|
||||
{ value: "volcanohome", label: "Volcano Home" },
|
||||
{ value: "partner", label: "Partner Data" },
|
||||
{ value: "reports", label: "Reports" },
|
||||
{ value: "official", label: "Official Institutions" },
|
||||
{ value: "social", label: "Social Media" },
|
||||
]
|
||||
|
||||
// Admin views called from Admin tab -> Canvas navigation header
|
||||
export const ADMIN_VIEWS = ["admin", "medataentry", "projectcollector", "nasapplication", "ivans"]
|
||||
export const ADMIN_VIEWS = ["medataentry", "projectcollector", "nasapplication", "ivans"]
|
||||
|
||||
// Sub views called from inside Home.jsx
|
||||
export const VIEW_LABELS = {
|
||||
@@ -14,6 +24,13 @@ export const VIEW_LABELS = {
|
||||
global: "Global Map",
|
||||
regional: "Regional Map",
|
||||
volcano: "Volcano",
|
||||
|
||||
// Volcano navigation tabs
|
||||
volcanohome: "Volcano Home",
|
||||
partner: "Partner Data",
|
||||
reports: "Reports",
|
||||
official: "Official Institutions",
|
||||
social: "Social Media",
|
||||
|
||||
// Admin navigation tabs
|
||||
admin: "Admin",
|
||||
|
||||
Reference in New Issue
Block a user