components

package
v0.0.0-...-760d706 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

templ: version: v0.2.648

Index

Constants

This section is empty.

Variables

View Source
var DefaultNavBar = []NavItem{
	{Name: "Cluster", Href: "/"},
	{Name: "Configuration", Href: "/config"},
	{Name: "About", Href: "/about"},
}

Functions

func A

func A(href string, text string) templ.Component

func ANewTab

func ANewTab(href string, text string) templ.Component

func ContentP

func ContentP() templ.Component

func FlexRow

func FlexRow(wrap bool) templ.Component

func Hero

func Hero() templ.Component

func HostButton

func HostButton(hostname string, path string) templ.Component

func HostNav

func HostNav() templ.Component

func InfoBox

func InfoBox(title string, colour string) templ.Component

func List

func List(listImage string) templ.Component

func ListItem

func ListItem() templ.Component
func NavBar(hero templ.Component, navItems []NavItem) templ.Component

func NoWrapSize

func NoWrapSize(size string) string

Types

type InfoBoxConfig

type InfoBoxConfig struct {
	ColourClass string
	InFlex      bool
	FlexBasis   string
}
type NavItem struct {
	Name string
	Href string
}

Jump to

Keyboard shortcuts

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