diff --git a/public/img/front-page/bakalavr-special/odnew.svg b/public/img/front-page/bakalavr-special/odnew.svg new file mode 100644 index 0000000..946012e --- /dev/null +++ b/public/img/front-page/bakalavr-special/odnew.svg @@ -0,0 +1,25 @@ + + \ No newline at end of file diff --git a/public/img/front-page/bakalavr-special/telegramnew.svg b/public/img/front-page/bakalavr-special/telegramnew.svg new file mode 100644 index 0000000..07a2a18 --- /dev/null +++ b/public/img/front-page/bakalavr-special/telegramnew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/bakalavr-special/vknew.svg b/public/img/front-page/bakalavr-special/vknew.svg new file mode 100644 index 0000000..53a3a6f --- /dev/null +++ b/public/img/front-page/bakalavr-special/vknew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/bakalavr-special/yadzennew.svg b/public/img/front-page/bakalavr-special/yadzennew.svg new file mode 100644 index 0000000..3ce2ec2 --- /dev/null +++ b/public/img/front-page/bakalavr-special/yadzennew.svg @@ -0,0 +1,36 @@ + + \ No newline at end of file diff --git a/public/img/front-page/bakalavr-special/youtubenew.svg b/public/img/front-page/bakalavr-special/youtubenew.svg new file mode 100644 index 0000000..fe3e457 --- /dev/null +++ b/public/img/front-page/bakalavr-special/youtubenew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/inostran/odnew.svg b/public/img/front-page/inostran/odnew.svg new file mode 100644 index 0000000..998ad00 --- /dev/null +++ b/public/img/front-page/inostran/odnew.svg @@ -0,0 +1,22 @@ + + \ No newline at end of file diff --git a/public/img/front-page/inostran/telegramnew.svg b/public/img/front-page/inostran/telegramnew.svg new file mode 100644 index 0000000..790d702 --- /dev/null +++ b/public/img/front-page/inostran/telegramnew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/inostran/vknew.svg b/public/img/front-page/inostran/vknew.svg new file mode 100644 index 0000000..1b19a7f --- /dev/null +++ b/public/img/front-page/inostran/vknew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/inostran/yadzennew.svg b/public/img/front-page/inostran/yadzennew.svg new file mode 100644 index 0000000..cc9217f --- /dev/null +++ b/public/img/front-page/inostran/yadzennew.svg @@ -0,0 +1,33 @@ + + \ No newline at end of file diff --git a/public/img/front-page/inostran/youtubenew.svg b/public/img/front-page/inostran/youtubenew.svg new file mode 100644 index 0000000..4dde30d --- /dev/null +++ b/public/img/front-page/inostran/youtubenew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/magistr/odnew.svg b/public/img/front-page/magistr/odnew.svg new file mode 100644 index 0000000..feb7482 --- /dev/null +++ b/public/img/front-page/magistr/odnew.svg @@ -0,0 +1,22 @@ + + \ No newline at end of file diff --git a/public/img/front-page/magistr/telegramnew.svg b/public/img/front-page/magistr/telegramnew.svg new file mode 100644 index 0000000..22e63cb --- /dev/null +++ b/public/img/front-page/magistr/telegramnew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/magistr/vknew.svg b/public/img/front-page/magistr/vknew.svg new file mode 100644 index 0000000..03aa5b6 --- /dev/null +++ b/public/img/front-page/magistr/vknew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/public/img/front-page/magistr/yadzennew.svg b/public/img/front-page/magistr/yadzennew.svg new file mode 100644 index 0000000..49711f8 --- /dev/null +++ b/public/img/front-page/magistr/yadzennew.svg @@ -0,0 +1,33 @@ + + \ No newline at end of file diff --git a/public/img/front-page/magistr/youtubenew.svg b/public/img/front-page/magistr/youtubenew.svg new file mode 100644 index 0000000..05165bc --- /dev/null +++ b/public/img/front-page/magistr/youtubenew.svg @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/resources/views/new-design/bakalavr-special.blade.php b/resources/views/new-design/bakalavr-special.blade.php index d141eba..249967a 100644 --- a/resources/views/new-design/bakalavr-special.blade.php +++ b/resources/views/new-design/bakalavr-special.blade.php @@ -603,70 +603,91 @@ //echo '
' . print_r($out, 1) . '' @endphp - @foreach($out as $id => $page) -
{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
+ @if(count($out) >= 1) + @foreach($out as $id => $page) +{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
- - +' . print_r($out, 1) . '' @endphp - @foreach($out as $id => $page) -
{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
+ @if(count($out) >= 1) + @foreach($out as $id => $page) +{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
- - + @endforeach + +' . print_r($out, 1) . '' @endphp - @foreach($out as $id => $page) -
{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
+ @if(count($out) >= 1) + @foreach($out as $id => $page) +{{ Str::limit(preg_replace('/<([^>]+)>/', PHP_EOL, $item['text']), 100, "...") }}
- - + @endforeach + +