
- Refonte complète du design avec système de panneaux latéraux rétractables - Ajout de templates de projets par domaine (recherche, informatique, mathématiques, etc.) - Implémentation système d'export PDF avec Puppeteer - Amélioration de l'API REST avec nouvelles routes d'export et templates - Ajout de JavaScript client pour interactions dynamiques - Configuration environnement étendue pour futures fonctionnalités IA - Amélioration responsive design et expérience utilisateur 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
938 B
JavaScript
40 lines
938 B
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() +
|
|
`
|
|
<script src="/assets/js/app.js"></script>
|
|
</body>
|
|
</html>
|
|
`;
|
|
}
|
|
|
|
|
|
function getPage() {
|
|
return getHead() + getBody();
|
|
}
|
|
|
|
module.exports = { getPage }; |