feat: migrate showcase to Next.js and overhaul CRM UI
deploy / deploy (push) Successful in 1m24s

rebuild the public site on the Next.js App Router with static export,

per-section SEO pages, metadata, sitemap, robots and a generated OG image

add full-screen scroll-snap regions, staged scroll reveals, a hash-free

tab navigation with a sliding indicator and region-by-region menu scrolling

replace the theme text toggle with animated sun/moon icons

restructure the CRM API into config, middleware, models, routes, services

and utils layers

redesign the CRM shell with a single surface, tab rail, full-width blurred

DataTable, record dialogs and mask-based icons

update Docker/Nginx publishing, Makefile targets, shared UI polish and docs

Co-authored-by: Gitea Actions <-[email protected]>
This commit was merged in pull request #1.
This commit is contained in:
Gitea Actions
2026-11-16 00:08:17 +00:00
committed by Esiah
parent ab4cde1ce2
commit 723b68ea80
114 changed files with 6479 additions and 2364 deletions
+33 -5
View File
@@ -3,6 +3,10 @@ server {
listen [::]:80 default_server;
server_name _;
# Redirections relatives (`/services/`) : derrière un proxy ou un port
# publié, un Location absolu sans port casserait la navigation.
absolute_redirect off;
root /usr/share/nginx/html/current;
index index.html;
@@ -11,7 +15,7 @@ server {
gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_types text/plain text/css application/javascript application/json image/svg+xml application/manifest+json;
gzip_types text/plain text/css application/javascript application/json application/xml image/svg+xml image/webp application/manifest+json;
location = /healthz {
access_log off;
@@ -19,6 +23,15 @@ server {
return 200 "ok\n";
}
# Assets fingerprintés par Next.js : cache long et immuable.
location /_next/static/ {
include /etc/nginx/snippets/security-headers.conf;
include /etc/nginx/snippets/cache-immutable.conf;
expires 1y;
try_files $uri =404;
}
# Anciens assets Vite (conservés pour les releases encore servies).
location /assets/ {
include /etc/nginx/snippets/security-headers.conf;
include /etc/nginx/snippets/cache-immutable.conf;
@@ -26,13 +39,28 @@ server {
try_files $uri =404;
}
# Image Open Graph générée par Next.js : fichier sans extension.
location = /opengraph-image {
include /etc/nginx/snippets/security-headers.conf;
include /etc/nginx/snippets/cache-immutable.conf;
default_type image/png;
expires 1y;
try_files $uri =404;
}
# Page d'erreur générée par l'export statique Next.js.
location = /404.html {
internal;
include /etc/nginx/snippets/security-headers.conf;
include /etc/nginx/snippets/cache-no-cache.conf;
}
location / {
include /etc/nginx/snippets/security-headers.conf;
include /etc/nginx/snippets/cache-no-cache.conf;
try_files $uri $uri/ @spa;
# Export statique : chaque route est un dossier avec son index.html.
try_files $uri $uri/ =404;
}
location @spa {
try_files /index.html =404;
}
error_page 404 /404.html;
}