components

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

templ: version: v0.2.771

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Article

func Article(a ArticleArgs) templ.Component

func ArticleList

func ArticleList(a ArticleListArgs) templ.Component

func ChangelogContainer

func ChangelogContainer() templ.Component

func DefaultStyle

func DefaultStyle() templ.Component

A wrapper to apply tailwind typography styles to the underlying texts

func Footer() templ.Component

func HeaderContainer

func HeaderContainer() templ.Component

func HeaderContent

func HeaderContent(args HeaderArgs) templ.Component

func LogoImg

func LogoImg(args Logo) templ.Component
func Navbar() templ.Component

func RSS

func RSS(args RSSArgs) templ.Component

Types

type ArticleArgs

type ArticleArgs struct {
	ID          string
	Title       string
	Description string
	PublishedAt string
	Content     string
}

type ArticleListArgs

type ArticleListArgs struct {
	Articles    []ArticleArgs
	NextPageURL string
}

type HeaderArgs

type HeaderArgs struct {
	Title    null.String
	Subtitle null.String
}
type Logo struct {
	Src    null.String
	Width  null.String
	Height null.String
	Alt    null.String
	Link   null.String
}

type RSSArgs

type RSSArgs struct {
	FeedURL string
}

Jump to

Keyboard shortcuts

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