icons
This commit is contained in:
parent
da0530d79b
commit
eec9697a71
3 changed files with 46 additions and 24 deletions
|
|
@ -8,8 +8,8 @@ func SampleNavbarMenu() TablerMenu {
|
|||
Title: "Dashboards",
|
||||
Icon: "home",
|
||||
Children: []*TablerMenuItem{
|
||||
{Title: "Default", URL: "index.html"},
|
||||
{Title: "Crypto", URL: "dashboard-crypto.html"},
|
||||
{Title: "Default", URL: "index.html", Icon: "dashboard"},
|
||||
{Title: "Crypto", URL: "dashboard-crypto.html", Icon: "currency-bitcoin"},
|
||||
},
|
||||
},
|
||||
"layout": {
|
||||
|
|
@ -17,27 +17,27 @@ func SampleNavbarMenu() TablerMenu {
|
|||
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"},
|
||||
{Title: "Boxed", URL: "layout-boxed.html", Icon: "layout-navbar"},
|
||||
{Title: "Combined", URL: "layout-combo.html", Icon: "layout-navbar"},
|
||||
{Title: "Condensed", URL: "layout-condensed.html", Icon: "layout-navbar"},
|
||||
{Title: "Fluid", URL: "layout-fluid.html", Icon: "layout-navbar"},
|
||||
{Title: "Fluid vertical", URL: "layout-fluid-vertical.html", Icon: "layout-navbar"},
|
||||
{Title: "Horizontal", URL: "layout-horizontal.html", Icon: "layout-navbar"},
|
||||
{Title: "Navbar dark", URL: "layout-navbar-dark.html", Icon: "layout-navbar"},
|
||||
{Title: "Navbar overlap", URL: "layout-navbar-overlap.html", Icon: "layout-navbar"},
|
||||
{Title: "Navbar sticky", URL: "layout-navbar-sticky.html", Icon: "layout-navbar"},
|
||||
{Title: "Right vertical", URL: "layout-vertical-right.html", Icon: "layout-navbar"},
|
||||
{Title: "Vertical", URL: "layout-vertical.html", Icon: "layout-navbar"},
|
||||
{Title: "Vertical transparent", URL: "layout-vertical-transparent.html", Icon: "layout-navbar"},
|
||||
},
|
||||
},
|
||||
"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: "Documentation", URL: "https://tabler.io/docs", Icon: "book"},
|
||||
{Title: "Changelog", URL: "changelog.html", Icon: "list"},
|
||||
{Title: "Source code", URL: "https://github.com/tabler/tabler", Icon: "brand-github"},
|
||||
{Title: "Sponsor project!", URL: "https://github.com/sponsors/codecalm", Color: "pink", Icon: "heart"},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue