init - add project files

This commit is contained in:
2025-03-06 23:54:11 -05:00
commit e724ff1120
1363 changed files with 897467 additions and 0 deletions

28
ui/quill.go Normal file
View File

@@ -0,0 +1,28 @@
package ui
import (
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)
// QuillJS editor components
func Quill() Node {
return Div(
InlineStyle(`
$me {
width: 100%;
background: $color(white);
min-height: $64;
}
`),
InlineScript(`
let editor = me();
let quill = new Quill(editor, {
theme: 'snow',
});
`),
)
}