mirror of
https://github.com/axzilla/templui.git
synced 2025-02-23 00:43:43 +00:00
79 lines
1.1 KiB
Go
79 lines
1.1 KiB
Go
package shared
|
|
|
|
type SideLink struct {
|
|
Text string
|
|
Href string
|
|
Icon string
|
|
Click string
|
|
}
|
|
|
|
type Section struct {
|
|
Title string
|
|
Links []SideLink
|
|
}
|
|
|
|
var Sections = []Section{
|
|
{
|
|
Title: "Getting Started",
|
|
Links: []SideLink{
|
|
{
|
|
Text: "Introduction",
|
|
Href: "/docs/introduction",
|
|
},
|
|
{
|
|
Text: "How to Use",
|
|
Href: "/docs/how-to-use",
|
|
},
|
|
},
|
|
},
|
|
{
|
|
Title: "Components",
|
|
Links: []SideLink{
|
|
{
|
|
Text: "Accordion",
|
|
Href: "/docs/components/accordion",
|
|
},
|
|
{
|
|
Text: "Alert",
|
|
Href: "/docs/components/alert",
|
|
},
|
|
{
|
|
Text: "Avatar",
|
|
Href: "/docs/components/avatar",
|
|
},
|
|
{
|
|
Text: "Button",
|
|
Href: "/docs/components/button",
|
|
},
|
|
{
|
|
Text: "Card",
|
|
Href: "/docs/components/card",
|
|
},
|
|
{
|
|
Text: "Datepicker",
|
|
Href: "/docs/components/datepicker",
|
|
},
|
|
{
|
|
Text: "Icon",
|
|
Href: "/docs/components/icon",
|
|
},
|
|
{
|
|
Text: "Input",
|
|
Href: "/docs/components/input",
|
|
},
|
|
{
|
|
Text: "Modal",
|
|
Href: "/docs/components/modal",
|
|
},
|
|
{
|
|
Text: "Sheet",
|
|
Href: "/docs/components/sheet",
|
|
},
|
|
{
|
|
Text: "Tabs",
|
|
Href: "/docs/components/tabs",
|
|
},
|
|
},
|
|
},
|
|
}
|