Commit 4e8cb312 authored by GUINGAND SOLENE's avatar GUINGAND SOLENE
Browse files

ajout fil d'ariane partout

parent 2657e1ea
......@@ -164,4 +164,4 @@ header a {
margin-inline-start: 0px;
margin-inline-end: 0px;
padding-inline-start: 40px;
}
\ No newline at end of file
}
......@@ -549,14 +549,14 @@ samp {
* CSS Remedy, with `svg` added as well.
*
* https://github.com/mozdevs/cssremedy/issues/14
*
*
* 2. Add `vertical-align: middle` to align replaced elements more
* sensibly by default when overriding `display` by adding a
* utility like `inline`.
*
* This can trigger a poorly considered linting error in some
* tools but is included by design.
*
*
* https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
*/
 
......@@ -189609,4 +189609,4 @@ select {
.\32xl\:ease-in-out {
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
}
\ No newline at end of file
}
......@@ -33,6 +33,9 @@ $page = $_GET['page'] ?? null;
case 'medias':
echo 'Médias';
break;
case 'plan_site':
echo 'Plan du site';
break;
default:
echo 'Accueil';
} ?> - Frakass</title>
......@@ -54,7 +57,7 @@ $page = $_GET['page'] ?? null;
</ul>
<header class="flex flex-wrap justify-between items-center bg-primary text-white p-5">
<div>
<h1 class="text-4xl"><a href="../" aria-label="Accueil de Frakass">Frakass</a></h1>
<h1 class="text-4xl"><a href="../" aria-label="Accueil">Frakass</a></h1>
<p>Un site accessible</p>
</div>
<nav aria-label="Navigation principale" class="flyout-nav" id="main-menu">
......@@ -90,14 +93,14 @@ $page = $_GET['page'] ?? null;
function get_fil_ariane($array_fil)
{
$fil = '<a title="Accueil" href="index.php" class="fil">Frakass</a>';
$fil = '<div aria-label="Fil d\'ariane"><a title="Accueil" href="index.php" class="fil">Accueil</a>';
foreach ($array_fil as $url => $lien) {
$fil .= ' > ';
if ($url == 'final') {
$fil .= $lien;
break;
}
$fil .= '<a title="' . $lien . '"href="' . $url . '">' . $lien . '</a>';
$fil .= '<a title="' . $lien . '"href="' . $url . '">' . $lien . '</a></div>';
}
echo $fil;
};
......@@ -106,37 +109,41 @@ $page = $_GET['page'] ?? null;
switch ($page) {
case 'recherche':
$include = 'pages/recherche.html';
get_fil_ariane(array('index.php?page=recherche' => 'recherche'));
get_fil_ariane(array('index.php?page=recherche' => 'Recherche'));
break;
case 'tableau':
$include = 'pages/tableau.html';
get_fil_ariane(array('index.php?page=tableau' => 'tableaux'));
get_fil_ariane(array('index.php?page=tableau' => 'Tableaux'));
break;
case 'video':
$include = 'pages/video.html';
get_fil_ariane(array('index.php?page=video' => 'video'));
get_fil_ariane(array('index.php?page=video' => 'Vidéos'));
break;
case 'contact':
$include = 'pages/contact.php';
get_fil_ariane(array('index.php?page=video' => 'Contact'));
break;
case 'image':
$include = 'pages/image.html';
get_fil_ariane(array('index.php?page=video' => 'Images'));
break;
case 'declaration':
$include = 'pages/declaration.html';
get_fil_ariane(array('index.php?page=video' => 'Déclaration d\'accessibilité'));
break;
case 'medias':
$include = 'pages/medias.html';
get_fil_ariane(array('index.php?page=video' => 'Médias'));
break;
case 'image':
$include = 'pages/image.html';
get_fil_ariane(array('index.php?page=image' => 'image'));
get_fil_ariane(array('index.php?page=image' => 'Images'));
break;
case 'plan_site':
$include = 'pages/plan_site.html';
get_fil_ariane(array('index.php?page=plan_site' => 'plan du site'));
get_fil_ariane(array('index.php?page=plan_site' => 'Plan du site'));
break;
default:
......
......@@ -131,7 +131,7 @@
</tbody>
</table>
<h3 id="simple-table">Tableaux simplifiés</h3>
<h3 class="text-3xl mt-10" id="simple-table">Tableaux simplifiés</h3>
<table class="table-auto border rounded-md">
<caption class="my-3 text-left text-xl font-medium">
Stock de vêtements des villes en Belgique
......
......@@ -9,12 +9,9 @@ module.exports = {
primary: {
DEFAULT: "#0E427E"
}
<<<<<<< HEAD
},
fontFamily: {
sans: ["'Source Sans Pro'"]
=======
>>>>>>> 02bc39777723a79d63b3dd7a9f67caf2d544957b
}
}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment