init
This commit is contained in:
3
layouts/partials/status-icon.html
Normal file
3
layouts/partials/status-icon.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{{- $status := . -}}
|
||||
{{- $color := cond (eq $status "positive") "text-green-600" (cond (eq $status "neutral") "text-amber-500" "text-red-600") -}}
|
||||
<i class="fa-solid fa-house {{ $color }}"></i>
|
||||
Reference in New Issue
Block a user