Refactor Dockerfile, update README, and enhance Calculator component

- Refactored Dockerfile for improved multi-stage builds and added development and production configurations.
- Updated README with clearer project description, local development instructions, and added contact information.
- Enhanced Calculator component to manage theme and history using localStorage, improving user experience.
- Added new pages for legal mentions and privacy policy, including relevant metadata.
- Updated docker-compose.yml for better service management and added environment variables.
- Introduced a new LICENSE file outlining usage rights and responsibilities.
This commit is contained in:
Puechberty Arthur
2026-04-01 23:30:51 +02:00
parent 572f29c442
commit 8400e26c0a
9 changed files with 318 additions and 162 deletions
+6 -1
View File
@@ -285,6 +285,7 @@ body {
.mode-toggle {
position: relative;
display: flex;
min-width: 210px;
background: var(--surface);
border: 1px solid var(--border-color);
border-radius: 10px;
@@ -292,9 +293,11 @@ body {
}
.mode-toggle button {
flex: 1;
position: relative;
z-index: 1;
padding: 6px 16px;
text-align: center;
font-size: 0.85rem;
font-weight: 500;
color: var(--muted);
@@ -311,10 +314,12 @@ body {
.mode-slider {
position: absolute;
top: 2px;
left: 2px;
bottom: 2px;
width: calc(50% - 2px);
border-radius: 8px;
background: var(--primary);
transition: left 0.3s ease, width 0.3s ease;
transition: transform 0.3s ease;
}
/* ══════════════════════════════════════════════