Implement footer with copyright message

This commit is contained in:
Benjamin Beganović 2020-06-15 15:46:01 +02:00
parent 790b3ff654
commit fae2326aa7
3 changed files with 16 additions and 5 deletions

View File

@ -3211,4 +3211,6 @@ return [
'verification' => 'Verification',
'complete_your_bank_account_verification' => 'Before using bank account they must be verified.',
'footer_label' => 'Copyright © :year Invoice Ninja. All rights reserved.',
];

View File

@ -0,0 +1,3 @@
<footer class="bg-white px-4 py-5 shadow px-4 mt-8 sm:px-6 md:px-8 flex justify-center border border-gray-200">
<span class="text-sm text-gray-700">{{ ctrans('texts.footer_label', ['year' => date('Y')]) }}</span>
</footer>

View File

@ -1,18 +1,19 @@
<div
class="h-screen flex overflow-hidden bg-gray-100"
x-data="{ sidebarOpen: false }"
@keydown.window.escape="sidebarOpen = false">
@keydown.window.escape="sidebarOpen = false"
id="main-sidebar">
<!-- Off-canvas menu for mobile -->
@include('portal.ninja2020.components.general.sidebar.mobile')
@include('portal.ninja2020.components.general.sidebar.mobile')
<!-- Static sidebar for desktop -->
<!-- Static sidebar for desktop -->
@include('portal.ninja2020.components.general.sidebar.desktop')
<div class="flex flex-col w-0 flex-1 overflow-hidden">
@include('portal.ninja2020.components.general.sidebar.header')
<main
class="flex-1 relative z-0 overflow-y-auto py-6 focus:outline-none"
class="flex-1 relative z-0 overflow-y-auto pt-6 focus:outline-none"
tabindex="0" x-data
x-init="$el.focus()">
@ -21,11 +22,16 @@
</div>
<div class="mx-auto px-4 sm:px-6 md:px-8">
<div class="py-4">
<div class="pt-4">
@includeWhen(session()->has('success'), 'portal.ninja2020.components.general.messages.success')
{{ $slot }}
</div>
</div>
@include('portal.ninja2020.components.general.footer')
</main>
</div>
</div>
<script>
</script>