topheaderads fixed material.blade

This commit is contained in:
Mahri Ilmedova 2022-08-26 17:39:28 +05:00
parent 1ff39e24d1
commit d5e8ecf007
1 changed files with 9 additions and 3 deletions

View File

@ -59,9 +59,15 @@
<div class="container kesde" style="width: 100%; margin-top: 50px">
@if(!empty($topheaderadvs))
<a href="https://content.turkmentv.gov.tm/{{$topheaderadvs->url_bottom ?? '#'}}">
<img src="https://content.turkmentv.gov.tm/{{$topheaderadvs->bottom_img_url ?? '#'}}" alt="{{$topheaderadvs->alt_bottom ?? ''}}" style="width: 100%">
</a>
@if($topheaderadvs->url_bottom)
<a href="https://content.turkmentv.gov.tm/{{$topheaderadvs->url_bottom}}">
<img src="https://content.turkmentv.gov.tm/{{$topheaderadvs->bottom_img_url}}" style="width: 100%">
</a>
@else
<a href="#">
<img src="https://content.turkmentv.gov.tm/{{$topheaderadvs->bottom_img_url}}" style="width: 100%">
</a>
@endif
@endif
</div>
</div>