new styling for frontpage, update login and authorize templates (#46)

* new styling for frontpage, update login and authorize templates

* run go fmt

* add AssetBaseDir to command flag parsing

* untested: move landing page to it's own router

* go fmt, fix typo

* fix package, adapt to proper Route structure
This commit is contained in:
f0x52 2021-06-21 19:46:10 +02:00 committed by GitHub
commit f9bc305aca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 963 additions and 62 deletions

13
web/template/footer.tmpl Normal file
View file

@ -0,0 +1,13 @@
<!-- footer.tmpl -->
<footer>
<div id="version">
Running GoToSocial version: <span class="accent">{{.instance.Version}}</span><br>
<a href="https://github.com/superseriousbusiness/gotosocial">Source Code</a>
</div>
<div id="contact">
Contact: <a href="/{{.instance.ContactAccount}}" class="nounderline">{{.instance.ContactAccount}}</a><br>
<!-- <a href="/moderation">Moderation team</a> -->
</div>
</footer>
</body>
</html>