pages

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package pages provides the example app's static pages (homepage), layout rendering, and icon template functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logo() template.HTML

Logo returns a static brand logo HTML for auth pages.

Types

type App

type App struct{}

App implements the pages app.

func New

func New() *App

New creates a new pages app.

func (*App) Configure added in v0.10.0

func (a *App) Configure(cfg *burrow.AppConfig, _ *cli.Command) error

func (*App) FuncMap

func (a *App) FuncMap() template.FuncMap

FuncMap returns template functions for the layout and home page.

func (*App) Name

func (a *App) Name() string

func (*App) NavItems

func (a *App) NavItems() []burrow.NavItem

func (*App) Routes

func (a *App) Routes(r chi.Router)

func (*App) TemplateFS

func (a *App) TemplateFS() fs.FS

TemplateFS returns the embedded HTML template files.

func (*App) TranslationFS

func (a *App) TranslationFS() fs.FS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL