You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.5 KiB
PHTML

<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<ul class="navbar-nav sidebar-btn">
<li class="nav-item mr-5" style="white-space: nowrap;">
<a class="nav-link" data-widget="pushmenu" href="#" role="button">
<i class="fas fa-bars"></i>
<span class="sr-only">Toggle navigation</span>
</a>
@if(isset($page['title']) && !empty($page['title']))
<h2>{{ $page['title'] }}</h2>
@endif
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<span class="badge badge-success nav-user">
{{ auth()->user()->name }}
</span>
</li>
<li class="nav-item">
<a class="nav-link pl-3 pr-0 nav-big-icon" href="/" target="_blank" data-toggle="tooltip" data-placement="bottom" title="홈페이지">
<i class="fas fa-home"></i>
</a>
</li>
<li class="nav-item">
<a class="nav-link nav-big-icon" href="{{ route('cms.logout', null, false) }}" data-toggle="tooltip" data-placement="bottom" title="로그아웃">
<i class="fas fa-unlock"></i>
</a>
</li>
</ul>
</nav>
<aside class="main-sidebar sidebar-dark-primary elevation-4">
<h1>
<a href="{{ route('cms.index', null, false) }}" class="brand-link ">
<img src="/images/logo-admin.png" alt="청담K" class="brand-image" style="opacity:.8">
<span class="brand-text font-weight-light">청담K</span>
</a>
</h1>
<div class="sidebar">
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" role="menu">
<li class="nav-header">게시판</li>
<li class="nav-item">
<a href="{{ route('cms.board.list', ['notice'], false) }}" class="nav-link{{ (@$page['code'] == 'cms.board.notice') ? ' active' : '' }}">
<i class="nav-icon fas fa-book"></i>
<p>공지사항</p>
</a>
</li>
<li class="nav-item">
<a href="{{ route('cms.board.list', ['news'], false) }}" class="nav-link{{ (@$page['code'] == 'cms.board.news') ? ' active' : '' }}">
<i class="nav-icon fas fa-columns"></i>
<p>뉴스</p>
</a>
</li>
<li class="nav-item">
<a href="{{ route('cms.board.list', ['inquiry'], false) }}" class="nav-link{{ (@$page['code'] == 'cms.board.inquiry') ? ' active' : '' }}">
<i class="nav-icon fas fa-question-circle"></i>
<p>문의하기</p>
</a>
</li>
<li class="nav-header">운영 / 설정</li>
<li class="nav-item">
<a href="{{ route('cms.partner.list', null, false) }}" class="nav-link{{ (@$page['code'] == 'cms.partner') ? ' active' : '' }}">
<i class="nav-icon fas fa-flag"></i>
<p>제휴업체</p>
</a>
</li>
<li class="nav-item">
<a href="{{ route('cms.setting.list', null, false) }}" class="nav-link{{ (@$page['code'] == 'cms.setting') ? ' active' : '' }}">
<i class="nav-icon fas fa-cog"></i>
<p>사이트 설정</p>
</a>
</li>
</ul>
</nav>
</div>
</aside>