(no commit message provided)

This commit is contained in:
Prad Nukala
2024-07-05 22:20:13 -04:00
committed by Prad Nukala (aider)
commit 5fd43dfd6b
457 changed files with 115535 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
package components
templ RootLayout() {
<html>
@head()
<body>
{ children... }
</body>
</html>
}
templ Container() {
<html>
@head()
<body>
<div class="pt-24 flex flex-col items-center">
<sl-card class="card-basic max-w-xl min-w-lg">
{ children... }
</sl-card>
</div>
</body>
</html>
}
templ Form(id, action, method string) {
<form id={ id } class="flex flex-col gap-x-2 gap-y-4 pt-3" action={ templ.URL(action) } method={ method }>
{ children... }
</form>
}
templ Rows() {
<div class="pt-3 flex flex-row space-x-2">
{ children... }
</div>
}
templ Columns() {
<div class="pt-3 flex flex-col space-y-4">
{ children... }
</div>
}