fipamo/content/themes/fipamo-default-v2/includes/menu.blade.php

18 lines
772 B
PHP
Raw Permalink Normal View History

<div class="links">
<img id="menu-close" src="{{ $assetPath."/images/global/close.svg" }}"/><br />
<img class="logo-medium" src="{{ $assetPath."/images/global/fipamo-logo-primary.svg" }}"/><br />
@if(isset($menu))
@foreach($menu as $link)
@if(isset($dynamicRender))
@if($dynamicRender == 'true')
<a href="{{"/".$link['slug']}}" class="menu-link">{{$link['title']}}</a><br/>
@else
<a href="{{"/".$link['slug'].".html"}}" class="menu-link">{{$link['title']}}</a><br/>
@endif
@else
<a href="{{"/".$link['slug'].".html"}}" class="menu-link">{{$link['title']}}</a><br/>
@endif
@endforeach
@endif
</div>