Understand the frontend project structure
mainTurbo uses a monorepo structure for the frontend to support multiple microsites (apps) sharing common logic and UI components.
frontend
| - apps // Available Next.js sites (e.g., 'web')
| - packages // Shared packages
| - types // Exported types from the backend API
| - ui // General UI componentsUsing shared packages
If you create a new package in packages/, you must install it into your specific website project to use it:
docker compose exec web pnpm --filter web add @frontend/ui