header.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <!-- Page description -->
  7. <meta name="description" content="The official website of Jovian Hersemeule.">
  8. <meta name="author" content="Jovian Hersemeule">
  9. <meta property="og:image" content="images/home_picture_v1.jpg">
  10. <!-- Style sheet -->
  11. <link href="/css/bootstrap.css" rel="stylesheet">
  12. <link href="/css/custom/main.css" rel="stylesheet">
  13. <link href="/css/custom/pagination.css" rel="stylesheet">
  14. <title><?php echo $title;?> - Jovian Hersemeule</title>
  15. </head>
  16. <body>
  17. <!-- Navbar -->
  18. <nav class="navbar navbar-expand-md navbar-dark bg-success fixed-top">
  19. <a class="navbar-brand" href="index.php">Jovian Hersemeule</a>
  20. <img class="rounded-circle jovian-toggler" type="button" data-toggle="collapse" data-target="#joviaNav"
  21. aria-controls="joviaNav"
  22. aria-expanded="false" aria-label="Dérouler le menu" src="https://img.icons8.com/color/48/000000/menu-2.png"
  23. alt="V">
  24. <div class="collapse navbar-collapse" id="joviaNav">
  25. <ul class="navbar-nav mr-auto">
  26. <li class="nav-item <?php if ($title == "Accueil") echo "active";?>">
  27. <a class="nav-link" href="index.php">
  28. <img src="https://img.icons8.com/color/48/000000/city.png" alt="|">
  29. Accueil
  30. </a>
  31. </li>
  32. <li class="nav-item <?php if ($title == "CV") echo "active";?>">
  33. <a class="nav-link" href="cv.php">
  34. <img src="https://img.icons8.com/color/48/000000/parse-from-clipboard.png" alt="|">
  35. CV
  36. </a>
  37. </li>
  38. <li class="nav-item dropdown <?php if ($title == "Projets") echo "active";?>">
  39. <a class="nav-link dropdown-toggle" href="projects.php" id="dropdown01" data-toggle="dropdown"
  40. aria-haspopup="true" aria-expanded="false">
  41. <img src="https://img.icons8.com/color/48/000000/code.png" alt="|">
  42. Projets
  43. </a>
  44. <div class="dropdown-menu" aria-labelledby="dropdown01">
  45. <a class="dropdown-item <?php if ($title == "Projets") echo "active";?>" href="projects.php">Liste des projets</a>
  46. <div class="dropdown-divider"></div>
  47. <a class="dropdown-item <?php if ($title == "Site") echo "active";?>" href="projets/pro_static_site.php">
  48. Jovian Website
  49. </a>
  50. <a class="dropdown-item <?php if ($title == "ASCII") echo "active";?>" href="projets/pro_ascii_space.php">
  51. ASCII Space Destroyer
  52. </a>
  53. <a class="dropdown-item <?php if ($title == "Pulsar") echo "active";?>" href="projets/pro_pulsar.php">
  54. Pulsar
  55. </a>
  56. <a class="dropdown-item <?php if ($title == "Quoridor") echo "active";?>" href="projets/pro_quoridor.php">
  57. Quoridor
  58. </a>
  59. </div>
  60. </li>
  61. <li class="nav-item <?php if ($title == "Contact") echo "active";?>">
  62. <a class="nav-link" href="contact.php">
  63. <img src="https://img.icons8.com/color/48/000000/secured-letter.png" alt="|">
  64. Contact
  65. </a>
  66. </li>
  67. </ul>
  68. </div>
  69. </nav>