Readapt the misuse of BEM, Code organization

- -- is only for a modifier, not a child "child". Use master__child without the parent__ in it to make it more readable.
https://www.smashingmagazine.com/2016/06/battling-bem-extended-edition-common-problems-and-how-to-avoid-them/
- Redefine atom design components
This commit is contained in:
2020-02-29 18:32:32 +01:00
parent 70ce97e9bc
commit 76c8c31c89
17 changed files with 387 additions and 391 deletions

View File

@@ -49,14 +49,3 @@
</a>
</div>
</div>
<!-- <div class="switcher switcher--side">
<p class="switcher__location">
<a href="/">Houses <span class="caps">{locationOf}</span></a> <br>
<strong class="name">{locationName}</strong>
</p>
<a href="/choose" class="switcher__icon icon is-medium has-text-danger">
<i class="fas fa-exchange-alt fa-lg"></i>
</a>
</div> -->