Warning
This route has caching enabled so hot-reloading in the local environment will not work.
package pages import ( "strconv" "fmt" "git.grosinger.net/tgrosinger/saasitone/pkg/page" ) type AboutData struct { ShowCacheWarning bool FrontendTabs []AboutTab BackendTabs []AboutTab } type AboutTab struct { Title string Body string } templ About(p page.Page, data AboutData) { if len(data.FrontendTabs) > 0 {
Frontend
The following incredible projects make developing advanced, modern frontends possible and simple without having to write a single line of JS or CSS. You can go extremely far without leaving the comfort of Go with server-side rendered HTML.
@tabs(data.FrontendTabs) } if len(data.BackendTabs) > 0 {Backend
The following incredible projects provide the foundation of the Go backend. See the repository for a complete list of included projects.
@tabs(data.BackendTabs) } if (data.ShowCacheWarning) { } } templ tabs(t []AboutTab) {@templ.Raw(tab.Body)