refactor: reorganize pkl files for better separation of concerns

This commit is contained in:
Prad Nukala committed 2024-10-03 01:01:49 -04:00
1 parent 931ac2308d
commit f75ff0d3be
27 files changed
+415 -180

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
package ui
templ PrimaryButton(href string, text string) {
<div>
<div class="btn cursor-pointer text-zinc-100 bg-zinc-900 hover:bg-zinc-800 w-full shadow" hx-swap="afterend" hx-get={ href }>{ text }</div>
</div>
}
templ SecondaryButton(href string, text string) {
<div>
<div class="btn cursor-pointer text-zinc-600 bg-white hover:text-zinc-900 w-full shadow" hx-swap="afterend" hx-get={ href }>{ text }</div>
</div>
}