footer short links only on home

This commit is contained in:
Constantin Plaiasu 2024-09-02 20:18:09 +03:00
parent dc76dbcd0c
commit 16a05e53dc

View file

@ -28,16 +28,16 @@
</ul> </ul>
</div><!-- footer-widget end --> </div><!-- footer-widget end -->
</div> </div>
@if(request()->routeIs('home'))
<div class="col-lg-2 col-sm-4 mb-50"> <div class="col-lg-2 col-sm-4 mb-50">
<div class="footer-widget"> <div class="footer-widget">
<h4 class="footer-widget__title">@lang('Category')</h4> <h4 class="footer-widget__title">@lang('Category')</h4>
<ul class="link-list"> <ul class="link-list">
{{-- @foreach ($categories as $category) <li><a href="#">Link</a></li>
<li><a href="{{ route('category', $category->id) }}">{{ __($category->name) }}</a></li>
@endforeach --}}
</ul> </ul>
</div><!-- footer-widget end --> </div><!-- footer-widget end -->
</div> </div>
@endif
<div class="col-lg-4 col-sm-8 mb-50"> <div class="col-lg-4 col-sm-8 mb-50">
<div class="footer-widget"> <div class="footer-widget">
<h4 class="footer-widget__title">Subscribe News Letter</h4> <h4 class="footer-widget__title">Subscribe News Letter</h4>