Compare commits
No commits in common. "3a55cbae15cf2d59420c792165e2c85ef2846d5a" and "7f7d6a6a73e16c85eebe4f2d0a29ccecab31cd5b" have entirely different histories.
3a55cbae15
...
7f7d6a6a73
Binary file not shown.
Before Width: | Height: | Size: 2.5 MiB |
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 535 B |
|
@ -27,7 +27,8 @@
|
|||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Expires" content="0">
|
||||
|
||||
<script src="{{ URL::to('https://lidrekon.ru/slep/js/jquery.js') }}"></script>
|
||||
<script src="{{ URL::to('//lidrekon.ru/slep/js/uhpv-full.min.js') }}"></script>
|
||||
<script src="{{ asset('js/jquery-3.7.1.min.js') }}"></script>
|
||||
|
||||
</head>
|
||||
|
|
|
@ -75,8 +75,7 @@
|
|||
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous">
|
||||
|
||||
</script>
|
||||
<script src="{{ URL::to('https://lidrekon.ru/slep/js/jquery.js') }}"></script>
|
||||
<script src="{{ URL::to('//lidrekon.ru/slep/js/uhpv-full.min.js') }}"></script>
|
||||
|
||||
<body>
|
||||
|
||||
|
||||
|
@ -89,7 +88,7 @@
|
|||
style="height: 100%; ">
|
||||
<div style="width: 60%">
|
||||
<img class="img-fluid float-end "
|
||||
src="{{ URL::to('img/front-page/bakalavr-special/photo.png') }}" alt="">
|
||||
src="{{ URL::to('img/front-page/bakalavr-special/professor.png') }}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="ms-0 ms-md-5 ">
|
||||
|
@ -122,7 +121,7 @@
|
|||
{{-- <a href="#" class="col-auto px-lg-3 text-white text-sm-start " style="font-size: 20px;font-weight: 400;line-height: 29px;">--}}
|
||||
{{-- <div class="hover2"> RU </div>--}}
|
||||
{{-- </a>--}}
|
||||
<img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/visually-impaired-mode-icon.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />
|
||||
<img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/eye.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />
|
||||
{{-- <a type="button" class="col-auto px-lg-3 text-white text-sm-start visually_impaired_mode_button "--}}
|
||||
{{-- style="font-size: 20px;font-weight: 400;line-height: 29px;">--}}
|
||||
{{-- <div class="hover2"> Режим для слабовидящих</div>--}}
|
||||
|
@ -602,58 +601,51 @@
|
|||
|
||||
@php
|
||||
$out = array_chunk($all_news, 4, true);
|
||||
//echo '<pre>' . print_r($out, 1) . '</pre>'
|
||||
@endphp
|
||||
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="carousel-item @if($id == 1) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
@foreach($page as $item)
|
||||
<div class="col" style="max-width: 20%">
|
||||
<div class="row">
|
||||
<div class="col-12" >
|
||||
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
|
||||
<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 btn-primary" 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>
|
||||
<div class="col " style="max-width: 20%">
|
||||
<img src="{{$item['url']}}" class="img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px 20px 0px 0px;">
|
||||
<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 btn-primary" 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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-8 d-flex justify-content-center">
|
||||
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-4"> {{$item['text']}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-8">
|
||||
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-4"> {{$item['text']}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous">
|
||||
|
||||
</script>
|
||||
<script src="{{ URL::to('https://lidrekon.ru/slep/js/jquery.js') }}"></script>
|
||||
<script src="{{ URL::to('//lidrekon.ru/slep/js/uhpv-full.min.js') }}"></script>
|
||||
<body>
|
||||
|
||||
|
||||
|
@ -100,7 +98,6 @@
|
|||
{{-- <div class="hover2"> RU </div>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- <img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/eye.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />--}}
|
||||
<img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/visually-impaired-mode-icon.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -346,7 +343,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background-image: url({{ URL::to('img/front-page/inostran/fon3_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
<div style="background-image: url({{ URL::to('img/front-page/inostran/fon2_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
|
||||
<div class="container-fluid ms-sm-5 py-5">
|
||||
<div class="row">
|
||||
|
@ -572,11 +569,11 @@
|
|||
$out = array_chunk($all_news, 4, true);
|
||||
@endphp
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="carousel-item @if($id == 1) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
@foreach($page as $item)
|
||||
<div class="col " style="max-width: 20%">
|
||||
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style="border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
|
||||
<img src="{{$item['url']}}" class="img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px 20px 0px 0px;">
|
||||
<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>
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous">
|
||||
|
||||
</script>
|
||||
<script src="{{ URL::to('https://lidrekon.ru/slep/js/jquery.js') }}"></script>
|
||||
<script src="{{ URL::to('//lidrekon.ru/slep/js/uhpv-full.min.js') }}"></script>
|
||||
<body>
|
||||
|
||||
|
||||
|
@ -100,7 +98,6 @@
|
|||
{{-- <div class="hover2"> RU </div>--}}
|
||||
{{-- </a>--}}
|
||||
{{-- <img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/eye.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />--}}
|
||||
<img id="specialButton" style="cursor:pointer; width: 25px; height: 25px;" src="{{ URL::to('img/front-page/visually-impaired-mode-icon.png') }}" alt="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" title="ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -349,7 +346,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background-image: url({{ URL::to('img/front-page/magistr/fon3_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
<div style="background-image: url({{ URL::to('img/front-page/magistr/fon2_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
|
||||
|
||||
<div class="container-fluid ms-sm-5 py-5">
|
||||
<div class="row">
|
||||
|
@ -573,58 +570,51 @@
|
|||
|
||||
@php
|
||||
$out = array_chunk($all_news, 4, true);
|
||||
//echo '<pre>' . print_r($out, 1) . '</pre>'
|
||||
@endphp
|
||||
|
||||
@foreach($out as $id => $page)
|
||||
<div class="carousel-item @if($id == 0) active @endif \" >
|
||||
<div class="carousel-item @if($id == 1) active @endif \" >
|
||||
<div class="row d-flex align-items-center justify-content-center " >
|
||||
@foreach($page as $item)
|
||||
<div class="col" style="max-width: 20%">
|
||||
<div class="row">
|
||||
<div class="col-12" >
|
||||
<img src="{{$item['url']}}" class="w-100 border border-white border-2" style=" border-radius: 20px 20px 0px 0px; height: 14.5em; object-fit: cover ">
|
||||
<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 btn-primary" 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>
|
||||
<div class="col " style="max-width: 20%">
|
||||
<img src="{{$item['url']}}" class="img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px 20px 0px 0px;">
|
||||
<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 btn-primary" 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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-8 d-flex justify-content-center">
|
||||
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-4"> {{$item['text']}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="exampleModalNews-{{$item['id']}}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title fs-5" id="exampleModalLabel"> {{$item['name']}}</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-8">
|
||||
<img src="{{$item['url']}}" class=" img-fluid border border-white border-2" style="background-size: cover; border-radius: 20px;">
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-4"> {{$item['text']}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
|
|
Loading…
Reference in New Issue