feat(ui): unified AppHeader, logo brand, tagline update, and header simplification

- Brand component now renders horizontal SVG logo instead of text
- New AppHeader shared component replaces per-route header boilerplate
- Tagline updated to "Outils pour ostéopathes animaliers"
- All routes use AppHeader (HomeRoute, EditorsRoute, NewReportRoute, SvgEditorRoute)
- ReportHeader and Footer simplified
- DEPLOY.md URLs updated zoosteo.fr → faunosteo.com
- Logo assets added (favicon.svg, logo-horizontal.svg, apple-touch-icon.png)
- Removed unused eslint-disable directive in SvgEditorRoute

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude Opus 4.6 committed 2026-05-23 20:01:33 +02:00
1 parent 2d6ed809e2
commit 1f30280762
25 files changed
+141 -153

No files matched your search

+23 -23
View File
@@ -33,7 +33,7 @@ each one explicitly.
| `APP_SITE_NAME` | yes | `Faunosteo` | Browser `<title>`, OG `site_name`. |
| `APP_BRAND_NAME` | yes | `Faunosteo` | Header brand block, PDF header. Praticien-visible identity. |
| `APP_FOOTER_NAME` | yes | `Faunosteo` | Footer copyright line. |
| `APP_TAGLINE` | yes | `Bilans d'ostéopathie animalière` | Hero tagline on Home. |
| `APP_TAGLINE` | yes | `Outils pour ostéopathes animaliers` | Hero tagline on Home. |
| `PORT` | no | `8080` | Container listen port. Override to relocate the loopback bind. |
No secrets are required — there is no API, no DB, no provider credential.
@@ -59,8 +59,8 @@ DNS:
```text
# A record on your domain registrar / DNS provider
zoosteo.fr → <vps-ipv4>
zoosteo.fr (AAAA) → <vps-ipv6> # optional
faunosteo.com → <vps-ipv4>
faunosteo.com (AAAA) → <vps-ipv6> # optional
```
SSH key copied to the VPS before disabling password auth (see Hardening
@@ -185,7 +185,7 @@ Verify post-deploy:
```bash
docker compose ps
curl -sI https://zoosteo.fr/ | head -3
curl -sI https://faunosteo.com/ | head -3
```
For zero-downtime updates, `docker compose up --build -d` rebuilds the
@@ -259,7 +259,7 @@ aws s3 sync /var/backups/osteo s3://<bucket>/osteo/ --storage-class STANDARD_IA
docker compose down
cp /var/backups/osteo/env-<date> /home/<deploy-user>/faunosteo/.env
docker compose up --build -d
curl -sI https://zoosteo.fr/
curl -sI https://faunosteo.com/
```
The praticien's exported PDFs are the real long-term store. If the VPS
@@ -280,7 +280,7 @@ VPS:
server {
listen 80;
listen [::]:80;
server_name zoosteo.fr;
server_name faunosteo.com;
# Certbot will rewrite this block to add the 301 redirect.
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
@@ -298,7 +298,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name zoosteo.fr;
server_name faunosteo.com;
# ssl_certificate + ssl_certificate_key written by certbot
@@ -318,7 +318,7 @@ Enable + obtain certificate:
```bash
ln -s /etc/nginx/sites-available/osteo /etc/nginx/sites-enabled/osteo
nginx -t && systemctl reload nginx
certbot --nginx -d zoosteo.fr
certbot --nginx -d faunosteo.com
systemctl status certbot.timer # auto-renew preinstalled on Ubuntu
```
@@ -340,10 +340,10 @@ Reload + verify:
```bash
nginx -t && systemctl reload nginx
curl -sI https://zoosteo.fr/ | grep -iE 'strict-transport|x-frame|content-security'
curl -sI https://faunosteo.com/ | grep -iE 'strict-transport|x-frame|content-security'
# Cross-check externally:
# https://securityheaders.com/?q=zoosteo.fr
# https://www.ssllabs.com/ssltest/analyze.html?d=zoosteo.fr
# https://securityheaders.com/?q=faunosteo.com
# https://www.ssllabs.com/ssltest/analyze.html?d=faunosteo.com
```
The `'unsafe-inline'` on `style-src` is needed because Tailwind injects
@@ -362,7 +362,7 @@ echo "deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https
apt-get update && apt-get install -y caddy
cat > /etc/caddy/Caddyfile <<'EOF'
zoosteo.fr {
faunosteo.com {
encode gzip zstd
reverse_proxy 127.0.0.1:8080
header {
@@ -394,13 +394,13 @@ N/A. There is no build-time API URL var; the app is static.
```bash
# HTTPS redirect on port 80
curl -sI http://zoosteo.fr/ | grep -i location # expect Location: https://...
curl -sI http://faunosteo.com/ | grep -i location # expect Location: https://...
# TLS itself
curl -sI https://zoosteo.fr/ | head -3 # expect HTTP/2 200
curl -sI https://faunosteo.com/ | head -3 # expect HTTP/2 200
# env.js shipped fresh (no caching)
curl -sI https://zoosteo.fr/env.js | grep -i cache-control
curl -sI https://faunosteo.com/env.js | grep -i cache-control
# expect: Cache-Control: no-store, no-cache, must-revalidate
# Internal port is NOT publicly bound
@@ -439,7 +439,7 @@ Reload + verify on a second terminal *before* closing the first one:
```bash
systemctl reload ssh
ssh deploy@zoosteo.fr 'echo ok'
ssh deploy@faunosteo.com 'echo ok'
```
### 3. (Optional) Move SSH off port 22
@@ -451,7 +451,7 @@ ufw allow 2222/tcp # 1. UFW
# 2. Add 2222 to cloud security group
# 3. /etc/ssh/sshd_config: Port 2222 (keep Port 22 temporarily)
systemctl reload ssh
ssh -p 2222 deploy@zoosteo.fr 'echo ok' # confirm
ssh -p 2222 deploy@faunosteo.com 'echo ok' # confirm
# 4. Remove Port 22 from sshd_config + UFW + cloud SG
```
@@ -484,7 +484,7 @@ nmap -Pn -p 22,80,443,8080,2222 <vps-public-ip>
# 2222: open ← if SSH was moved
# Password-SSH attempt — should fail
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no deploy@zoosteo.fr
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no deploy@faunosteo.com
# Expect: Permission denied (publickey).
```
@@ -497,7 +497,7 @@ cd ~/faunosteo
git reflog | head -20 # find the known-good SHA
git reset --hard <known-good-sha>
docker compose up --build -d
curl -sI https://zoosteo.fr/ | head -1
curl -sI https://faunosteo.com/ | head -1
```
Because there is no server-side state to corrupt, rollback is purely a
@@ -510,10 +510,10 @@ already exported are unaffected.
| URL | Expected |
| --------------------------------------- | ----------------------------------------- |
| `https://zoosteo.fr/` | HTTP/2 200, HTML containing `<div id="root">` |
| `https://zoosteo.fr/env.js` | HTTP/2 200, `Cache-Control: no-store, no-cache, must-revalidate`, body starts with `window.__APP_CONFIG__ = {` |
| `https://zoosteo.fr/assets/<hash>.js` | HTTP/2 200, `Cache-Control: public, max-age=31536000, immutable` |
| `https://zoosteo.fr/nonexistent` | HTTP/2 200 (SPA fallback serves `index.html`) |
| `https://faunosteo.com/` | HTTP/2 200, HTML containing `<div id="root">` |
| `https://faunosteo.com/env.js` | HTTP/2 200, `Cache-Control: no-store, no-cache, must-revalidate`, body starts with `window.__APP_CONFIG__ = {` |
| `https://faunosteo.com/assets/<hash>.js` | HTTP/2 200, `Cache-Control: public, max-age=31536000, immutable` |
| `https://faunosteo.com/nonexistent` | HTTP/2 200 (SPA fallback serves `index.html`) |
| `http://127.0.0.1:8080/` (on VPS) | HTTP/1.1 200 |
There is no `/health` endpoint — the container only serves static assets.