DEV Community

loading...
Cover image for Personalizing Landing Page

Personalizing Landing Page

wizlee profile image Wiz Lee ・1 min read

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.

Discussion (0)

pic
Editor guide