<?php
/**
 * File			: sidebar.php
 * Description  : View untuk menu samping (sidebar)
 * Created By	: Hendi
 * Created Date : 14 Mar 2021
 * Last Update  : 15 Mar 2021
**/
?>
<ul class="nav">
	<li class="nav-item active">
		<a class="nav-link level-1" href="<?= base_url('/dashboard') ?>">
			<i class="material-icons">dashboard</i>
			<p>Dashboard</p>
		</a>
	</li>
	<?php if (session()->get('is_loggedin')) { ?>
	<li class="nav-item">
		<a class="nav-link level-1" href="<?= base_url('/antrian') ?>">
			<i class="material-icons">fact_check</i>
			<p>Antrian</p>
		</a>
	</li>
	<li class="nav-item">
		<a class="nav-link level-1" href="<?= base_url('/history') ?>">
			<i class="material-icons">history</i>
			<p>History</p>
		</a>
	</li>
	<li class="nav-item">
		<a class="nav-link level-1" href="<?= base_url('/menu') ?>">
			<i class="material-icons">list_alt</i>
			<p>Menu</p>
		</a>
	</li>
	
	<?php } ?>
</ul>