Muyue aa0a3863b6 Refactor: Complete internationalization and modernization to v2.0.0
Major Changes:
  - Remove all emojis from UI, code, and documentation for professional appearance
  - Translate entire codebase from French to English (code, comments, strings, UI)
  - Simplify template system: 18 templates → single default template
  - Rename "Mode Liberté Total" to "Enhanced Mode" throughout
  - Add comprehensive English README with installation and usage guides
  - Add MIT License (open source, no attribution required)
  - Update package.json with proper metadata and keywords

  Breaking Changes:
  - Template API endpoint changed from /api/templates/:domain/:level to /api/templates/default
  - All French UI text and notifications replaced with English
  - Template directory structure simplified

  Technical Improvements:
  - Cleaner, more maintainable codebase
  - Improved internationalization
  - Better developer experience with English documentation
  - Professional appearance suitable for production use
2025-10-14 15:05:39 +02:00

70 lines
2.1 KiB
JavaScript

const express = require('express');
const router = express.Router();
const { getPage } = require('../views/page');
// Main route
router.get('/', (req, res) => {
res.send(getPage());
});
// About route
router.get('/about', (req, res) => {
const { getHeader } = require('../views/header');
const { getFooter } = require('../views/footer');
res.send(`
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>About - Design Journal</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/css/style.css">
</head>
<body>
${getHeader()}
<main style="display: block; max-width: 800px; margin: 0 auto; padding: 2rem;">
<section>
<h2>About the Application</h2>
<div style="padding: 2rem;">
<p>
This application helps teams maintain structured and collaborative tracking of their design projects. It allows archiving key steps, ensuring traceability of decisions, and simplifying coordination.
</p>
</div>
</section>
<section style="margin-top: 2rem;">
<h2>History</h2>
<div style="padding: 2rem;">
<p>
This project was born from the need to centralize and organize design notes during the development of technical projects. It offers an intuitive environment for documenting architectural decisions and tracking project evolution.
</p>
</div>
</section>
<section style="margin-top: 2rem;">
<h2>Open Source</h2>
<div style="padding: 2rem;">
<p>
This project is open source and available under the MIT License. Contributions are welcome!
</p>
</div>
</section>
<div style="text-align: center; margin: 3rem 0 2rem 0;">
<a href="/" style="background: var(--secondary-color); color: white; padding: 0.8rem 2rem; text-decoration: none; border-radius: 25px; display: inline-block; transition: all 0.3s ease;">
Back to Application
</a>
</div>
</main>
${getFooter()}
<script src="/assets/js/theme.js"></script>
</body>
</html>
`);
});
module.exports = router;