@@ -1,10 +1,10 @@
|
||||
@php
|
||||
$companyName = config('shop.company_name', config('app.name'));
|
||||
$companyDescription = config('shop.company_description');
|
||||
$companyDescription = __(config('shop.company_description'));
|
||||
$contactPhone = trim((string) config('shop.contact_phone'));
|
||||
$contactEmail = trim((string) config('shop.contact_email'));
|
||||
$contactTelegram = trim((string) config('shop.contact_telegram'));
|
||||
$contactHours = trim((string) config('shop.contact_hours'));
|
||||
$contactHours = trim((string) __(config('shop.contact_hours')));
|
||||
$telegramUrl = '';
|
||||
$phoneUrl = '';
|
||||
$emailUrl = '';
|
||||
@@ -32,28 +32,28 @@
|
||||
</div>
|
||||
<div class="pc-footer-columns">
|
||||
<div class="pc-footer-col">
|
||||
<h4>Каталог</h4>
|
||||
<h4>{{ __('Каталог') }}</h4>
|
||||
<ul class="pc-footer-list">
|
||||
<li><a href="{{ route('catalog.index') }}">Все категории</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'processors') }}">Процессоры</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'graphics-cards') }}">Видеокарты</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'laptops') }}">Ноутбуки</a></li>
|
||||
<li><a href="{{ route('catalog.index') }}">{{ __('Все категории') }}</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'processors') }}">{{ __('Процессоры') }}</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'graphics-cards') }}">{{ __('Видеокарты') }}</a></li>
|
||||
<li><a href="{{ route('catalog.category', 'laptops') }}">{{ __('Ноутбуки') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pc-footer-col">
|
||||
<h4>Покупателю</h4>
|
||||
<h4>{{ __('Покупателю') }}</h4>
|
||||
<ul class="pc-footer-list">
|
||||
<li><a href="{{ route('cart.index') }}">Корзина</a></li>
|
||||
<li><a href="{{ route('favorites.index') }}">Избранное</a></li>
|
||||
<li><a href="{{ route('compare.index') }}">Сравнение</a></li>
|
||||
<li><a href="{{ route('pages.shipping-payment') }}">Доставка и оплата</a></li>
|
||||
<li><a href="{{ route('cart.index') }}">{{ __('Корзина') }}</a></li>
|
||||
<li><a href="{{ route('favorites.index') }}">{{ __('Избранное') }}</a></li>
|
||||
<li><a href="{{ route('compare.index') }}">{{ __('Сравнение') }}</a></li>
|
||||
<li><a href="{{ route('pages.shipping-payment') }}">{{ __('Доставка и оплата') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pc-footer-col">
|
||||
<h4>Контакты</h4>
|
||||
<h4>{{ __('Контакты') }}</h4>
|
||||
<div class="pc-footer-contact">
|
||||
@if ($phoneUrl !== '')
|
||||
<span>Телефон: <a href="{{ $phoneUrl }}">{{ $contactPhone }}</a></span>
|
||||
<span>{{ __('Телефон') }}: <a href="{{ $phoneUrl }}">{{ $contactPhone }}</a></span>
|
||||
@endif
|
||||
@if ($emailUrl !== '')
|
||||
<span>Email: <a href="{{ $emailUrl }}">{{ $contactEmail }}</a></span>
|
||||
@@ -69,7 +69,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="pc-footer-bottom">
|
||||
<span>(c) {{ date('Y') }} {{ $companyName }}. Все права защищены.</span>
|
||||
<span><a href="{{ route('pages.about') }}">О компании</a> / <a href="{{ route('pages.contacts') }}">Контакты</a></span>
|
||||
<span>{{ __('(c) :year :company. Все права защищены.', ['year' => date('Y'), 'company' => $companyName]) }}</span>
|
||||
<span><a href="{{ route('pages.about') }}">{{ __('О компании') }}</a> / <a href="{{ route('pages.contacts') }}">{{ __('Контакты') }}</a></span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user