pages

package
v0.0.0-...-94c307b Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.598

templ: version: v0.2.598

templ: version: v0.2.598

templ: version: v0.2.598

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App(params AppParams) templ.Component

func EmailErrors

func EmailErrors(params SignupInputFormParams) templ.Component

func Homepage

func Homepage() templ.Component

func LoginInputForm

func LoginInputForm(params LoginInputFormParams) templ.Component

func LoginInputFormContent

func LoginInputFormContent(params LoginInputFormParams) templ.Component

func LoginInputFormFailedLoginMessage

func LoginInputFormFailedLoginMessage(params LoginInputFormParams) templ.Component

func LoginPage

func LoginPage(loginFormParams LoginInputFormParams) templ.Component

func PasswordErrors

func PasswordErrors(params SignupInputFormParams) templ.Component

func SignupInputForm

func SignupInputForm(params SignupInputFormParams) templ.Component

func SignupInputFormContent

func SignupInputFormContent(params SignupInputFormParams) templ.Component

func SignupPage

func SignupPage(params SignupInputFormParams) templ.Component

func SignupPageButton

func SignupPageButton(params SignupInputFormParams, hxSwapOob string) templ.Component

func SignupSuccess

func SignupSuccess() templ.Component

Types

type AppParams

type AppParams struct {
	UserEmail string
	components.AuthRefreshParams
}

type LoginInputFormParams

type LoginInputFormParams struct {
	Email                string
	Password             string
	ShowFailedLoginFlag  bool
	SubmitButtonDisabled bool
}

func (*LoginInputFormParams) FormAppearsValid

func (obj *LoginInputFormParams) FormAppearsValid() bool

type SignupInputFormParams

type SignupInputFormParams struct {
	Email                       string
	Password1                   string
	Password2                   string
	ShowInvalidPasswordFlag     bool
	ShowNonMatchingPasswordFlag bool
	ShowInvalidEmailFlag        bool
	ShowTakenEmailFlag          bool
	SubmitButtonDisabled        bool
}

func (*SignupInputFormParams) FormAppearsValid

func (obj *SignupInputFormParams) FormAppearsValid() bool

Jump to

Keyboard shortcuts

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