feat: fix backend SQL columns, add dark/light theme, fix legacy CSS
- Fix 7 backend controllers: rename columns to match actual DB schema (name_room→room_number, id_room→id, bed_type→room_type, id_employee→id, status_employee→status) - Fix 10 frontend files with matching property renames - Add ThemeContext with dark/light toggle (localStorage persisted) - Redesign theme.css with [data-theme] attribute selectors - Add Google Fonts (Syne, DM Sans, JetBrains Mono) - Redesign sidebar, topbar, and login page CSS - Migrate ~44 legacy CSS files from hardcoded colors to CSS variables - Remove Dashboards/Tableros section from menu - Clean up commented-out CSS blocks across codebase Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ services:
|
||||
EMAIL_PORT: 587
|
||||
EMAIL_USER: ${EMAIL_USER}
|
||||
EMAIL_PASS: ${EMAIL_PASS}
|
||||
URL_CORS: https://hotel.consultoria-as.com
|
||||
URL_CORS: http://192.168.10.229:5172
|
||||
BANXICO_TOKEN: ${BANXICO_TOKEN}
|
||||
depends_on:
|
||||
postgres:
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
ports:
|
||||
- "5172:5172"
|
||||
environment:
|
||||
VITE_API_BASE_URL: http://backend:4000/api
|
||||
VITE_API_BASE_URL: http://192.168.10.229:4000/api
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user