Add Volcano tabs along with functioning boilerplate component views

This commit is contained in:
Daniel S. Hansen
2025-09-03 17:22:24 -07:00
parent ff783f59a2
commit 3a4565e120
12 changed files with 261 additions and 71 deletions
+18 -1
View File
@@ -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",