tempalte profile

This commit is contained in:
JACS 2026-05-03 01:29:32 -05:00
parent 137b9f9a6a
commit 7f3bfb7d59
5 changed files with 189 additions and 8 deletions

View file

@ -44,6 +44,31 @@ func SampleNavbarMenu() TablerMenu {
}
}
// SampleUserSettings returns sample data for the user settings page.
func SampleUserSettings() FormtablerUserSettingsPage {
return FormtablerUserSettingsPage{
ActiveTab: "My Account",
SidebarSections: []FormtablerUserSettingsSection{
{
Title: "Business settings",
SubItems: []FormtablerUserSettingsNavItem{
{Title: "My Account", Link: "/user/settings", Active: true},
{Title: "My Notifications", Link: "#"},
{Title: "Connected Apps", Link: "#"},
{Title: "Plans", Link: "#"},
{Title: "Billing & Invoices", Link: "#"},
},
},
{
Title: "Experience",
SubItems: []FormtablerUserSettingsNavItem{
{Title: "Give Feedback", Link: "#"},
},
},
},
}
}
// SampleComponents returns sample data for alerts, breadcrumbs, and toasts.
func SampleComponents() FormtablerComponentsPage {
return FormtablerComponentsPage{