summaryrefslogtreecommitdiff
path: root/cmd/dashboard/main.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-24 20:37:54 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-24 20:37:54 -1000
commitb03fa42c2d81cf34aa518a420c894c4ae86fac50 (patch)
treed45132886848f8f1af47705d7b3a492606c003cc /cmd/dashboard/main.go
parent22efca3118676926dec4af74fe8e225606063a35 (diff)
Add Conditions page with live volcano and weather feeds
- Standalone full-screen page at /conditions - Tiled grid layout with autoplaying video feeds - USGS Kilauea webcams (V1cam, V2cam) via YouTube embeds - Windy weather maps (local Hawaii + national US) - Opens in new tab from dashboard nav Closes #29 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'cmd/dashboard/main.go')
-rw-r--r--cmd/dashboard/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index ce447ff..620b889 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -130,6 +130,7 @@ func main() {
// Dashboard
r.Get("/", h.HandleDashboard)
+ r.Get("/conditions", h.HandleConditionsPage)
r.Post("/api/refresh", h.HandleRefresh)
r.Get("/api/tasks", h.HandleGetTasks)
r.Get("/api/meals", h.HandleGetMeals)
@@ -142,6 +143,7 @@ func main() {
r.Get("/tabs/meals", h.HandleTabMeals)
r.Get("/tabs/timeline", h.HandleTimeline)
r.Get("/tabs/shopping", h.HandleTabShopping)
+ r.Get("/tabs/conditions", h.HandleTabConditions)
r.Post("/tabs/refresh", h.HandleRefreshTab)
// Trello card operations