mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 09:51:39 +00:00
refactor: Move form templates and styles to common directory
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user