
- Express server with routes for index and API endpoints - CRUD operations for markdown journals via REST API - Modular view components (header, main, footer, page) - UUID-based file management system for journals - Content-editable journal editor with AI assistant features - Package.json with express and uuid dependencies - Basic project structure with assets, config, tests, views directories 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
884 B
JavaScript
27 lines
884 B
JavaScript
function getHeader() {
|
|
return `
|
|
<header>
|
|
<div>
|
|
<h1>Mon Journal de Conception</h1>
|
|
<select id="skeleton-select" title="Niveau de squelette">
|
|
<option value="low">Squelette : Low</option>
|
|
<option value="medium">Medium</option>
|
|
<option value="high">High</option>
|
|
</select>
|
|
<button id="validate-skeleton" title="Valider niveau de squelette">Valider</button>
|
|
</div>
|
|
<nav>
|
|
<button id="theme-toggle" title="Basculer Black & White">🌓</button>
|
|
<button id="export-pdf" title="Exporter en PDF">📄 PDF</button>
|
|
<button id="export-md" title="Exporter en Markdown">📝 MD</button>
|
|
<label for="import-md" title="Importer Markdown">
|
|
<input id="import-md" type="file" accept=".md" style="display:none;">
|
|
⬆️ MD
|
|
</label>
|
|
</nav>
|
|
</header>
|
|
`;
|
|
}
|
|
|
|
module.exports = { getHeader };
|