HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/marisrental/boldt.tech/resources/views/site/components/navigation.blade.php
@if(\Auth('site')->check())
    <dd class="c-nav__item technical-fiche-materials">
        <a class="c-nav__link" href="{{ $links->fiches->route }}">
            {{ $links->fiches->name }}
        </a>
    </dd>
@endif
<nav class="c-nav">
    <dl class="c-nav__list">
        @foreach(config('site.navigation') as $navItem)
            @continue(empty($links->{$navItem}))

            <dd class="c-nav__item @if(isset($page->code_name) && $page->code_name == $navItem) is-active @endif">
                <a class="c-nav__link" href="{{ $links->{$navItem}->route }}">
                    {{ $links->{$navItem}->name }}
                </a>
            </dd>
        @endforeach
    </dl>
    <dl class="c-nav__actions">
        <dd class="c-nav__item phone">
            <a href="tel:{{\Config::get('site.company.phone.call')}}">
                <p>24/7 service</p>
                <span class="c-button c-button--ghost ">
                @include('site.components.icons.phone')
                    {{\Config::get('site.company.phone.display')}}
                </span>
            </a>
        </dd>
        <dd class="c-nav__item language">
            @include('site.components.languageSelect')
        </dd>
        @if(\Auth('site')->check())
            <a class="c-button login-button"
               href="{{localized_route('site.logout')}}">@lang('site/global.logout')</a>
        @else
            <a class="c-button login-button"
               href="{{localized_route('site.login')}}">@lang('site/global.login')</a>
        @endif
    </dl>
</nav>