showcase

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package showcase renders Core's real UI templates with deterministic fixture data. It is registered only when APP_ENV=dev.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(renderer render.Renderer) *Handler

func (*Handler) Gallery

func (h *Handler) Gallery(w http.ResponseWriter, _ *http.Request)

func (*Handler) Page

func (h *Handler) Page(w http.ResponseWriter, r *http.Request)

type Page

type Page struct {
	Slug      string
	Name      string
	Group     string
	Component func() templ.Component
}

func Pages

func Pages() []Page

Jump to

Keyboard shortcuts

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