Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- Constants
- func BenefitsBar(items []BenefitItem) templ.Component
- func CartSummaryCard(props CartSummary) templ.Component
- func CategoryGrid(items []CategoryCard) templ.Component
- func CollectionStrip(items []CollectionCard) templ.Component
- func FilterCard(props FilterPanel) templ.Component
- func Footer(props FooterProps) templ.Component
- func Hero(props HeroProps) templ.Component
- func InspirationPanel(props InspirationCard) templ.Component
- func NewsletterCard(props NewsletterProps) templ.Component
- func PriceRangeControl(props PriceRange) templ.Component
- func ProductShowcase(props ProductPreview) templ.Component
- func QuantityStepper(props QuantityProps) templ.Component
- func RightRail(props RailProps) templ.Component
- func StorefrontPage(props StorefrontPageProps) templ.Component
- func SwatchGroup(label string, items []SwatchItem, selectedValue string) templ.Component
- type Action
- type BenefitItem
- type CartItem
- type CartSummary
- type CategoryCard
- type CollectionCard
- type DetailRow
- type FilterPanel
- type FooterGroup
- type FooterProps
- type HeroProps
- type ImageRef
- type InspirationCard
- type NewsletterProps
- type PriceRange
- type ProductPreview
- type QuantityProps
- type RailProps
- type StorefrontPageProps
- type SwatchItem
Constants ¶
View Source
const ( PlaceholderHeroInterior = "" /* 650-byte string literal not displayed */ PlaceholderSofa = "" /* 586-byte string literal not displayed */ PlaceholderTable = "" /* 462-byte string literal not displayed */ PlaceholderLamp = "" /* 466-byte string literal not displayed */ PlaceholderVase = "" /* 674-byte string literal not displayed */ PlaceholderChair = "" /* 518-byte string literal not displayed */ PlaceholderProduct = "" /* 582-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func BenefitsBar ¶
func BenefitsBar(items []BenefitItem) templ.Component
func CartSummaryCard ¶
func CartSummaryCard(props CartSummary) templ.Component
func CategoryGrid ¶
func CategoryGrid(items []CategoryCard) templ.Component
func CollectionStrip ¶
func CollectionStrip(items []CollectionCard) templ.Component
func FilterCard ¶
func FilterCard(props FilterPanel) templ.Component
func Footer ¶
func Footer(props FooterProps) templ.Component
func InspirationPanel ¶
func InspirationPanel(props InspirationCard) templ.Component
func NewsletterCard ¶
func NewsletterCard(props NewsletterProps) templ.Component
func PriceRangeControl ¶
func PriceRangeControl(props PriceRange) templ.Component
func ProductShowcase ¶
func ProductShowcase(props ProductPreview) templ.Component
func QuantityStepper ¶
func QuantityStepper(props QuantityProps) templ.Component
func StorefrontPage ¶
func StorefrontPage(props StorefrontPageProps) templ.Component
func SwatchGroup ¶
func SwatchGroup(label string, items []SwatchItem, selectedValue string) templ.Component
Types ¶
type BenefitItem ¶
type CartSummary ¶
type CategoryCard ¶
type CollectionCard ¶
type FilterPanel ¶
type FilterPanel struct {
Title string
ResetLabel string
CategoryLabel string
CategoryValue string
MaterialLabel string
Materials []SwatchItem
Price PriceRange
ColorLabel string
Colors []SwatchItem
ShowAllAction Action
}
type FooterGroup ¶
type FooterGroup struct {
}
type FooterProps ¶
type FooterProps struct {
}
type InspirationCard ¶
type NewsletterProps ¶
type PriceRange ¶
type ProductPreview ¶
type QuantityProps ¶
type RailProps ¶
type RailProps struct {
Cart CartSummary
Filter FilterPanel
Inspiration InspirationCard
Newsletter NewsletterProps
Socials []Action
}
type StorefrontPageProps ¶
type StorefrontPageProps struct {
Hero HeroProps
Categories []CategoryCard
Collections []CollectionCard
Benefits []BenefitItem
Product ProductPreview
Rail RailProps
}
Click to show internal directories.
Click to hide internal directories.