Upgrade components folder structure
blushi opened this issue · comments
Is your request related to a problem? Please describe.
Currently, we use a mixture of atomic design and feature/context-based structured components, which can be confusing and makes it harder to look for components.
Describe the solution you'd like
We decided to leave atomic design out in favor of a more simple structure:
- controls
- components
- pages (only applicable in web-marketplace and web-www): in particular in web-marketplace we should restructure the current pages folder following Next.js app router structure: https://nextjs.org/docs/app/building-your-application/routing#roles-of-folders-and-files https://nextjs.org/docs/app/building-your-application/routing/defining-routes which should ease any future migration to Next.js
Each component should now have its own folder
For Admin Use
- Not duplicate issue
- Appropriate labels and zenhub epics applied
- Appropriate contributors tagged