animated bounce for donors

This commit is contained in:
Alicia
2019-02-23 17:52:00 +00:00
parent 835549bd0a
commit 7bc9ead815
2 changed files with 75 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
</div>
</div>
{{ end }}
{{ navbarItem .Path (.T "Donate" | printf "<i class=\"red heart icon\"></i>%s") "/donate" }}
{{ if .has_donor }}{{ navbarItem .Path (.T "Donate" | printf "<i id='bouncy' class=\"red heart icon\"></i>%s") "/donate" }}{{else}}{{ navbarItem .Path (.T "Donate" | printf "<i class=\"red heart icon\"></i>%s") "/donate" }}
{{ if $isAdmin }}{{ navbarItem .Path (.T "RAP" | printf "<b>%s</b>") "https://old.yozora.pw/p/100" }}{{ end }}
{{ end }}
<div class="firetrucking-right-menu">