Skip to content

Commit 14d3a02

Browse files
authored
fix: heading order in homepage (#1264)
1 parent 19fd2d4 commit 14d3a02

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/pages/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import listDot from 'images/list-dot.png'
66
import { BookOpen, Package, Database, Menu, ArrowRight, ChevronsRight } from 'react-feather'
77
import { graphql, useStaticQuery } from 'gatsby'
88

9-
import { ButtonSize, PrimaryButton, SpecialButton } from '../components/button'
9+
import { PrimaryButton, SpecialButton } from '../components/button'
1010
import Schema from '../icons/home/Schema'
1111
import DbLink from '../icons/home/DbLink'
1212
import CLI from '../icons/home/CLI'
@@ -79,7 +79,7 @@ const NormalPara = styled.p`
7979
}
8080
`
8181

82-
const SubHeading = styled.h3`
82+
const SubHeading = styled.h2`
8383
font-weight: 600;
8484
font-size: ${p => p.theme.fontSizes[36]};
8585
line-height: ${p => p.theme.space[36]};
@@ -93,7 +93,7 @@ const Space = styled.div<{ height: number }>`
9393
${p => `height: ${p.height}px;`};
9494
`
9595

96-
const ListTitle = styled.h5`
96+
const ListTitle = styled.h3`
9797
font-weight: bold;
9898
line-height: ${p => p.theme.space[16]};
9999
font-size: ${p => p.theme.fontSizes[16]};
@@ -235,13 +235,13 @@ const LinkCard = styled.a`
235235
top: -30px;
236236
}
237237

238-
h5 {
238+
h3 {
239239
margin-bottom: 0;
240240
display: flex;
241241
align-items: center;
242242
}
243243

244-
&:hover h5 svg {
244+
&:hover h3 svg {
245245
transform: translateX(4px);
246246
}
247247

@@ -291,8 +291,6 @@ const Homepage = () => {
291291
},
292292
} = site
293293

294-
console.log(site.siteMetadata.homepage)
295-
296294
return (
297295
<Layout homePage={true}>
298296
<SEO title={title} description={description} homepage/>

0 commit comments

Comments
 (0)