layouts

package
v0.0.0-...-8815ff5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.3.960

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentPageBreadcrumbs

func ComponentPageBreadcrumbs(currentPage string) templ.Component

func GetSidebarSections

func GetSidebarSections() []sidebar.SidebarSection

func Root

func Root(args RootArgs) templ.Component

Types

type RootArgs

type RootArgs struct {
	CurrentPage          string // The current page section (e.g., "components", "docs")
	CurrentPath          string // The actual URL path (e.g., "/components/button")
	InspectorEnabled     bool   // Whether to show the Datastar inspector (from env var)
	DatastarProAvailable bool   // Whether the Datastar Pro file exists locally
}

RootArgs defines the arguments for the Root layout

Jump to

Keyboard shortcuts

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