gitlanding
gitlanding copied to clipboard
GlTemplate broken encapsulations
Encapsulation is broken here
<GlImage /> should be in charge of reporting the aspect ratio upstream.
https://github.com/thieryw/gitlanding/blob/b2c1ca5dbe9f9b99aeb9372e51db34094e023216/src/GlHero/GlHero.tsx#L136-L144
I uderstand why it's conveignent to do it like that.
We should however use the className to select the component instead of requiring an id to be set. .