feat: add status indicator option to footer links
This commit is contained in:
parent
f7e91119a5
commit
2552bc1e9c
1 changed files with 10 additions and 4 deletions
|
|
@ -31,8 +31,11 @@
|
|||
{{ if .icon }}
|
||||
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
||||
{{ end }}
|
||||
{{ .text }}</a
|
||||
>
|
||||
{{ .text }}
|
||||
{{ if .status }}
|
||||
<span class="status-indicator"></span>
|
||||
{{ end }}
|
||||
</a>
|
||||
{{ else if .caption }}
|
||||
<div class="footer__menu__caption">{{ .caption }}</div>
|
||||
{{ else if .logo }}
|
||||
|
|
@ -68,8 +71,11 @@
|
|||
{{ if .icon }}
|
||||
<i class="footer__menu__link__icon" data-feather="{{ .icon }}"></i>
|
||||
{{ end }}
|
||||
{{ .text }}</a
|
||||
>
|
||||
{{ .text }}
|
||||
{{ if .status }}
|
||||
<span class="status-indicator"></span>
|
||||
{{ end }}
|
||||
</a>
|
||||
{{ else if .caption }}
|
||||
<div class="footer__menu__caption">{{ .caption }}</div>
|
||||
{{ else if .logo }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue