File: D:/HostingSpaces/SBogers84/zuiderbos.nl/app/views/layouts/partials/mobile/footerLinks.blade.php
{{-- New at Zuiderbos --}}
<section class="new-zuiderbos footer-link-block">
<a href="/{{$links->{$page->root->code_name.'-parents-steps'}->route}}" class="placeholder">
<figure></figure>
<div class="text">
<h4>{{\KommaLang::get('newZuiderbos')}}</h4>
<p>{{\KommaLang::get('followSteps')}}</p>
</div>
<span></span>
</a>
</section>
{{-- Latest news --}}
<section class="latest-news footer-link-block">
<a href="/{{$links->{$page->root->code_name.'-actual'}->route}}" class="placeholder">
<figure></figure>
<div class="text">
<h4>{{$links->{$page->root->code_name.'-actual'}->name}}</h4>
<p>{{\KommaLang::get('alwaysUpToDate')}}</p>
</div>
<span></span>
</a>
</section>
{{-- faq --}}
<section class="faq footer-link-block">
<a href="/{{$links->{$page->root->code_name.'-faq'}->route}}" class="placeholder">
<figure></figure>
<div class="text">
<h4>{{\KommaLang::get('searchFaq')}}</h4>
</div>
<span></span>
</a>
</section>
{{-- Download --}}
<?php
// We should have made a multi site out of this project...
if(!isset($page->schoolGuide)) {
$page->schoolGuide = $page->school->documents()->whereIn('documents.id', [5,6,7])->get()->first();
}
?>
@if($page->schoolGuide != null)
<section class="guide footer-link-block">
<a href="{{$page->schoolGuide->file->path}}" target="_blank" class="placeholder">
<figure></figure>
<div class="text">
<h4>{{KommaLang::get('schoolGuide')}}</h4>
</div>
<span></span>
</a>
</section>
@endif