hannahouazzane / cities

cities-iota.vercel.app
0 stars 0 forks source link

Make styled heading component #2

Open edpe opened 3 years ago

edpe commented 3 years ago

Using the styled component docs, add a styled heading component and use in your project in place of your current h1 & h2s

hannahouazzane commented 3 years ago

Code for styled h1 and h2 component: `import styled from "styled-components";

export const Title = styled.h1 text-align: center; color: white; font-size: 50px; line-height: 0.2; ;

export const Subtitle = styled.h2 text-align: center; color: white; font-size: 20px; line-height: 2; ;`