@php
if (!isset($user_name)) $user_name = '';
@endphp
<header id="top" class="bg-light">
    <div class="container pt10">
        <div class="row mt10 mb10">
            <div class="col-5 col-lg-4">
                <a id="site-logo" class="navbar-brand" href="{{ url('/mypage') }}">
                    <img src="{{ asset('assets/img/so-rin_logo.png') }}" alt="logo" />
                    <h1>
                        <span class="small pc">駐車場・駐輪場総合サポートの株式会社ソーリン<br></span>
                        So-Manager
                    </h1>
                </a>
            </div>
            <div class="col-6 col-lg-4 ml-auto tl-btn-area">
                <a href="{{ url('/mypage') }}" class="" id="login-btn">
                    <span class="small d-none d-xl-inline">ようこそ</span>{{ $user_name }}さん
                </a>
                <a href="{{ url('/logout') }}" class="btn btn-outline-secondary badge-pill pc" id="sub-btn">ログアウト</a>
                <a class="d-lg-none h2" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample" href="#collapseExample" id="nav-menu-btn">
                </a>
            </div>
        </div>
    </div>
</header>