Documentation ¶
Overview ¶
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
templ: version: v0.2.543
Index ¶
- func AlertBg(color utils.Color) templ.Component
- func AlertOutlined(color utils.Color) templ.Component
- func ButtonFilled(align utils.Alignment, color utils.Color, buttonText, buttonLink string) templ.Component
- func ButtonOutlined(align utils.Alignment, color utils.Color, buttonText, buttonLink string) templ.Component
- func Col1of3(align utils.Alignment) templ.Component
- func Col1of4(align utils.Alignment) templ.Component
- func Col2of4(align utils.Alignment) templ.Component
- func Col3of4(align utils.Alignment) templ.Component
- func ColFull(align utils.Alignment) templ.Component
- func ColHalf(align utils.Alignment) templ.Component
- func Container(color utils.Color) templ.Component
- func Coupon(data CouponData) templ.Component
- func Discount(data DiscountData) templ.Component
- func Divider() templ.Component
- func H1(heading string) templ.Component
- func H2(heading string) templ.Component
- func Image(fileURL, altText string) templ.Component
- func LabelFilled(color utils.Color, text string) templ.Component
- func LabelOutlined(color utils.Color, text string) templ.Component
- func Layout(lang, subject, previewText string) templ.Component
- func Link(text, url string) templ.Component
- func List(items ...string) templ.Component
- func Logo(fileURL string, link ...string) templ.Component
- func LogoImage(fileURL, altText, link, width string) templ.Component
- func LogoText(text string, link ...string) templ.Component
- func P() templ.Component
- func Row() templ.Component
- func SecondaryText() templ.Component
- func Spacer() templ.Component
- func TableRowSpacer() templ.Component
- func TableSpacer() templ.Component
- func Wrapper() templ.Component
- type CTA
- type CouponData
- type DiscountData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ButtonFilled ¶
func ButtonOutlined ¶
func Coupon ¶
func Coupon(data CouponData) templ.Component
func Discount ¶
func Discount(data DiscountData) templ.Component
func SecondaryText ¶
func TableRowSpacer ¶
func TableSpacer ¶
Types ¶
type CouponData ¶
func (CouponData) CtaLink ¶
func (d CouponData) CtaLink() templ.SafeURL
func (CouponData) CtaSubText ¶
func (d CouponData) CtaSubText() string
func (CouponData) CtaText ¶
func (d CouponData) CtaText() string
func (CouponData) PercentStr ¶
func (d CouponData) PercentStr() string
PercentStr returns the percent as a string
type DiscountData ¶
func (DiscountData) CtaLink ¶
func (c DiscountData) CtaLink() templ.SafeURL
func (DiscountData) CtaText ¶
func (c DiscountData) CtaText() string
func (DiscountData) DiscountLine ¶
func (c DiscountData) DiscountLine() string
func (DiscountData) GetHeadline ¶
func (c DiscountData) GetHeadline() string
Click to show internal directories.
Click to hide internal directories.