goffeetabler/controllers/tablerdata.go
2026-05-01 18:15:40 -05:00

45 lines
1.6 KiB
Go

package controllers
// SampleNavbarMenu returns the sample menu data for the navbar
// Migrated from liquid/data/menu.json (layout, dashboards, help sections)
func SampleNavbarMenu() TablerMenu {
return TablerMenu{
"dashboards": {
Title: "Dashboards",
Icon: "home",
Children: []*TablerMenuItem{
{Title: "Default", URL: "index.html"},
{Title: "Crypto", URL: "dashboard-crypto.html"},
},
},
"layout": {
Title: "Layout",
Icon: "layout-2",
Columns: 2,
Children: []*TablerMenuItem{
{Title: "Boxed", URL: "layout-boxed.html"},
{Title: "Combined", URL: "layout-combo.html"},
{Title: "Condensed", URL: "layout-condensed.html"},
{Title: "Fluid", URL: "layout-fluid.html"},
{Title: "Fluid vertical", URL: "layout-fluid-vertical.html"},
{Title: "Horizontal", URL: "layout-horizontal.html"},
{Title: "Navbar dark", URL: "layout-navbar-dark.html"},
{Title: "Navbar overlap", URL: "layout-navbar-overlap.html"},
{Title: "Navbar sticky", URL: "layout-navbar-sticky.html"},
{Title: "Right vertical", URL: "layout-vertical-right.html"},
{Title: "Vertical", URL: "layout-vertical.html"},
{Title: "Vertical transparent", URL: "layout-vertical-transparent.html"},
},
},
"help": {
Title: "Help",
Icon: "lifebuoy",
Children: []*TablerMenuItem{
{Title: "Documentation", URL: "https://tabler.io/docs"},
{Title: "Changelog", URL: "changelog.html"},
{Title: "Source code", URL: "https://github.com/tabler/tabler"},
{Title: "Sponsor project!", URL: "https://github.com/sponsors/codecalm", Color: "pink", Icon: "heart"},
},
},
}
}