2020-10-24 14:53:12 +09:00
|
|
|
<a href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" class="dropdown-item">
|
|
|
|
<strong>{{ Auth::user()->display_name }}</strong>
|
|
|
|
<p class="mb-0 text-muted">
|
|
|
|
<span>@{{ Auth::user()->name }}</span>
|
|
|
|
</p>
|
|
|
|
</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" class="dropdown-item">プロフィール</a>
|
2020-10-24 15:00:21 +09:00
|
|
|
<a href="{{ route('user.stats', ['name' => Auth::user()->name]) }}" class="dropdown-item">グラフ</a>
|
|
|
|
<a href="{{ route('user.okazu', ['name' => Auth::user()->name]) }}" class="dropdown-item">オカズ</a>
|
2020-10-24 14:53:12 +09:00
|
|
|
<a href="{{ route('user.likes', ['name' => Auth::user()->name]) }}" class="dropdown-item">いいね</a>
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a href="{{ route('setting') }}" class="dropdown-item">設定</a>
|
|
|
|
@can ('admin')
|
|
|
|
<a href="{{ route('admin.dashboard') }}" class="dropdown-item">管理</a>
|
|
|
|
@endcan
|
|
|
|
<a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">ログアウト</a>
|