move into sonardesk
This commit is contained in:
@@ -11,11 +11,14 @@
|
||||
@if ($logoUrl)<img src="{{ $logoUrl }}" alt="{{ $siteTitle }}">@else{{ $siteTitle }}@endif
|
||||
</a>
|
||||
|
||||
@if (filter_var($headerContent['show_navigation'] ?? true, FILTER_VALIDATE_BOOL) && $navigationLinks)
|
||||
@if (filter_var($headerContent['show_navigation'] ?? true, FILTER_VALIDATE_BOOL))
|
||||
<nav class="desktop-nav" aria-label="Primary navigation">
|
||||
@foreach ($navigationLinks as $link)
|
||||
<a href="{{ $link['url'] }}" @if($link['target']) target="{{ $link['target'] }}" rel="noopener" @endif>{{ $link['label'] }}</a>
|
||||
<a href="{{ $link['url'] }}" @if($link['target'] ?? null) target="{{ $link['target'] }}" rel="noopener" @endif>{{ $link['label'] }}</a>
|
||||
@endforeach
|
||||
@if (Route::has('absdev.sonardesk.home'))
|
||||
<a href="{{ route('absdev.sonardesk.home') }}">SonarDesk</a>
|
||||
@endif
|
||||
</nav>
|
||||
@endif
|
||||
|
||||
@@ -32,21 +35,17 @@
|
||||
@if (filter_var($headerContent['show_registration'] ?? true, FILTER_VALIDATE_BOOL) && Route::has('register'))<a class="btn primary nav-register" href="{{ route('register') }}">{{ $siteSettings['registration_label'] }}</a>@endif
|
||||
@endauth
|
||||
@if (filter_var($headerContent['show_mobile_menu'] ?? true, FILTER_VALIDATE_BOOL))
|
||||
<button
|
||||
class="menu"
|
||||
type="button"
|
||||
aria-label="Open navigation"
|
||||
aria-controls="{{ $mobileMenuId }}"
|
||||
aria-expanded="false"
|
||||
data-saasland-menu-toggle
|
||||
><span></span><span></span><span></span></button>
|
||||
<button class="menu" type="button" aria-label="Open navigation" aria-controls="{{ $mobileMenuId }}" aria-expanded="false" data-saasland-menu-toggle><span></span><span></span><span></span></button>
|
||||
@endif
|
||||
</div>
|
||||
</header>
|
||||
@if (filter_var($headerContent['show_mobile_menu'] ?? true, FILTER_VALIDATE_BOOL))
|
||||
<div id="{{ $mobileMenuId }}" class="mobile-nav" data-saasland-mobile-nav hidden>
|
||||
@foreach($navigationLinks as $link)
|
||||
<a href="{{ $link['url'] }}" @if($link['target']) target="{{ $link['target'] }}" rel="noopener" @endif>{{ $link['label'] }}</a>
|
||||
<a href="{{ $link['url'] }}" @if($link['target'] ?? null) target="{{ $link['target'] }}" rel="noopener" @endif>{{ $link['label'] }}</a>
|
||||
@endforeach
|
||||
@if (Route::has('absdev.sonardesk.home'))
|
||||
<a href="{{ route('absdev.sonardesk.home') }}">SonarDesk</a>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user