refactor: reorganize project structure following go standards
This commit is contained in:
10
web/components/loading.templ
Normal file
10
web/components/loading.templ
Normal file
@@ -0,0 +1,10 @@
|
||||
package ui
|
||||
|
||||
templ LoadingIndicator(text string) {
|
||||
<div class="inline-flex items-center gap-2 text-sm text-(--text-muted)">
|
||||
<div class="h-1.5 w-1.5 bg-(--text-faint)"></div>
|
||||
<div class="h-1.5 w-1.5 bg-(--text-faint)"></div>
|
||||
<div class="h-1.5 w-1.5 bg-(--text-faint)"></div>
|
||||
<span>{ text }</span>
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user