Augustin 750e2c4fe8 Add conception-assistant web application with journal management
- 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>
2025-09-24 16:17:28 +02:00

47 lines
1.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function getMain() {
return `
<main>
<section id="table-of-contents">
<h2>Table des matières</h2>
<nav id="toc-nav">
<!--
Exemple de structure hiérarchique:
<ul>
<li><a href="#section1">1. Introduction</a>
<ul>
<li><a href="#subsection1-1">1.1 Objectifs</a></li>
<li><a href="#subsection1-2">1.2 Contexte</a></li>
</ul>
</li>
</ul>
-->
</nav>
</section>
<section id="design-journal">
<h2>Journal de conception</h2>
<div id="journal-editor" contenteditable="true">
<!-- Zone décriture principale -->
</div>
</section>
<section id="ai-assistant">
<h2>Assistant IA</h2>
<button id="activate-rephrase">Reformuler un passage</button>
<button id="check-inconsistencies">Vérifier incohérences</button>
<button id="check-duplications">Vérifier duplications</button>
<button id="give-advice">Conseil sur le contenu</button>
<div>
<input type="number" id="liberty-repeat-count" min="1" placeholder="Combien ditérations?" />
<button id="liberty-mode">Mode Liberté : auto-suites</button>
</div>
<div id="ai-assistant-feedback">
<!-- Résultats et retours IA affichés ici -->
</div>
</section>
</main>
`;
}
module.exports = { getMain };