mwmbl / front-end-original

A front-end for the mwmbl search engine written in vanilla javascript
https://mwmbl.github.io/front-end/
GNU Affero General Public License v3.0
13 stars 3 forks source link

Use atomic design to organize components #9

Closed ColinEspinas closed 2 years ago

ColinEspinas commented 2 years ago

Currently there are not a lot of components, but as the project grows we'll need to tidy things a bit more for maintainability.

Organizing our components using Atomic Design could be a great first step in that direction.

My proposal is to create 3 directories in the current components directory, one for each component type (atoms, molecules, organisms).

We don't have pages currently as we rely on a main index.html to display our components, the pages directory should only be added once/if we implement routing and multiple pages.

daoudclarke commented 2 years ago

Sounds good