package ui // Body is a component that renders the body tag templ Body() { { children... } } // Head is a component that renders the head of the document templ Head() { @ApexCharts() @Helia() @Dexie() @Htmx() @Tailwind() @Shoelace() @DefaultStyles() { children... } } // HTML is a component that renders the html tag templ HTML() { { children... } } // Columns is a component that renders a responsive flex container that stacks on mobile templ Columns() {
{ children... }
} // Container is a component that renders a full screen container templ Container() {
{ children... }
} // Tailwind css dependencies templ Tailwind() { @tailwindHandle.Once() { } } // Nav is a component that renders the navigation bar templ Nav() { } // NavCTA is a component that renders a call to action button templ NavCTA(href string, text string) { { text } } // NavItem is a component that renders a navigation item templ NavItem(href string, text string) { { text } } // NavLogo is a component that renders a logo templ NavLogo(title string) { { children... } { title } } // NavLeft is a component that renders the left side of the navigation bar templ NavLeft() {
{ children... }
} templ NavRight() {
{ children... }
} // Rows is a component that renders a responsive flex container that wraps on mobile templ Rows() {
{ children... }
} templ Separator(text string) {
{ text }
}