footer short links only on home

This commit is contained in:
Constantin Plaiasu 2024-09-02 20:19:42 +03:00
parent 16a05e53dc
commit a807a12d1f

View file

@ -18,9 +18,19 @@
</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('Short Links')</h4> <h4 class="footer-widget__title">@lang('Short Links')</h4>
<ul class="link-list">
<li><a href="#">Link</a></li>
</ul>
</div><!-- footer-widget end -->
</div>
@endif
<div class="col-lg-2 col-sm-4 mb-50">
<div class="footer-widget">
<h4 class="footer-widget__title">@lang('Category')</h4>
<ul class="link-list"> <ul class="link-list">
{{-- @foreach ($links as $link) {{-- @foreach ($links as $link)
<li><a href="{{ route('links', [$link->id, slug($link->data_values->title)]) }}">{{ __($link->data_values->title) }}</a></li> <li><a href="{{ route('links', [$link->id, slug($link->data_values->title)]) }}">{{ __($link->data_values->title) }}</a></li>
@ -28,16 +38,6 @@
</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="footer-widget">
<h4 class="footer-widget__title">@lang('Category')</h4>
<ul class="link-list">
<li><a href="#">Link</a></li>
</ul>
</div><!-- footer-widget end -->
</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>