Skip to content

Commit

Permalink
Remove home template header div element and class
Browse files Browse the repository at this point in the history
Remove the home template’s ’t-header’ div element and class, which is unique only to the header template. This fix brings the home template into parity with all other templates that use the header component.
  • Loading branch information
JoelCDL committed Jul 1, 2024
1 parent 6433f58 commit 89288f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/templates/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.t-home {
--content-width: 120rem;

& .t-header,
& .c-header,
& .t-banner,
& .t-top-section,
& .t-help-section,
Expand All @@ -18,7 +18,7 @@
}
}

& .t-header,
& .c-header,
& > footer {
background-color: black;
border-block-start: 4px solid var(--color-gold);
Expand Down
4 changes: 1 addition & 3 deletions src/templates/home.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<div class="t-home js-home">
<header>
{{ render '@skipnav' }}
<div class="t-header">
{{ render '@header' }}
</div>
{{ render '@header' }}
<div class="t-banner">
{{ render '@banner' }}
</div>
Expand Down

0 comments on commit 89288f9

Please sign in to comment.