refactor: reorganize project structure following go standards
This commit is contained in:
10
web/components/empty_state.templ
Normal file
10
web/components/empty_state.templ
Normal file
@@ -0,0 +1,10 @@
|
||||
package ui
|
||||
|
||||
templ EmptyState(title string) {
|
||||
<div class="py-4">
|
||||
<div class="mb-2 text-base">{ title }</div>
|
||||
<div class="text-sm text-(--text-muted)">
|
||||
{ children... }
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user