feature/visually-impaired-mode #58
|
@ -603,6 +603,7 @@
|
|||
//echo '<pre>' . print_r($out, 1) . '</pre>'
|
||||
@endphp
|
||||
|
||||
@if(count($out) >= 1)
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
|
@ -667,6 +668,26 @@
|
|||
@endfor
|
||||
|
||||
</div>
|
||||
@else
|
||||
<div class="carousel-item active" >
|
||||
<div class="w-100 d-flex align-items-center justify-content-center " >
|
||||
|
||||
<div class="col-11 text-center" style="margin-right: 2em">
|
||||
<div class="display-6 text-white"> Пока нет новостей! </div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<br><br><br><br>
|
||||
</div>
|
||||
<div class="carousel-indicators mt-5">
|
||||
|
||||
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
|
||||
|
||||
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
@ -785,6 +806,7 @@
|
|||
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/rutub.png') }}" alt="vid"></a>
|
||||
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/dzen.png') }}" alt="vid"></a>
|
||||
<a href="#"><img width="30px" height="30px" src="{{ URL::to('img/front-page/odnok.png') }}" alt="vid"></a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col mt-3 mt-xl-0" >
|
||||
|
|
|
@ -603,6 +603,7 @@
|
|||
//echo '<pre>' . print_r($out, 1) . '</pre>'
|
||||
@endphp
|
||||
|
||||
@if(count($out) >= 1)
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
|
@ -614,7 +615,7 @@
|
|||
<div class="bg-white border border-white border-2" style="border-radius: 0px 0px 20px 20px ; height: 10.5em;">
|
||||
<div class=" p-3" style="">
|
||||
<strong class="fs-5 gradient-text" style="font-family: Geologica-Light"> {{$item['name']}} </strong>
|
||||
<br><button type="button" class="btn text-white" style="background: #9739f6" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
|
||||
<br><button style="background: #9739f6;" type="button" class="btn text-white" data-bs-toggle="modal" data-bs-target="#exampleModalNews-{{$item['id']}}"> читать полностью</button>
|
||||
<p class="gradient-text" style="font-family: Geologica-ExtraLight;">{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }} </p>
|
||||
|
||||
|
||||
|
@ -667,6 +668,25 @@
|
|||
@endfor
|
||||
|
||||
</div>
|
||||
@else
|
||||
<div class="carousel-item active" >
|
||||
<div class="w-100 d-flex align-items-center justify-content-center " >
|
||||
|
||||
<div class="col-11 text-center" style="margin-right: 2em">
|
||||
<div class="display-6 text-white"> Пока нет новостей! </div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<br><br><br><br>
|
||||
</div>
|
||||
<div class="carousel-indicators mt-5">
|
||||
|
||||
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
|
||||
|
||||
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -604,6 +604,7 @@
|
|||
//echo '<pre>' . print_r($out, 1) . '</pre>'
|
||||
@endphp
|
||||
|
||||
@if(count($out) >= 1)
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
|
@ -668,6 +669,25 @@
|
|||
@endfor
|
||||
|
||||
</div>
|
||||
@else
|
||||
<div class="carousel-item active" >
|
||||
<div class="w-100 d-flex align-items-center justify-content-center " >
|
||||
|
||||
<div class="col-11 text-center" style="margin-right: 2em">
|
||||
<div class="display-6 text-white"> Пока нет новостей! </div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<br><br><br><br>
|
||||
</div>
|
||||
<div class="carousel-indicators mt-5">
|
||||
|
||||
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide1"></button>
|
||||
|
||||
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue