Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frakass.jsx
Accessibilité
Commits
4e8cb312
Commit
4e8cb312
authored
Dec 06, 2021
by
GUINGAND SOLENE
Browse files
ajout fil d'ariane partout
parent
2657e1ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
css/index.css
View file @
4e8cb312
...
...
@@ -164,4 +164,4 @@ header a {
margin-inline-start
:
0px
;
margin-inline-end
:
0px
;
padding-inline-start
:
40px
;
}
\ No newline at end of file
}
css/tailwind.css
View file @
4e8cb312
...
...
@@ -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
}
index.php
View file @
4e8cb312
...
...
@@ -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'
=>
'
r
echerche'
));
get_fil_ariane
(
array
(
'index.php?page=recherche'
=>
'
R
echerche'
));
break
;
case
'tableau'
:
$include
=
'pages/tableau.html'
;
get_fil_ariane
(
array
(
'index.php?page=tableau'
=>
'
t
ableaux'
));
get_fil_ariane
(
array
(
'index.php?page=tableau'
=>
'
T
ableaux'
));
break
;
case
'video'
:
$include
=
'pages/video.html'
;
get_fil_ariane
(
array
(
'index.php?page=video'
=>
'
v
id
eo
'
));
get_fil_ariane
(
array
(
'index.php?page=video'
=>
'
V
id
é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'
=>
'
i
mage'
));
get_fil_ariane
(
array
(
'index.php?page=image'
=>
'
I
mage
s
'
));
break
;
case
'plan_site'
:
$include
=
'pages/plan_site.html'
;
get_fil_ariane
(
array
(
'index.php?page=plan_site'
=>
'
p
lan du site'
));
get_fil_ariane
(
array
(
'index.php?page=plan_site'
=>
'
P
lan du site'
));
break
;
default
:
...
...
pages/tableau.html
View file @
4e8cb312
...
...
@@ -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
...
...
tailwind.config.js
View file @
4e8cb312
...
...
@@ -9,12 +9,9 @@ module.exports = {
primary
:
{
DEFAULT
:
"
#0E427E
"
}
<<<<<<<
HEAD
},
fontFamily
:
{
sans
:
[
"
'Source Sans Pro'
"
]
=======
>>>>>>>
02
bc39777723a79d63b3dd7a9f67caf2d544957b
}
}
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment