designs

package
v0.1.30 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTagModal added in v0.1.25

func AddTagModal(props AddTagModalProps) htmx.Node

AddTagModal ...

func DesignBodyCard

func DesignBodyCard(props DesignBodyCardProps) htmx.Node

DesignBodyCard ...

func DesignComment added in v0.1.25

func DesignComment(props DesignCommentProps) htmx.Node

DesignComment ...

func DesignCommentReactions added in v0.1.24

func DesignCommentReactions(props DesignCommentReactionsProps, children ...htmx.Node) htmx.Node

DesignCommentReactions ...

func DesignCommentsCard

func DesignCommentsCard(props DesignCommentsCardProps) htmx.Node

DesignCommentsCard ...

func DesignMetadataCard

func DesignMetadataCard(props DesignMetadataCardProps) htmx.Node

DesignMetadataCard ...

func DesignNewForm

func DesignNewForm(props DesignNewFormProps) htmx.Node

DesignNewForm ...

func DesignReactions added in v0.1.24

func DesignReactions(props DesignReactionsProps) htmx.Node

DesignReactions ...

func DesignRevisionsCard added in v0.1.25

func DesignRevisionsCard(props DesignRevisionsCardProps) htmx.Node

DesignRevisionsCard ...

func DesignTag added in v0.1.25

func DesignTag(props DesignTagProps) htmx.Node

DesignTag ...

func DesignTagsCard added in v0.1.18

func DesignTagsCard(props DesignTagsCardProps) htmx.Node

DesignTagsCard ...

func DesignTitleCard

func DesignTitleCard(props DesignTitleCardProps) htmx.Node

DesignTitleCard ...

func DesignsTable

func DesignsTable(props DesignsTableProps, children ...htmx.Node) htmx.Node

DesignsTable ...

func Editor added in v0.1.25

func Editor(props EditorProps) htmx.Node

Editor ...

Types

type AddTagModalProps added in v0.1.25

type AddTagModalProps struct {
	DesignID uuid.UUID
}

AddTagModalProps ...

type DesignBodyCardProps

type DesignBodyCardProps struct {
	// ClassNames ...
	ClassNames htmx.ClassNames
	// Design ...
	Design models.Design
	// Markdown ...
	Markdown string
	// User ...
	User adapters.GothUser
}

DesignBodyCardProps ...

type DesignCommentProps added in v0.1.25

type DesignCommentProps struct {
	Comment models.DesignComment
	User    adapters.GothUser
	Design  models.Design
}

DesignCommentProps ...

type DesignCommentReactionsProps added in v0.1.24

type DesignCommentReactionsProps struct {
	User    adapters.GothUser
	Design  models.Design
	Comment models.DesignComment
}

DesignCommentReactionsProps ...

type DesignCommentsCardProps

type DesignCommentsCardProps struct {
	User       adapters.GothUser
	ClassNames htmx.ClassNames
	Design     models.Design
}

DesignCommentsCardProps ...

type DesignMetadataCardProps

type DesignMetadataCardProps struct {
	ClassNames htmx.ClassNames
	Design     models.Design
}

DesignMetadataCardProps ...

type DesignNewFormProps

type DesignNewFormProps struct {
	ClassNames htmx.ClassNames
	Template   string
}

DesignNewFormProps ...

type DesignReactionsProps added in v0.1.24

type DesignReactionsProps struct {
	User   adapters.GothUser
	Design models.Design
}

DesignReactionsProps ...

type DesignRevisionsCardProps added in v0.1.25

type DesignRevisionsCardProps struct {
	ClassNames htmx.ClassNames
	DesignID   uuid.UUID
}

DesignRevisionsCardProps ...

type DesignTagProps added in v0.1.25

type DesignTagProps struct {
	ClassNames htmx.ClassNames
	DesignID   uuid.UUID
	Tag        models.Tag
}

DesignTagProps ...

type DesignTagsCardProps added in v0.1.18

type DesignTagsCardProps struct {
	ClassNames htmx.ClassNames
	Design     models.Design
}

DesignTagsCardProps ...

type DesignTitleCardProps

type DesignTitleCardProps struct {
	ClassNames htmx.ClassNames
	Design     models.Design
	Markdown   string
}

DesignTitleCardProps ...

type DesignsTableProps

type DesignsTableProps struct {
	Designs   []*models.Design
	Templates []*models.Template
	URL       string
	Search    string
	Offset    int
	Limit     int
	Total     int
}

DesignsTableProps ...

type EditorProps added in v0.1.25

type EditorProps struct {
	ClassNames htmx.ClassNames
	Content    string
}

EditorProps ...

Jump to

Keyboard shortcuts

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