DEV Community

Cover image for Personalizing Landing Page
Wiz Lee
Wiz Lee

Posted on

Personalizing Landing Page

The cover image above shows the gatsby-starter-mate working locally on my PC. The landing page customization is done by setting up my own Contentful CMS account.

Learn about Rebass (a react primitive UI components built with Styled System) when trying to make the React TextLoop component to work properly. I was not able to make the text inside of the TextLoop component to wrap around to the next line. The solution is to set the noWrap props of the component to false.

Another great learning when working using Rebass is responsive styles, specifically on how array props works. The syntax of using array [] to represent media query breakpoints needs some getting used to, but once I did it looks so clean and sweet 🍬!

Next post - deploying using Netlify.

Oldest comments (0)