feat: port footer compoenet to tera

This commit is contained in:
Aravinth Manivannan 2023-01-24 19:26:06 +05:30
parent d2f266c689
commit 1942d44283
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -1,24 +1,23 @@
<footer class="footer">
<. use crate::PAGES; .>
<ul class="footer__section">
<li class="footer__item">
<a class="footer__link" href="<.= PAGES.about .>">About</a>
<a class="footer__link" href="{{ footer.about }}">About</a>
</li>
<li class="footer__item">
<a class="footer__link" href="<.= PAGES.donate .>">Donate</a>
<a class="footer__link" href="{{ footer.donate }}">Donate</a>
</li>
<li class="footer__item">
<a class="footer__link" href="<.= PAGES.privacy .>">Privacy</a>
<a class="footer__link" href="{{ footer.privacy }}">Privacy</a>
</li>
<li class="footer__item">
<a class="footer__link" href="<.= PAGES.security .>">Security</a>
<a class="footer__link" href="{{ footer.security }}">Security</a>
</li>
<li class="footer__item">
<a class="footer__link" href="<.= PAGES.thanks .>">Thanks</a>
<a class="footer__link" href="{{ footer.thanks }}">Thanks</a>
</li>
<li class="footer__item">
<a class="footer__link" href="<.= &*crate::SOURCE_FILES_OF_INSTANCE .>">
v<.= crate::VERSION .>-<.= crate::GIT_COMMIT_HASH[0..8] .>
<a class="footer__link" href="{{ footer.source_code }}">
v{{ footer.version }}-{{ footer.git_hash }}
</li>
</ul>
</footer>