Skip to content

Commit

Permalink
Add HTML style
Browse files Browse the repository at this point in the history
  • Loading branch information
junaid33 committed Feb 25, 2020
1 parent 6937c29 commit 0c9c1dd
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,15 @@ import {
Divider,
Text,
Tooltip,
CSSReset
} from "@chakra-ui/core"
import styled from "@emotion/styled"
import SEO from "../components/seo"

import { useLocalJsonForm } from "gatsby-tinacms-json"

const BlogText = styled.section`
h2 {
font-weight: 600;
color: #11103e;
margin-top: 48px;
margin-bottom: 16px;
font-size: 40px;
line-height: 42px;
letter-spacing: 0;
const HTML = styled.section`
html {
color: #1a202c !important;
}
`

Expand Down Expand Up @@ -110,8 +103,7 @@ const Index = ({ data, location }) => {
],
})
return (
<>
<CSSReset />
<HTML>
<SEO title="All comparisons" />
<Box
bg="white"
Expand Down Expand Up @@ -270,7 +262,7 @@ const Index = ({ data, location }) => {
</Box>
))}
</Box>
</>
</HTML>
)
}

Expand Down

1 comment on commit 0c9c1dd

@vercel
Copy link

@vercel vercel bot commented on 0c9c1dd Feb 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.