pcmt/templates/footer.tmpl
leo 4f697282cf
All checks were successful
continuous-integration/drone/push Build is passing
templates: align footer with the main container
2023-05-07 00:12:37 +02:00

23 lines
1.1 KiB
Go HTML Template

<!-- footer anchored to the bottom https://stackoverflow.com/a/72232241 -->
<footer class="items-center md:mx-10 m-4 sticky top-[100vh] shadow bg-white dark:bg-gray-900 border-2 border-slate-300 rounded-sm">
<!-- alternatively -->
<!-- <footer class="fixed bottom-0 left-0 w-full bg-gray-800 mx-auto rounded-sm"> -->
<span class="block hover:shadow text-center text-sm px-6 py-2 text-pink-400 dark:bg-gray-900">
powered by <code>pcmt</code> version <code>{{ .AppVer }}</code>
&#183;
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://git.dotya.ml/wanderer" target="_blank">&copy; wanderer</a>
&#183;
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://www.gnu.org/licenses/agpl-3.0.en.html" target="_blank">AGPL-3.0-only</a>
&#183;
<a class="text-pink-500 hover:text-pink-600 hover:underline" href="https://git.dotya.ml/mirre-mt/pcmt" target="_blank">sources</a>
</span>
</div>
</footer>
<!-- inject browsersync script if running in devel mode -->
{{- if .DevelMode -}}
{{ template "browsersync.tmpl" }}
{{- end }}
</body>
</html>