summaryrefslogtreecommitdiff
path: root/ressources/includes/header.php
blob: caf4e891b5cc77f0be51e22d1ff8d578182d38ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

<header class="site-header">
  <a href="index.php"><h1 class="title">NeodarZ &#8239;<span style="font-family:'starjedi';">&</span></h1></a>

<?php
$page_actuel = basename($_SERVER['SCRIPT_NAME']);
?>

<nav id="main-nav">
  <ul id="main-menu">
    <li <?php if ($page_actuel == 'index.php') {echo ' id="en_cours"';} ?> ><a href="index.php"><i class="fa fa-home fa-lg"></i> Accueil</a></li>
    <li <?php if ($page_actuel == 'projets.php') {echo ' id="en_cours"';} ?> ><a href="projets.php"><i class="fa fa-book fa-lg"></i> Projets</a></li>
    <li <?php if ($page_actuel == '#') {echo ' id="en_cours"';} ?> ><a href="https://neodarz.ovh/wiki"><i class="fa fa-code fa-lg"></i> Blog</a></li>
    <li <?php if ($page_actuel == 'cv.php') {echo ' id="en_cours"';} ?> ><a href="cv.php"><i class="fa fa-code fa-lg"></i> CV</a></li>
  </ul>
</nav>

</header>