Skip to content

Commit

Permalink
feat: add footer
Browse files Browse the repository at this point in the history
This covers links to documents Jetstream is providing to us already.

Signed-off-by: André Jaenisch <[email protected]>
  • Loading branch information
Ryuno-Ki committed Oct 11, 2024
1 parent bec55b1 commit 84f6af8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lang/de/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
'submit' => 'Suche',
],
],
'footer' => [
'copyright' => 'Alle Rechte vorbehalten',
'link' => [
'policy' => 'Datenschutz',
'terms' => 'Nutzungsbedingungen',
],
],
'register' => [
'form' => [
'email' => 'E-Mail',
Expand Down
7 changes: 7 additions & 0 deletions lang/en/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
'submit' => 'Search',
],
],
'footer' => [
'copyright' => 'All rights reserved.',
'link' => [
'policy' => 'Privacy Policy',
'terms' => 'Terms and Conditions',
],
],
'register' => [
'form' => [
'email' => 'Email',
Expand Down
11 changes: 11 additions & 0 deletions resources/views/components/footer.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<footer class="px-6">
<p class="text-xs leading-5 text-gray-400">&copy; {{ \Carbon\Carbon::now()->format('Y') }} EventGuru. {{ __('messages.footer.copyright') }}</p>
<ul>
<li>
<a href="{{ route('terms.show') }}">{{ __('messages.footer.link.terms') }}</a>
</li>
<li>
<a href="{{ route('policy.show') }}">{{ __('messages.footer.link.policy') }}</a>
</li>
</ul>
</footer>

0 comments on commit 84f6af8

Please sign in to comment.