1
0
Fork 0
forked from mirror/pixelfed

Link legal notice

local jurisdiction requires a prominent link to a legal notice at the frontpage.
This commit is contained in:
hnrd 2023-08-01 09:52:46 +02:00 committed by chris
parent e860abb64b
commit 17a6c3931d
3 changed files with 2 additions and 4 deletions

BIN
public/js/landing.js vendored

Binary file not shown.

View file

@ -7,7 +7,7 @@
<div class="spacer">·</div>
<a href="/site/privacy">Privacy</a>
<div class="spacer">·</div>
<a href="https://pixelfed.org/mobile-apps" target="_blank">Mobile Apps</a>
<a href="/site/legal-notice">Impressum / Legal Notice</a>
</div>
<div class="footer-component-attribution">

View file

@ -7,9 +7,7 @@
<a href="{{route('site.terms')}}" class="text-dark p-2">{{__('site.terms')}}</a>
<a href="{{route('site.privacy')}}" class="text-dark p-2">{{__('site.privacy')}}</a>
<a href="{{route('site.language')}}" class="text-dark p-2">{{__('site.language')}}</a>
@if(config_cache('instance.has_legal_notice'))
<a href="/site/legal-notice" class="text-dark p-2">Legal Notice</a>
@endif
<a href="/site/legal-notice" class="text-dark p-2">Legal Notice</a>
</p>
<p class="text-center text-muted small mb-0">
<span class="text-muted">© {{date('Y')}} {{config('pixelfed.domain.app')}}</span>