
<link rel="stylesheet" href="<?php echo dir_root; ?>_global/navbar/navbar.css" />

<!-- Navigation Bar -->
<header id="header-desktop">
	<h1>
		<a href="<?php echo dir_root; ?>index.php"><img src="<?php echo dir_root; ?>images/logov2.png" width="200px" style="margin: 10px 0px"></a>
	</h1>

	<nav id="nav-desktop" style="right: unset; left: 18em;">
		<ul>
			<li><a href="<?php echo dir_root; ?>index.php">Home</a></li>
			<li><a href="#">Our Research</a></li>
			<li><a href="#">Team</a></li>
		</ul>
	</nav>

	<?php
		$signed_in = isset($_SESSION['user']) ? '' : 'ctm-hide';
		$signed_out = isset($_SESSION['user']) ? 'ctm-hide' : '';
	?>

	<nav id="nav-desktop">
		<ul>
			<!-- only show 'without login' -->
			<li class="<?php echo $signed_out; ?>"><a href="#">Sign-Up</a></li>
			<li class="<?php echo $signed_out; ?>"><a href="<?php echo dir_root; ?>signin.php" class="button special" style="text-transform: unset;">Login</a></li>
			<!-- only show 'after login' -->
			<li class="<?php echo $signed_in; ?>"><a href="<?php echo dir_root; ?>account/dashboard.php">Dashboard</a></li>
			<li class="<?php echo $signed_in; ?>"><a href="#"><i class="fas fa-user"></i>  Profile</a></li>
			<li class="<?php echo $signed_in; ?>"><a href="<?php echo dir_root; ?>signout.php" class="button special" style="text-transform: unset;">Logout</a></li>
			<li><a href="<?php echo dir_root; ?>generic.php">Generic</a></li>
			<li><a href="<?php echo dir_root; ?>elements.php">Elements</a></li>
		</ul>
	</nav>
</header>