
🎯 Améliorations UX critiques : - Fix curseur qui revenait au début lors de la saisie - Suppression autosauvegarde automatique - Centrage flèche bouton scroll-to-top - Mode liberté applique automatiquement les itérations 🤖 IA optimisée : - Migration vers mistral-medium classique - Suppression raisonnement IA pour réponses directes - Prompt reformulation strict (texte seul) - Routes IA complètes fonctionnelles 📚 Templates professionnels complets : - Structure 12 sections selon standards académiques/industrie - 6 domaines : informatique, math, business, design, recherche, ingénierie - 3 niveaux : simple (9 sections), détaillé, complet (12 sections) - Méthodologies spécialisées par domaine ✨ Nouvelles fonctionnalités : - Debounce TOC pour performance saisie - Navigation sections améliorée - Sauvegarde/restauration position curseur 🧠 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
const { getHeader, getLeftPanel, getRightPanel, getPanelOverlay } = require('./header');
|
|
const { getMain } = require('./main');
|
|
const { getFooter } = require('./footer');
|
|
|
|
function getHead(){
|
|
return `
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Conception-Assistant</title>
|
|
<link rel="stylesheet" href="/assets/css/style.css">
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📝</text></svg>">
|
|
</head>
|
|
`;
|
|
}
|
|
|
|
function getBody(){
|
|
return `
|
|
<body>`
|
|
+ getHeader()
|
|
+ getLeftPanel()
|
|
+ getRightPanel()
|
|
+ getPanelOverlay()
|
|
+ getMain()
|
|
+ getFooter() +
|
|
`
|
|
<!-- Bouton scroll to top -->
|
|
<button id="scroll-to-top" class="scroll-to-top" title="Retour en haut">⬆️</button>
|
|
<script src="/assets/js/app.js"></script>
|
|
</body>
|
|
</html>
|
|
`;
|
|
}
|
|
|
|
|
|
function getPage() {
|
|
return getHead() + getBody();
|
|
}
|
|
|
|
module.exports = { getPage }; |