pcmt/templates/footer.tmpl

23 lines
1.1 KiB
Go HTML Template
Raw Normal View History

<!-- 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>