summaryrefslogtreecommitdiff
path: root/ressources/includes/header.php
blob: 24ec0e6364009a6561db807da0bfeecc778141ec (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://blog.neodarz.ovh"><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>