first
This commit is contained in:
38
resources/views/client/rohini/pages/partials/class.blade.php
Normal file
38
resources/views/client/rohini/pages/partials/class.blade.php
Normal file
@@ -0,0 +1,38 @@
|
||||
@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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user