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.

79 lines
3.6 KiB
PHTML

2 years ago
<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="{{ route('index') }}" target="_blank" data-toggle="tooltip" data-placement="bottom" title="홈페이지">
2 years ago
<i class="fas fa-home"></i>
</a>
</li>
<li class="nav-item">
2 years ago
<a class="nav-link nav-big-icon" href="{{ route('cms.logout', null, false) }}" data-toggle="tooltip" data-placement="bottom" title="로그아웃">
2 years ago
<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 pl-4">
<!--img src="/images/logo-admin.png" alt="{{ $settings->site_name }}" class="brand-image"-->
<span class="brand-text">{{ $settings->site_name }}</span>
2 years ago
</a>
</h1>
<div class="sidebar">
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" role="menu">
<!--
2 years ago
<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>
-->
2 years ago
<li class="nav-item">
<a href="{{ route('cms.board.list', ['gallery'], false) }}" class="nav-link{{ (@$page['code'] == 'cms.board.gallery') ? ' active' : '' }}">
2 years ago
<i class="nav-icon fas fa-columns"></i>
<p>포트폴리오</p>
2 years ago
</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>
2 years ago
</a>
</li>
<!--
2 years ago
<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>
-->
2 years ago
<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>