¨4.0.1¨
This commit is contained in:
@@ -11,20 +11,31 @@
|
||||
@if (setting('store_phone') && ! setting('store_phone_hide'))
|
||||
<li>
|
||||
<i class="las la-phone"></i>
|
||||
<span>{{ setting('store_phone') }}</span>
|
||||
|
||||
<a href="tel:+1 206 555 0100" class="store-phone">
|
||||
<span>{{ substr(setting('store_phone'), 0 , strlen(setting('store_phone')) / 2) }}</span>
|
||||
<span class="d-none">JUNK LOAD</span>
|
||||
<span>{{ substr(setting('store_phone'), strlen(setting('store_phone')) / 2) }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (setting('store_email') && ! setting('store_email_hide'))
|
||||
<li>
|
||||
<i class="las la-envelope"></i>
|
||||
<span>{{ setting('store_email') }}</span>
|
||||
|
||||
<a href="mailto:user@email.com" class="store-email">
|
||||
<span>{{ substr(setting('store_email'), 0 , strlen(setting('store_email')) / 2) }}</span>
|
||||
<span class="d-none">JUNK LOAD</span>
|
||||
<span>{{ substr(setting('store_email'), strlen(setting('store_email')) / 2) }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (setting('storefront_address'))
|
||||
<li>
|
||||
<i class="las la-map"></i>
|
||||
|
||||
<span>{{ setting('storefront_address') }}</span>
|
||||
</li>
|
||||
@endif
|
||||
@@ -151,7 +162,7 @@
|
||||
@if ($acceptedPaymentMethodsImage->exists)
|
||||
<div class="col-md-9 col-sm-18">
|
||||
<div class="footer-payment">
|
||||
<img src="{{ $acceptedPaymentMethodsImage->path }}" alt="accepted payment methods">
|
||||
<img src="{{ $acceptedPaymentMethodsImage->path }}" alt="Accepted payment methods">
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -160,3 +171,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
@push('scripts')
|
||||
<script type="module">
|
||||
$('.store-phone').attr('href', `tel:{{ setting('store_phone') }}`);
|
||||
$('.store-email').attr('href', `mailto:{{ setting('store_email') }}`);
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user