Merge branch 'customwristbands.cz' of binarity.cz:/opt/git/internal/cms/minicms into customwristbands.cz
This commit is contained in:
@@ -1,26 +1,30 @@
|
||||
@extendVisitor('homepageLayout')
|
||||
|
||||
@section('content')
|
||||
<div class="row column text-center medium-11 medium-centered m-t-25 p-lr-50-sm">
|
||||
<h2 id="assortment">{{$page->title}}</h2>
|
||||
<hr>
|
||||
<p>
|
||||
{!! $page->content !!}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@if (!empty($page->subpages()))
|
||||
<div class="row m-b-25 medium-11 medium-centered m-t-25 p-lr-50-sm" data-equalizer data-equalize-on="medium">
|
||||
@foreach($page->subpages() as $i => $subpage)
|
||||
<div class="column subpages text-center small-12 medium-6 large-3 left" data-equalizer-watch>
|
||||
<img class="thumbnail" src="{{config('app.upload_url')}}/{{$subpage->title_photo}}">
|
||||
<h5 class="assortment-h5">{{$subpage->title}}</h5>
|
||||
<p class="assortment-p">{{$subpage->meta_description}}</p>
|
||||
<a href="{{route('page.content', ['url' => $subpage->url])}}"
|
||||
class="assortment-more-btn text-center">- více zde -</a>
|
||||
</div>
|
||||
@endforeach
|
||||
@foreach($page->subpages() as $i => $subpage)
|
||||
<div class="row column text-center medium-11 medium-centered m-t-25 p-lr-50-sm">
|
||||
<h2 id="assortment">{{$subpage->title}}</h2>
|
||||
<hr>
|
||||
<p>
|
||||
{!! $subpage->content !!}
|
||||
</p>
|
||||
<div class="row m-b-25 medium-11 medium-centered m-t-25 p-lr-50-sm" data-equalizer data-equalize-on="medium">
|
||||
@if (!empty($subpage->subpages()))
|
||||
@foreach($subpage->subpages() as $y => $subSubpage)
|
||||
<div class="column subpages text-center small-12 medium-6 large-3 left" data-equalizer-watch>
|
||||
<img class="thumbnail" src="@upload($subSubpage->title_photo)">
|
||||
<h5 class="assortment-h5">{{$subSubpage->title}}</h5>
|
||||
<p class="assortment-p">{{$subSubpage->meta_description}}</p>
|
||||
<a href="{{route('page.content', ['url' => $subSubpage->url])}}"
|
||||
class="assortment-more-btn text-center">- více zde -</a>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user