feat(web): Schedule-First redesign
- Top header bar + narrow sidebar layout - Dashboard: calendar-style schedule with timeline cards - Clients: card-based layout with avatar initials and pet count - Services: grid cards with emoji indicators and pricing - Bookings: timeline cards with time slots, status chips, inline actions - Invoices: cards with status badges, action buttons - All pages: search bars, empty states, modal forms - Consistent color system: indigo primary, amber alerts, gray hierarchy
This commit is contained in:
+9
-2
@@ -16,6 +16,8 @@ services:
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
@@ -31,6 +33,8 @@ services:
|
||||
timeout: 3s
|
||||
retries: 10
|
||||
start_period: 5s
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
api:
|
||||
build:
|
||||
@@ -56,7 +60,7 @@ services:
|
||||
volumes:
|
||||
- ./api/src:/app/src # hot-reload in dev
|
||||
command: >
|
||||
sh -c "npx prisma migrate deploy && npx prisma seed && npm run start:dev"
|
||||
sh -c "npx prisma generate && npx prisma db push && npm run start:dev"
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
@@ -68,11 +72,14 @@ services:
|
||||
container_name: petmaster-web
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3001:3001"
|
||||
- "3001:3000"
|
||||
environment:
|
||||
REACT_APP_API_URL: http://api:3000
|
||||
depends_on:
|
||||
- api
|
||||
volumes:
|
||||
- ./web/src:/app/src # hot-reload in dev
|
||||
- ./web/tsconfig.json:/app/tsconfig.json
|
||||
networks:
|
||||
- petmaster-net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user