refactor: Move form templates and styles to common directory

This commit is contained in:
Prad Nukala
2024-12-09 18:27:55 -05:00
parent 6fbcb7cef5
commit 8ceb89053f
21 changed files with 40 additions and 42 deletions
+15
View File
@@ -0,0 +1,15 @@
package text
import "github.com/onsonr/sonr/pkg/common/styles/layout"
templ Header(title string, subtitle string) {
<div class="flex flex-col items-center justify-center h-full">
<h1 class="text-3xl font-bold mb-2.5">
{ title }
</h1>
<p class="text-lg text-neutral-500">
{ subtitle }
</p>
</div>
@layout.Spacer()
}