mivita/resources/views/web/templates/_side_contact.blade.php
2025-08-12 18:01:59 +02:00

53 lines
No EOL
2.1 KiB
PHP

<div class="col-md-3 col-sm-4" style="border-left: 1px solid #ddd;">
@if($user_shop)
<h2 class="text-center">{{ __('website.contact') }}</h2>
<p class="text-center">{{ __('website.welcome_copy') }}</p>
<div class="text-center">
@if($user_shop->isImage())
<img class="img-responsive rounded avatar" src="{{ url($user_shop->getImage()) }}" alt="">
@else
<img class="img-responsive rounded avatar" src="{{ asset('assets/images/avatar.png') }}" alt="">
@endif
</div>
<p class="text-center">
@if($user_shop->title)
<strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong><br>
@endif
@if($user_shop->getLang('contact'))
{!! nl2br($user_shop->getLang('contact')) !!}
@endif
<br>
{{ $user_shop->getSubdomain(true) }}
</p>
@if($user_shop->getLang('accessibility'))
<p class="text-center">
<strong>{{ __('website.my_accessibility') }}:</strong><br>
{!! nl2br($user_shop->getLang('accessibility')) !!}
</p>
@endif
@else
<h2> {{ __('website.contact') }}</h2>
<hr/>
<p>
<span class="block"><strong><i class="fa fa-map-marker"></i>
{{ __('website.address') }}:<br></strong>
{!! __('website.contact_address') !!}</span>
<span class="block"><strong><i class="fa fa-phone"></i>
{{ __('website.phone') }}:</strong> <a
href="tel:{{ __('website.contact_number_link') }}">{{ __('website.contact_number') }}</a></span>
<span class="block"><strong><i class="fa fa-envelope"></i>
{{ __('website.email') }}:</strong> <a
href="mailto:{{ __('website.email_address') }} ">{{ __('website.email_address') }} </a></span>
</p>
<hr/>
<h4 class="font300">{{ __('website.business_hours') }} </h4>
<p>
<span class="block"><strong>{{ __('website.business_hours_details') }} </strong></span>
</p>
@endif
</div>