Compare commits

..

15 commits

Author SHA1 Message Date
Tixie d0efe739e8
fix yaml de la task pour désindexer le site si c'est un déploiement en preprod 2024-06-10 11:46:07 +02:00
Tixie 3b0acc7e20
highlight contact infos 2024-06-10 11:46:07 +02:00
Tixie 274bbef305
Améliorer l'affordance des liens vers les services 2024-06-10 11:46:06 +02:00
Tixie d003bbb8d8
CI: Ajout d'une task pour désindexer le site si c'est un déploiement en preprod
Pour éviter que les moteurs de recherche flag du duplicate content parce qu'on a plusieurs sites identiques en ligne
2024-06-10 11:46:06 +02:00
Tixie ddfea36db0
fix(layout.css): Remove old underline 2024-06-10 11:46:06 +02:00
Tixie ef8acfd788
CI(tidy-html): ignore empty tag, generating warning 2024-06-10 11:46:06 +02:00
Tixie 74c59d1dc0
Fix HTML closing tag 2024-06-10 11:46:06 +02:00
Adrian Rosin d20e4aaab9
Merge remote-tracking branch 'origin/feat/UnderlignedTitle'
# Conflicts:
#	static/css/home.css
#	static/css/layout.css
#	static/index.html
2024-06-10 11:46:06 +02:00
Adrian Rosin d9de2b30bd
added role and aria-label to the div ordinateur #28 2024-06-10 11:46:05 +02:00
Adrian Rosin 6283936170
added rapport.md 2024-06-10 11:46:05 +02:00
Adrian Rosin 72f30c4319
fix: removed li role=none & aria-orintation=vertical #29
# Conflicts:
#	static/index.html
2024-06-10 11:46:05 +02:00
Tixie 8e269d3e55
CI: Ajout d'une task pour désindexer le site si c'est un déploiement en preprod
Pour éviter que les moteurs de recherche flag du duplicate content parce qu'on a plusieurs sites identiques en ligne
2024-06-10 11:45:31 +02:00
Adrian Rosin e5df39ed50
feat: join us link
# Conflicts:
#	static/index.html
2024-06-10 11:45:31 +02:00
Tixie 2ca54a5e91
Rendre le header selectionnable 2024-06-10 11:45:31 +02:00
Tixie efc93b142a
Renommer Wiki pour Guide dans la navigation 2024-06-07 16:43:23 +02:00
2 changed files with 54 additions and 57 deletions

View file

@ -66,17 +66,17 @@
<li>
<a href="https://guide.deuxfleurs.fr/" role="menuitem" aria-label="wiki" class="icone">
<pre aria-hidden="true">
((((((()
|------|
| WIKI |
|------|
|______| </pre>
(((((((()
|-------|
| GUIDE |
|-------|
|_______| </pre>
<pre class="img_top" aria-hidden="true">
((((((()
/-----/|
/-----/ |
/_____/ |
|______| </pre>
(((((((()
/------/|
/------/ |
/______/ |
|_______| </pre>
</a>
</li>
<li>

View file

@ -1,47 +1,44 @@
// dictionary to keep track of frame count for each animation
let frameCounts = {};
function animate(id, delay) {
// get the container and frames for the amination
const container = document.getElementById(id);
const frames = container.children;
// set up the frame counter
frameCounts[id] = 0;
// hide all frames except for the first
frames[0].style.display = "flex";
for (let i = 1; i < frames.length; i++) {
frames[i].style.display = "none";
}
// start the animation
const interval = setInterval(updateAnimation, delay, id, frames, frames.length);
}
function updateAnimation(id, frames, totalFrames) {
// increment the frame counter for the given id
frameCounts[id] = (frameCounts[id] + 1) % totalFrames;
// show the next frame
frames[frameCounts[id]].style.display = "flex";
// hide the previous frame
if (frameCounts[id] == 0) {
frames[totalFrames - 1].style.display = "none";
} else {
frames[frameCounts[id] - 1].style.display = "none";
}
}
// If the user have a setting on their device to minimize the amount of non-essential motion
const preferReduceMotion = window.matchMedia("(prefers-reduced-motion)").matches;
animate("illustration-accueil", preferReduceMotion ? 1500 : 500); // Reduce framerate if use preference is to reduce motion
animate("rennes", preferReduceMotion ? 3000 : 1000); // Reduce framerate if use preference is to reduce motion
animate("orsay", preferReduceMotion ? 4000 : 2000); // Reduce framerate if use preference is to reduce motion
animate("parterre", 1500);
// dictionary to keep track of frame count for each animation
let frameCounts = {};
function animate(id, delay) {
// get the container and frames for the amination
const container = document.getElementById(id);
const frames = container.children;
// set up the frame counter
frameCounts[id] = 0;
// hide all frames except for the first
frames[0].style.display = "flex";
for (let i = 1; i < frames.length; i++) {
frames[i].style.display = "none";
}
// start the animation
const interval = setInterval(updateAnimation, delay, id, frames, frames.length);
}
function updateAnimation(id, frames, totalFrames) {
// increment the frame counter for the given id
frameCounts[id] = (frameCounts[id] + 1) % totalFrames;
// show the next frame
frames[frameCounts[id]].style.display = "flex";
// hide the previous frame
if (frameCounts[id] == 0) {
frames[totalFrames - 1].style.display = "none";
} else {
frames[frameCounts[id] - 1].style.display = "none";
}
}
animate("illustration-accueil", 500);
animate("rennes", 1000);
animate("orsay", 2000);
animate("parterre", 1500);