-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): add mobile menu button to header
- Loading branch information
Showing
4 changed files
with
188 additions
and
4 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
118 changes: 118 additions & 0 deletions
118
src/components/Layout/__snapshots__/Layout.test.tsx.snap
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,118 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`<Layout /> renders layout 1`] = ` | ||
<div> | ||
<div> | ||
<header | ||
class="" | ||
> | ||
<div> | ||
<div> | ||
<svg | ||
class="" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g> | ||
<path | ||
d="M0 0h24v24H0V0z" | ||
fill="none" | ||
/> | ||
<path | ||
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" | ||
/> | ||
</g> | ||
</svg> | ||
</div> | ||
<div> | ||
<img | ||
alt="logo" | ||
src="https://cdn.jwplayer.com/images/HXyBCU5N.png" | ||
/> | ||
</div> | ||
<nav> | ||
<a | ||
aria-current="page" | ||
class="function link() { [native code] } active" | ||
href="/" | ||
> | ||
<span> | ||
Home | ||
</span> | ||
</a> | ||
<a | ||
href="/p/:id" | ||
> | ||
<span> | ||
Playlist | ||
</span> | ||
</a> | ||
<a | ||
href="/u" | ||
> | ||
<span> | ||
Settings | ||
</span> | ||
</a> | ||
</nav> | ||
<div /> | ||
</div> | ||
</header> | ||
<div | ||
class="" | ||
> | ||
<div | ||
class="" | ||
> | ||
<nav> | ||
<svg | ||
class="" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g> | ||
<path | ||
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" | ||
/> | ||
<path | ||
d="M0 0h24v24H0z" | ||
fill="none" | ||
/> | ||
</g> | ||
</svg> | ||
</nav> | ||
<div> | ||
<a | ||
aria-current="page" | ||
class="function link() { [native code] } active" | ||
href="/" | ||
> | ||
<span> | ||
Home | ||
</span> | ||
</a> | ||
<a | ||
aria-current="page" | ||
class="function link() { [native code] } active" | ||
href="/" | ||
> | ||
<span> | ||
Test | ||
</span> | ||
</a> | ||
<hr /> | ||
<a | ||
aria-current="page" | ||
class="function link() { [native code] } active" | ||
href="/" | ||
> | ||
<span> | ||
Settings | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |