refactor: redesign planos interface with design system patterns

- Create CreatePlanModal component with Headless UI Dialog
- Implement dark mode support throughout plans UI
- Update plans/page.tsx with professional card layout
- Update plans/[id]/page.tsx with consistent styling
- Add proper spacing, typography, and color consistency
- Implement smooth animations and transitions
- Add success/error message feedback
- Improve form UX with better input styling
This commit is contained in:
Erik Silva
2025-12-13 19:26:38 -03:00
parent 2f1cf2bb2a
commit 2a112f169d
26 changed files with 2580 additions and 119 deletions

View File

@@ -1,15 +0,0 @@
# Teste manual do endpoint de upload de logo
## 1. Login e obter token
curl -X POST http://idealpages.localhost/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"admin@idealpages.com","password":"admin123"}'
## 2. Upload de logo (substituir TOKEN pelo valor retornado acima)
curl -X POST http://idealpages.localhost/api/agency/logo \
-H "Authorization: Bearer TOKEN" \
-F "logo=@/caminho/para/imagem.png" \
-F "type=logo"
## 3. Verificar se salvou no banco
docker exec aggios-postgres psql -U aggios -d aggios_db -c "SELECT id, name, logo_url FROM tenants WHERE subdomain = 'idealpages';"