Refactor layout and home page for improved localization and session handling

- Updated RootLayout to include locale support and integrated ThemeProvider and LocaleProvider for better internationalization.
- Replaced static home page content with a redirect based on user session status, enhancing user experience by directing to the appropriate dashboard or login page.
- Switched font from Geist to Inter for improved typography consistency.
This commit is contained in:
smueller
2026-07-22 14:01:09 +02:00
parent 04e04eb11d
commit 84476e6277
30 changed files with 1073 additions and 128 deletions

View File

@@ -48,15 +48,31 @@ services:
start_period: 40s
webui:
image: node:22-alpine
working_dir: /app
command: sh -c "node -e \"require('http').createServer((_,res)=>res.end('webui scaffold')).listen(3000)\""
build:
context: .
dockerfile: apps/webui/Dockerfile
env_file: .env
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
ports:
- "3000:3000"
labels:
- "traefik.enable=true"
- "traefik.http.routers.nexumi.rule=Host(`nexumi.de`)"
- "traefik.http.services.nexumi.loadbalancer.server.port=3000"
healthcheck:
test:
[
"CMD-SHELL",
"node -e \"fetch('http://127.0.0.1:3000/api/health').then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""
]
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
volumes:
postgres_data: