feat: redirect to newly created certification preparation page for day 5
This commit is contained in:
parent
6936b37cb0
commit
06b8b87246
35
index.html
35
index.html
@ -1304,38 +1304,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const prompts = {
|
||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
||||
};
|
||||
|
||||
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);
|
||||
if (num === 5) {
|
||||
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1555,38 +1555,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const prompts = {
|
||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
||||
};
|
||||
|
||||
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);
|
||||
if (num === 5) {
|
||||
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1617,38 +1617,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const prompts = {
|
||||
5: "Prépare-moi le cours complet du Mercredi 5 - Évaluation finale et certification"
|
||||
};
|
||||
|
||||
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);
|
||||
if (num === 5) {
|
||||
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1656,38 +1656,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const prompts = {
|
||||
5: "Prépare-moi le cours complet du Mercredi 5 - Préparation et entraînement certification IA"
|
||||
};
|
||||
|
||||
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);
|
||||
if (num === 5) {
|
||||
window.location.href = 'mercredi5_preparation_certification_IA.html';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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