style the footer and notice links

This commit is contained in:
Andre Staltz 2021-02-25 17:23:51 +02:00
parent 62d31f08b9
commit ce98eeb377
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 3 additions and 3 deletions

View File

@ -76,12 +76,12 @@
{{block "footer" .}}
{{$cocUrl := urlToNotice "NoticeCodeOfConduct"}}
{{$ppUrl := urlToNotice "NoticePrivacyPolicy"}}
<footer>
<footer class="mb-4 flex flex-row items-center justify-center divide-x divide-gray-300">
{{if $cocUrl}}
<a href="{{$cocUrl}}">{{i18n "NoticeCodeOfConduct"}}</a>
<a href="{{$cocUrl}}" class="px-4 text-gray-500 hover:underline">{{i18n "NoticeCodeOfConduct"}}</a>
{{end}}
{{if $ppUrl}}
<a href="{{$ppUrl}}">{{i18n "NoticePrivacyPolicy"}}</a>
<a href="{{$ppUrl}}" class="px-4 text-gray-500 hover:underline">{{i18n "NoticePrivacyPolicy"}}</a>
{{end}}
</footer>
{{end}}