¨4.0.1¨

This commit is contained in:
¨NW¨
2023-12-03 14:07:47 +00:00
parent c08b36d1b6
commit f35052522d
1112 changed files with 43019 additions and 24987 deletions

View File

@@ -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