Get rid of huge Font Awesome icons on Gatsby

Published on Jan 9, 2020

When building this site I noticed that on the first load before anything is cached on the browser, the Font Awesome icons used in the footer and contact section were huge for a second or two, it looks ugly so it needed to be fixed. Why it happens? The usage of a Font Awesome icon on React/Gatsby/etc is like this: On a normal app, it works fine because the CSS is loaded right before the icon is rendered, so there is no visible change of the size, but on an SSR app (like with Gatsby), the code for…

#100DaysOfGatsby

Published on Jan 4, 2020

A few days ago I saw a tweet about a challenge to learn more about Gatsby, and since my site was already a simple landing page and a separate blog, both built with it, thought this could be a good opportunity to improve both the site and my knowledge of it, so here we go! Challenge 1: Create a Gatsby Blog from Scratch The old version of the site used a starter for the blog and I modified another starter for the landing, but I think it was over-bloated with all the things it had for a simple…

An Egg

Published on Nov 24, 2015

It was a car accident. Nothing particularly remarkable, but fatal nonetheless. You left behind a wife and two children. It was a painless death. The EMTs tried their best to save you, but to no avail. Your body was so utterly shattered you were better off, trust me. And that’s when you met me. “What… what happened?” You asked. “Where am I?” “You died,” I said, matter-of-factly. No point mincing words. “There was a… a truck and it was skidding…” “Yup.” I said “I… I died?” “Yup. But don’t feel bad…

Breaking Bad Fan video: Walt & Jesse

Published on Nov 4, 2015

Colombia: Cali e Ipiales

Published on Oct 31, 2015

Cali De nuevo tocó llegar temprano a otra ciudad, pero sale genial viajar de noche porque te ahorras una noche en hotel/hostel/etc, y porque se siente menos el viaje :P Esta vez me quedaba con Ivania en un cuarto que encontré en Airbnb. De Cali no había buscado nada que ver o hacer, así que aproveche a trabajar un poco, descansar y nadar en la alberca que tenían en el conjunto de departamentos. No estuvo mal, porque de todo el viaje fue el lugar donde mas calor hacia y salir a la calle implicaba…

© 2020, Made with ❤️ , cats and Gatsby.