view

package
v0.0.0-...-8ed447c Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	vecty.Core
}

Body renders the <body> tag

func (*Body) Render

func (c *Body) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type Books

type Books struct {
	vecty.Core
}

Books .

func (*Books) Render

func (c *Books) Render() vecty.ComponentOrHTML

Render .

type Dashboard

type Dashboard struct {
	vecty.Core
	// contains filtered or unexported fields
}

Dashboard .

func NewDashboard

func NewDashboard(routePrefix string) *Dashboard

NewDashboard .

func (*Dashboard) Mount

func (c *Dashboard) Mount()

Mount .

func (*Dashboard) Render

func (c *Dashboard) Render() vecty.ComponentOrHTML

Render .

type Header struct {
	vecty.Core

	OnReportBug func()
	OnSignOut   func()
	// contains filtered or unexported fields
}

Header .

func (*Header) Render

func (c *Header) Render() vecty.ComponentOrHTML

Render .

type Home

type Home struct {
	vecty.Core
	// contains filtered or unexported fields
}

Home .

func (*Home) Mount

func (c *Home) Mount()

Mount .

func (*Home) Render

func (c *Home) Render() vecty.ComponentOrHTML

Render .

type Login

type Login struct {
	vecty.Core
}

Login .

func (*Login) Render

func (c *Login) Render() vecty.ComponentOrHTML

Render .

type Main

type Main struct {
	vecty.Core

	NavMenus []NavMenu
}

Main .

func (*Main) Render

func (c *Main) Render() vecty.ComponentOrHTML

Render .

type NavMenu struct {
	Icon      string
	Text      string
	Link      string
	Component vecty.Component
	Active    bool
}

NavMenu .

type NotFound

type NotFound struct {
	vecty.Core
}

NotFound .

func (*NotFound) Render

func (c *NotFound) Render() vecty.ComponentOrHTML

Render .

type ReportBugModal

type ReportBugModal struct {
	vecty.Core

	Open    bool `vecty:"prop"`
	Success bool `vecty:"prop"`
}

ReportBugModal .

func (*ReportBugModal) Render

func (c *ReportBugModal) Render() vecty.ComponentOrHTML

Render .

type Sidebar struct {
	vecty.Core

	NavMenus []NavMenu
}

Sidebar .

func (*Sidebar) Render

func (c *Sidebar) Render() vecty.ComponentOrHTML

Render .

type SignOutModal

type SignOutModal struct {
	vecty.Core

	Open      bool `vecty:"prop"`
	OnConfirm func()
}

SignOutModal .

func (*SignOutModal) Render

func (c *SignOutModal) Render() vecty.ComponentOrHTML

Render .

Jump to

Keyboard shortcuts

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