feat: component
This commit is contained in:
@@ -256,6 +256,30 @@ export const EXAMPLES: Example[] = [
|
||||
spacer
|
||||
button "Execute" "/page/action.mu"`,
|
||||
},
|
||||
{
|
||||
name: "Components",
|
||||
description: "Reusable component definitions with use std/dashboard",
|
||||
source: `page "Node Overview" 60
|
||||
|
||||
use std/dashboard
|
||||
|
||||
banner "Relay Alpha-7" "Reticulum Mesh Node"
|
||||
|
||||
spacer
|
||||
|
||||
resources 62 84
|
||||
|
||||
spacer
|
||||
|
||||
heading 2 "Peers"
|
||||
|
||||
peer_status "East Relay" online
|
||||
peer_status "South Bridge" online
|
||||
peer_status "Node Gamma" degraded
|
||||
|
||||
divider heavy
|
||||
link "Home" "/page/index.mu"`,
|
||||
},
|
||||
{
|
||||
name: "Dynamic Dashboard",
|
||||
description: "Live data sources, conditionals, and cache control",
|
||||
|
||||
Reference in New Issue
Block a user