Documentation
¶
Overview ¶
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
templ: version: v0.3.1001
Index ¶
- func ErrorPage(props ErrorPageProps) templ.Component
- func Home() templ.Component
- func Leaderboard(props LeaderboardProps) templ.Component
- func LeaderboardContent(props LeaderboardProps) templ.Component
- func List(props ListProps) templ.Component
- func ListContent(props ListProps) templ.Component
- func Options(props OptionsProps) templ.Component
- func Rank(props components.RankProps, stats components.RankStatsDisplayProps, ...) templ.Component
- func UserLeaderboard(props UserLeaderboardProps) templ.Component
- type ErrorPageProps
- type LeaderboardProps
- type ListProps
- type OptionsProps
- type UserLeaderboardEntry
- type UserLeaderboardProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorPage ¶
func ErrorPage(props ErrorPageProps) templ.Component
func Leaderboard ¶
func Leaderboard(props LeaderboardProps) templ.Component
func LeaderboardContent ¶
func LeaderboardContent(props LeaderboardProps) templ.Component
func ListContent ¶
func Options ¶
func Options(props OptionsProps) templ.Component
func Rank ¶
func Rank(props components.RankProps, stats components.RankStatsDisplayProps, rankResult *components.RankResultProps) templ.Component
func UserLeaderboard ¶
func UserLeaderboard(props UserLeaderboardProps) templ.Component
Types ¶
type ErrorPageProps ¶
type LeaderboardProps ¶
type LeaderboardProps struct {
components.QuoteListProps
}
type ListProps ¶
type ListProps struct {
components.QuoteListProps
}
type OptionsProps ¶
type OptionsProps struct {
FirstMethod selection.FirstQuoteMethod
SecondMethod selection.SecondQuoteMethod
TiebreakerMethod selection.TiebreakerMethod
}
type UserLeaderboardEntry ¶
type UserLeaderboardProps ¶
type UserLeaderboardProps struct {
Users []UserLeaderboardEntry
RequiredRanks int
RequiredQuotes int
}
Click to show internal directories.
Click to hide internal directories.