partials

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

templ: version: v0.3.906

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressResults

func AddressResults(addresses []string) templ.Component

func Alerts

func Alerts() templ.Component
func Footer() templ.Component
func Head() templ.Component
func Header() templ.Component

func Language

func Language() templ.Component

func Page

func Page(options *PageOptions) templ.Component

func PreferredAverageSpeedMetric

func PreferredAverageSpeedMetric(w *database.Workout, preferredUnits *database.UserPreferredUnits) templ.Component

func PreferredSpeedMetric

func PreferredSpeedMetric(wt *database.WorkoutType, v float64, preferredUnits *database.UserPreferredUnits) templ.Component

func SnippetDate

func SnippetDate(date time.Time) templ.Component

func Theme

func Theme() templ.Component

func Version

func Version() templ.Component

Types

type PageOptions

type PageOptions struct {
	Scripts, Styles []string
}

func NewPageOptions

func NewPageOptions() *PageOptions

func (*PageOptions) WithCharts

func (o *PageOptions) WithCharts() *PageOptions

func (*PageOptions) WithHeatMaps

func (o *PageOptions) WithHeatMaps() *PageOptions

func (*PageOptions) WithMaps

func (o *PageOptions) WithMaps() *PageOptions

func (*PageOptions) WithScripts

func (o *PageOptions) WithScripts(scripts ...string) *PageOptions

func (*PageOptions) WithSharing

func (o *PageOptions) WithSharing() *PageOptions

func (*PageOptions) WithStyles

func (o *PageOptions) WithStyles(styles ...string) *PageOptions

Jump to

Keyboard shortcuts

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