html

package
v0.0.0-...-e11dccf Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ButtonPrimary

func ButtonPrimary(children ...Node) Node

func ErrorPage

func ErrorPage(page PageFunc) Node

func FavIcons

func FavIcons(name, themeColor string) Node

func LabelAndInput

func LabelAndInput(name string, children ...Node) Node

func LoginCheckEmailPage

func LoginCheckEmailPage(page PageFunc) Node

func LoginPage

func LoginPage(page PageFunc, email model.Email) Node

func LoginSubmitTokenPage

func LoginSubmitTokenPage(page PageFunc, token string) Node

func LoginTokenExpiredPage

func LoginTokenExpiredPage(page PageFunc) Node

func LoginUserInactivePage

func LoginUserInactivePage(page PageFunc) Node

func NotFoundPage

func NotFoundPage(page PageFunc) Node

func SignupPage

func SignupPage(page PageFunc, newUser model.User) Node

func SignupThanksPage

func SignupThanksPage(page PageFunc) Node

Types

type PageFunc

type PageFunc = func(props PageProps, children ...Node) Node

type PageProps

type PageProps struct {
	Title       string
	Description string
	User        *model.User
	Ctx         context.Context
	Req         *http.Request
}

Jump to

Keyboard shortcuts

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