-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The SiteHeader component has been migrated from the old design. Updated some scss file names for a more consistent naming convention. Closes #401
- Loading branch information
1 parent
d4ab707
commit 1875e02
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const SiteHeader = () => { | ||
return ( | ||
<header className="site-header"> | ||
<h1 className="site-header__title">Sparkeats by Sparkbox</h1> | ||
<a className="site-header__logo" href="/" aria-label="Return to Sparkeats Homepage" /> | ||
</header> | ||
); | ||
}; | ||
|
2 changes: 1 addition & 1 deletion
2
src/scss/components/_sparkeats-header.scss → src/scss/components/_site-header.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.sparkeats-header { | ||
.site-header { | ||
background-color: $primary-color; | ||
padding: 1em; | ||
box-sizing: border-box; | ||
|