FEATURE: added sortiment subpage template
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<h2 class="hide-for-large">Kontakt</h2>
|
||||
<p class="contact-p green-text"><b>{{$page->module_settings->companyName or "Název společnosti"}}</b></p>
|
||||
<p class="contact-p">
|
||||
{!! nl2br($page->module_settings->address) or "Ulice<br>PSČ a Město<br>IČO" !!}
|
||||
{!! nl2br($page->module_settings->address) !!}
|
||||
<br>
|
||||
<br>
|
||||
-<br>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
@extendVisitor('defaultLayout')
|
||||
|
||||
@section('content')
|
||||
<div class="grey-wrapper">
|
||||
<div class="row column text-center m-b-25">
|
||||
<h2 id="assortment">{{$page->title}}</h2>
|
||||
</div>
|
||||
<div class="row text-center assorment-holder">
|
||||
@if (!empty($page->subpages()))
|
||||
@foreach($page->subpages() as $i => $subpage)
|
||||
<div class="product-category column medium-4 small-12">
|
||||
<a href="{{$subpage->url}}" class="button success large long rounded small-extra-large">{{$subpage->title}}</a>
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
<div class="clearfix"></div>
|
||||
<div class="m-b-25 m-t-50 p-lr-50-sm">
|
||||
{!! $page->content !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="green-wrapper clearfix">
|
||||
<div class="row column text-center" id="questions">
|
||||
<h4 class="w-t">MÁTE DOTAZY? NEBO NÁM CHCETE ZASLAT RYCHLOU POPTÁVKU?</h4>
|
||||
<a href="#" class="button secondary m-t-25 large rounded">RYCHLÝ FORMULÁŘ</a>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -1,5 +0,0 @@
|
||||
@extendVisitor('visitor.layout')
|
||||
|
||||
@section('content')
|
||||
{!! $page->content !!}
|
||||
@endsection
|
||||
Reference in New Issue
Block a user