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", Icon: "dashboard"}, {Title: "Crypto", URL: "dashboard-crypto.html", Icon: "currency-bitcoin"}, }, }, "layout": { Title: "Layout", Icon: "layout-2", Columns: 2, Children: []*TablerMenuItem{ {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", 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"}, }, }, } } // SampleTableRows returns sample data for table demos // Migrated from liquid/data/people.json func SampleTableRows() []TableRow { return []TableRow{ { ID: "1", Name: "Paweł Kuna", AvatarID: "000m", Email: "paweluna@howstuffworks.com", City: "Peimei", Country: "China", Status: "VIP", JobTitle: "UI Designer", Department: "Training", Date: "2025-04-07", Tags: []string{"High Volume"}, Category: "Training", }, { ID: "2", Name: "Jeffie Lewzey", AvatarID: "052f", Email: "jlewzey1@seesaa.net", City: "Indaial", Country: "Brazil", Status: "New", JobTitle: "Chemical Engineer", Department: "Support", Date: "2024-12-12", Tags: []string{"No Refunds"}, Category: "Support", }, { ID: "3", Name: "Mallory Hulme", AvatarID: "002m", Email: "mhulme2@domainmarket.com", City: "Cimuncang", Country: "Indonesia", Status: "VIP", JobTitle: "Geologist IV", Department: "Support", Date: "2025-01-09", Tags: []string{"High Value", "No Refunds", "Loyal"}, Category: "Support", }, { ID: "4", Name: "Dunn Slane", AvatarID: "003m", Email: "dslane3@epa.gov", City: "Liutang", Country: "China", Status: "Regular", JobTitle: "Research Nurse", Department: "Sales", Date: "2022-10-01", Tags: []string{"No Refunds"}, Category: "Sales", }, { ID: "5", Name: "Emmy Levet", AvatarID: "000f", Email: "elevet4@senate.gov", City: "Kaliprak", Country: "Indonesia", Status: "Regular", JobTitle: "VP Product Management", Department: "Accounting", Date: "2025-05-18", Tags: []string{"Standard"}, Category: "Accounting", }, { ID: "6", Name: "Maryjo Lebarree", AvatarID: "001f", Email: "mlebarree5@unc.edu", City: "Hantai", Country: "China", Status: "Regular", JobTitle: "Civil Engineer", Department: "Product Management", Date: "2025-06-06", Tags: []string{"No Refunds", "Loyal"}, Category: "Product Management", }, { ID: "7", Name: "Egan Poetz", AvatarID: "004m", Email: "epoetz6@free.fr", City: "Villaguay", Country: "Argentina", Status: "New", JobTitle: "Research Nurse", Department: "Engineering", Date: "2024-08-21", Tags: []string{"No Refunds"}, Category: "Engineering", }, { ID: "8", Name: "Kellie Skingley", AvatarID: "002f", Email: "kskingley7@columbia.edu", City: "Sidon", Country: "Lebanon", Status: "VIP", JobTitle: "Teacher", Department: "Services", Date: "2025-02-23", Tags: []string{"No Refunds", "Loyal"}, Category: "Services", }, } } // SampleTableHeaders returns headers for the advanced table func SampleTableHeaders() []TableHeader { return []TableHeader{ {Name: "Name", Sort: "sort-name"}, {Name: "City", Sort: "sort-city"}, {Name: "Status", Sort: "sort-status"}, {Name: "Start date", Sort: "sort-date"}, {Name: "Tags", Sort: "sort-tags"}, {Name: "Category", Sort: "sort-category"}, } }