components

package
v0.0.0-...-3bb7120 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection struct {
	Title        string
	ResourcePath string
	Products     []anor.Product
}

Collection represents a curated group of products displayed on the home page. It can represent various types of product groupings such as: - Popular products - Trending products - Recommended products - Recently viewed products - Any other categorization relevant to the home page or product listings

func (Collection) GetTemplateFilename

func (Collection) GetTemplateFilename() string
type Featured struct {
	Selections []anor.FeaturedSelection
}

Featured represents a collection of FeaturedSelections to be displayed prominently on the home page/banner carousels.

func (Featured) GetTemplateFilename

func (Featured) GetTemplateFilename() string

Jump to

Keyboard shortcuts

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