38 lines
1.8 KiB
PHP
38 lines
1.8 KiB
PHP
@if ($page->children->count() > 6)
|
|
@php
|
|
$test = $page->children[6];
|
|
@endphp
|
|
<section class="feature-one section-pd">
|
|
<div class="container">
|
|
|
|
<div class="section-title text-center">
|
|
<div class="section-title__tagline-box"> <span class="section-title__tagline">{{ $test->title }}</span> </div>
|
|
<h2 class="section-title__title">{!! implode(' ', array_slice(explode(' ', $test->short_description), 0, 3)) .'<br>' .implode(' ', array_slice(explode(' ', $test->short_description), 3)) !!}</h2>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="feature-one__inner">
|
|
<div class="row">
|
|
<!--Feature One Single Start-->
|
|
@foreach($classes as $class)
|
|
<div class="col-xl-4 col-lg-4 wow fadeInLeft animated" data-wow-delay="100ms" style="visibility: visible; animation-delay: 100ms; animation-name: fadeInLeft;">
|
|
<div class="feature-one__single">
|
|
<div class="feature-one__shape-1" style="background-image: url('rohini/assets/images/shapes/feature-one-shape-1.png');"></div>
|
|
<div class="feature-one__shape-2" style="background-image: url('rohini/assets/images/shapes/feature-one-shape-2.png');"></div>
|
|
<div class="feature-one__icon"> <span class="{{ $class->icon_class }}"></span> </div>
|
|
<div class="feature-one__content">
|
|
<h3 class="feature-one__title"><a href="{{ route('test.single', $class->slug) }}">{{ $class->title }}</a></h3>
|
|
<a href="{{ route('test.single', $class->slug) }}" class="feature-one__read-more"><span class="icon-right-arrow"></span>Read More</a> </div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
<!--Feature One Single End-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@endif
|
|
|
|
|
|
|