2020-11-16 13:06:26 +01:00
|
|
|
<footer class="bg-white px-4 py-5 shadow px-4 sm:px-6 md:px-8 flex justify-center border border-gray-200 justify-between items-center" x-data="{ privacy: false, tos: false }">
|
|
|
|
<section>
|
2020-12-01 14:44:35 +01:00
|
|
|
<span class="text-xs md:text-sm text-gray-700">{{ ctrans('texts.footer_label', ['company' => auth('contact')->user() ? (auth('contact')->user()->user->account->isPaid() ? auth('contact')->user()->company->present()->name() : 'Invoice Ninja') : 'Invoice Ninja', 'year' => date('Y')]) }}</span>
|
|
|
|
|
2020-11-16 13:06:26 +01:00
|
|
|
<div class="flex items-center space-x-2">
|
2020-11-18 14:55:46 +01:00
|
|
|
@if(strlen($client->getSetting('client_portal_privacy_policy')) > 1)
|
|
|
|
<a x-on:click="privacy = true; tos = false" href="#" class="button-link text-sm primary-color flex items-center">{{ __('texts.privacy_policy')}}</a>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(strlen($client->getSetting('client_portal_privacy_policy')) > 1 && strlen($client->getSetting('client_portal_terms')) > 1)
|
2021-01-13 09:22:36 +01:00
|
|
|
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus">
|
2020-11-18 14:55:46 +01:00
|
|
|
<line x1="5" y1="12" x2="19" y2="12"></line>
|
2021-01-13 09:22:36 +01:00
|
|
|
</svg> Long dash between items. -->
|
2020-11-18 14:55:46 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(strlen($client->getSetting('client_portal_terms')) > 1)
|
|
|
|
<a x-on:click="privacy = false; tos = true" href="#" class="button-link text-sm primary-color flex items-center">{{ __('texts.terms')}}</a>
|
|
|
|
@endif
|
2020-11-16 13:06:26 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2020-06-27 06:09:16 +02:00
|
|
|
@if(auth()->user()->user && !auth()->user()->user->account->isPaid())
|
2020-07-29 16:40:21 +02:00
|
|
|
<a href="https://invoiceninja.com" target="_blank">
|
2020-06-15 15:52:17 +02:00
|
|
|
<img class="h-8" src="{{ asset('images/invoiceninja-black-logo-2.png') }}" alt="Invoice Ninja Logo">
|
|
|
|
</a>
|
|
|
|
@endif
|
2020-11-16 13:06:26 +01:00
|
|
|
|
2020-11-18 14:55:46 +01:00
|
|
|
@if(strlen($client->getSetting('client_portal_privacy_policy')) > 1)
|
|
|
|
@component('portal.ninja2020.components.general.pop-up', ['title' => __('texts.privacy_policy') ,'show_property' => 'privacy'])
|
|
|
|
{!! $client->getSetting('client_portal_privacy_policy') !!}
|
|
|
|
@endcomponent
|
|
|
|
@endif
|
2020-11-16 13:06:26 +01:00
|
|
|
|
2020-11-18 14:55:46 +01:00
|
|
|
@if(strlen($client->getSetting('client_portal_terms')) > 1)
|
|
|
|
@component('portal.ninja2020.components.general.pop-up', ['title' => __('texts.terms') ,'show_property' => 'tos'])
|
|
|
|
{!! $client->getSetting('client_portal_terms') !!}
|
|
|
|
@endcomponent
|
|
|
|
@endif
|
2020-11-16 13:06:26 +01:00
|
|
|
</footer>
|