Skip to content

Commit 1a7b1c6

Browse files
committed
changed footer components
1 parent 7bd89aa commit 1a7b1c6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/templates/layout.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import {
1616
ColorModeProvider,
1717
Box,
1818
Flex,
19-
Text,
2019
Input,
2120
Button,
2221
} from "@chakra-ui/core"
22+
import { P, B } from "../components/typography"
2323
import styled from "@emotion/styled"
2424
import { Global } from "@emotion/core"
2525
import Img from "gatsby-image"
@@ -76,10 +76,10 @@ const Footer = ({ images }) => {
7676
mt="3"
7777
>
7878
<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
8181
fast changing front end atmosphere
82-
</Text>
82+
</P>
8383
<Box my="1">
8484
<form
8585
action="https://codebrahma.us3.list-manage.com/subscribe/post"
@@ -175,12 +175,12 @@ const Footer = ({ images }) => {
175175
<img src={cbLogo} height="48px" alt="Codebrahma Logo" />
176176
</Box>
177177
<Box fontSize='1'>
178-
<Text m='0'>
178+
<P m='0' fontSize={1}>
179179
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}>
182182
&copy; 2020 codebrahma.com. All rights reserved.
183-
</Text>
183+
</P>
184184
</Box>
185185
</Flex>
186186
</Box>
@@ -253,7 +253,7 @@ const Layout = ({ children }) => (
253253
'body': {
254254
fontFamily: customTheme.fonts.body,
255255
color: customTheme.colors.primary,
256-
// lineHeight: customTheme.lineHeights[1],
256+
lineHeight: customTheme.lineHeights[1],
257257
},
258258
'*': {
259259
boxSizing: 'border-box',

0 commit comments

Comments
 (0)