feat: redirect to newly created certification preparation page for day 5
This commit is contained in:
parent
6936b37cb0
commit
06b8b87246
37
index.html
37
index.html
@ -1303,39 +1303,10 @@
|
|||||||
window.location.href = 'mercredi4_mise_en_situation_bilan_parcours.html';
|
window.location.href = 'mercredi4_mise_en_situation_bilan_parcours.html';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const prompts = {
|
if (num === 5) {
|
||||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||||
};
|
return;
|
||||||
|
|
||||||
if (typeof sendPrompt === 'function') {
|
|
||||||
sendPrompt(prompts[num]);
|
|
||||||
} else {
|
|
||||||
console.log("Envoi du prompt : " + prompts[num]);
|
|
||||||
// Fallback option in case it's opened standalone
|
|
||||||
const toast = document.createElement('div');
|
|
||||||
toast.style.position = 'fixed';
|
|
||||||
toast.style.bottom = '24px';
|
|
||||||
toast.style.left = '50%';
|
|
||||||
toast.style.transform = 'translateX(-50%)';
|
|
||||||
toast.style.background = 'var(--ink)';
|
|
||||||
toast.style.color = 'var(--white)';
|
|
||||||
toast.style.padding = '12px 24px';
|
|
||||||
toast.style.borderRadius = '30px';
|
|
||||||
toast.style.fontFamily = 'var(--syne)';
|
|
||||||
toast.style.fontWeight = '700';
|
|
||||||
toast.style.fontSize = '13.5px';
|
|
||||||
toast.style.boxShadow = 'var(--shadow-lg)';
|
|
||||||
toast.style.zIndex = '1000';
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
toast.style.transition = 'all 0.3s ease';
|
|
||||||
toast.innerText = "🚀 Prompt envoyé : \"" + prompts[num] + "\"";
|
|
||||||
document.body.appendChild(toast);
|
|
||||||
setTimeout(() => toast.style.opacity = '1', 10);
|
|
||||||
setTimeout(() => {
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
setTimeout(() => toast.remove(), 300);
|
|
||||||
}, 3000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1555,38 +1555,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const prompts = {
|
if (num === 5) {
|
||||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||||
};
|
return;
|
||||||
|
|
||||||
if (typeof sendPrompt === 'function') {
|
|
||||||
sendPrompt(prompts[num]);
|
|
||||||
} else {
|
|
||||||
console.log("Envoi du prompt : " + prompts[num]);
|
|
||||||
// Fallback option in case it's opened standalone
|
|
||||||
const toast = document.createElement('div');
|
|
||||||
toast.style.position = 'fixed';
|
|
||||||
toast.style.bottom = '24px';
|
|
||||||
toast.style.left = '50%';
|
|
||||||
toast.style.transform = 'translateX(-50%)';
|
|
||||||
toast.style.background = 'var(--ink)';
|
|
||||||
toast.style.color = 'var(--white)';
|
|
||||||
toast.style.padding = '12px 24px';
|
|
||||||
toast.style.borderRadius = '30px';
|
|
||||||
toast.style.fontFamily = 'var(--syne)';
|
|
||||||
toast.style.fontWeight = '700';
|
|
||||||
toast.style.fontSize = '13.5px';
|
|
||||||
toast.style.boxShadow = 'var(--shadow-lg)';
|
|
||||||
toast.style.zIndex = '1000';
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
toast.style.transition = 'all 0.3s ease';
|
|
||||||
toast.innerText = "🚀 Prompt envoyé : \"" + prompts[num] + "\"";
|
|
||||||
document.body.appendChild(toast);
|
|
||||||
setTimeout(() => toast.style.opacity = '1', 10);
|
|
||||||
setTimeout(() => {
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
setTimeout(() => toast.remove(), 300);
|
|
||||||
}, 3000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1617,38 +1617,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const prompts = {
|
if (num === 5) {
|
||||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||||
};
|
return;
|
||||||
|
|
||||||
if (typeof sendPrompt === 'function') {
|
|
||||||
sendPrompt(prompts[num]);
|
|
||||||
} else {
|
|
||||||
console.log("Envoi du prompt : " + prompts[num]);
|
|
||||||
// Fallback option in case it's opened standalone
|
|
||||||
const toast = document.createElement('div');
|
|
||||||
toast.style.position = 'fixed';
|
|
||||||
toast.style.bottom = '24px';
|
|
||||||
toast.style.left = '50%';
|
|
||||||
toast.style.transform = 'translateX(-50%)';
|
|
||||||
toast.style.background = 'var(--ink)';
|
|
||||||
toast.style.color = 'var(--white)';
|
|
||||||
toast.style.padding = '12px 24px';
|
|
||||||
toast.style.borderRadius = '30px';
|
|
||||||
toast.style.fontFamily = 'var(--syne)';
|
|
||||||
toast.style.fontWeight = '700';
|
|
||||||
toast.style.fontSize = '13.5px';
|
|
||||||
toast.style.boxShadow = 'var(--shadow-lg)';
|
|
||||||
toast.style.zIndex = '1000';
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
toast.style.transition = 'all 0.3s ease';
|
|
||||||
toast.innerText = "🚀 Prompt envoyé : \"" + prompts[num] + "\"";
|
|
||||||
document.body.appendChild(toast);
|
|
||||||
setTimeout(() => toast.style.opacity = '1', 10);
|
|
||||||
setTimeout(() => {
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
setTimeout(() => toast.remove(), 300);
|
|
||||||
}, 3000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1656,38 +1656,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const prompts = {
|
if (num === 5) {
|
||||||
5: "Prépare-moi le cours complet du Mercredi 5 - Préparation et entraînement certification IA"
|
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||||
};
|
return;
|
||||||
|
|
||||||
if (typeof sendPrompt === 'function') {
|
|
||||||
sendPrompt(prompts[num]);
|
|
||||||
} else {
|
|
||||||
console.log("Envoi du prompt : " + prompts[num]);
|
|
||||||
// Fallback option in case it's opened standalone
|
|
||||||
const toast = document.createElement('div');
|
|
||||||
toast.style.position = 'fixed';
|
|
||||||
toast.style.bottom = '24px';
|
|
||||||
toast.style.left = '50%';
|
|
||||||
toast.style.transform = 'translateX(-50%)';
|
|
||||||
toast.style.background = 'var(--ink)';
|
|
||||||
toast.style.color = 'var(--white)';
|
|
||||||
toast.style.padding = '12px 24px';
|
|
||||||
toast.style.borderRadius = '30px';
|
|
||||||
toast.style.fontFamily = 'var(--syne)';
|
|
||||||
toast.style.fontWeight = '700';
|
|
||||||
toast.style.fontSize = '13.5px';
|
|
||||||
toast.style.boxShadow = 'var(--shadow-lg)';
|
|
||||||
toast.style.zIndex = '1000';
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
toast.style.transition = 'all 0.3s ease';
|
|
||||||
toast.innerText = "🚀 Prompt envoyé : \"" + prompts[num] + "\"";
|
|
||||||
document.body.appendChild(toast);
|
|
||||||
setTimeout(() => toast.style.opacity = '1', 10);
|
|
||||||
setTimeout(() => {
|
|
||||||
toast.style.opacity = '0';
|
|
||||||
setTimeout(() => toast.remove(), 300);
|
|
||||||
}, 3000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1702
mercredi5_preparation_certification_IA.html
Normal file
1702
mercredi5_preparation_certification_IA.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user