@@ -16,10 +16,10 @@ import {
16
16
ColorModeProvider ,
17
17
Box ,
18
18
Flex ,
19
- Text ,
20
19
Input ,
21
20
Button ,
22
21
} from "@chakra-ui/core"
22
+ import { P , B } from "../components/typography"
23
23
import styled from "@emotion/styled"
24
24
import { Global } from "@emotion/core"
25
25
import Img from "gatsby-image"
@@ -76,10 +76,10 @@ const Footer = ({ images }) => {
76
76
mt = "3"
77
77
>
78
78
< Box width = { [ '100%' , 1 / 3 ] } >
79
- < Text lineHeight = '1' >
80
- Join our < Text as = 'b' fontFamily = 'bold' fontWeight = 'black' > NEW</ Text > newsletter to learn about the latest trends in the
79
+ < P lineHeight = '1' >
80
+ Join our < B > NEW</ B > newsletter to learn about the latest trends in the
81
81
fast changing front end atmosphere
82
- </ Text >
82
+ </ P >
83
83
< Box my = "1" >
84
84
< form
85
85
action = "https://codebrahma.us3.list-manage.com/subscribe/post"
@@ -175,12 +175,12 @@ const Footer = ({ images }) => {
175
175
< img src = { cbLogo } height = "48px" alt = "Codebrahma Logo" />
176
176
</ Box >
177
177
< Box fontSize = '1' >
178
- < Text m = '0' >
178
+ < P m = '0' fontSize = { 1 } >
179
179
Codebrahma is an independent company. Mentioned brands and companies are trademarked brands.
180
- </ Text >
181
- < Text m = '0' >
180
+ </ P >
181
+ < P m = '0' fontSize = { 1 } >
182
182
© 2020 codebrahma.com. All rights reserved.
183
- </ Text >
183
+ </ P >
184
184
</ Box >
185
185
</ Flex >
186
186
</ Box >
@@ -253,7 +253,7 @@ const Layout = ({ children }) => (
253
253
'body' : {
254
254
fontFamily : customTheme . fonts . body ,
255
255
color : customTheme . colors . primary ,
256
- // lineHeight: customTheme.lineHeights[1],
256
+ lineHeight : customTheme . lineHeights [ 1 ] ,
257
257
} ,
258
258
'*' : {
259
259
boxSizing : 'border-box' ,
0 commit comments