Skip to content

Commit

Permalink
Merge pull request #226 from oaknational/fix/lesq-831/header-hero-hea…
Browse files Browse the repository at this point in the history
…ding-level

fix: change heading tag to h1
  • Loading branch information
njblore authored Jul 9, 2024
2 parents b708f9a + f752e31 commit b13eb8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/organisms/OakHeaderHero/OakHeaderHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const UnstyledComponent = (props: OakHeaderHeroProps) => {
$justifyContent={"center"}
>
<OakHeading
tag="h2"
tag="h1"
$color={"grey80"}
$font={["heading-4", "heading-3"]}
$mb={"space-between-m"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,11 +547,11 @@ exports[`OakHeaderHero matches snapshot 1`] = `
<div
className="c10 c11"
>
<h2
<h1
className="c12"
>
How to plan a lesson: a helpful guide for teachers
</h2>
</h1>
<div
className="c13 c14"
>
Expand Down

0 comments on commit b13eb8b

Please sign in to comment.