This repository was archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
[Landing page redesign] Mobile nav menu + Downloads Page #1506
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
f20fec5
mobile menu changes
nicoback efd4e96
wuikfix
nicoback 780897e
right link fix
nicoback 2fab137
nav banner fix
nicoback 22ddc05
downloads page
nicoback 21535b4
background size fix
nicoback 1666570
download link fix
nicoback 8a90d36
small fixes
nicoback b0aaa25
Fix links from public site with redirect (#1520)
raymondjacobson 48af832
fix margins on ipad for downloadsp age
nicoback db118cf
fix parallax kinda
nicoback a4dff35
fix image circles
nicoback ac8ec15
qa re: padding
nicoback 41bcc92
quick featured content fix
nicoback dba175b
progressive imgs, clean imgs
nicoback 7257ccb
smaller images
nicoback c0829d5
change bg color
nicoback 56519d5
Fetch live playlists for landing page (#1535)
nicoback2 fdd6eb4
dowload page fixes
nicoback 8c53c29
button shadow fixes
nicoback c76f9b7
change source of playlist
nicoback db403c6
featured content qa
nicoback File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-1.31 MB
(9.4%)
packages/web/src/assets/img/publicSite/AudiusApp@2x.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-53.4 KB
(94%)
packages/web/src/assets/img/publicSite/Hero-BG@1x.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+59.7 KB
(130%)
packages/web/src/assets/img/publicSite/ImgArtistAlinaBaraz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+47.3 KB
(110%)
packages/web/src/assets/img/publicSite/ImgArtistDeadmau5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+45.3 KB
(130%)
packages/web/src/assets/img/publicSite/ImgArtistJasonDerulo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+49.8 KB
(130%)
packages/web/src/assets/img/publicSite/ImgArtistKatyPerry.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+43.3 KB
(130%)
packages/web/src/assets/img/publicSite/ImgArtistSteveAoki.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+45.9 KB
(120%)
packages/web/src/assets/img/publicSite/ImgArtistTheChainsmokers.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
This file contains hidden or 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,26 @@ | ||
| import { useCallback, useEffect, useState } from 'react' | ||
|
|
||
| /** Returns whether the given media query is matched */ | ||
| export const useMatchesBreakpoint = ({ | ||
| mediaQuery, | ||
| initialValue = false | ||
| }: { | ||
| /** | ||
| * E.g. the return value of something like `window.matchMedia("(max-width: 900px)")` | ||
| */ | ||
| mediaQuery: MediaQueryList | ||
| initialValue?: boolean | ||
| }) => { | ||
| const [value, setValue] = useState(initialValue) | ||
| const handleChange = useCallback(() => { | ||
| setValue(mediaQuery.matches) | ||
| }, [mediaQuery]) | ||
|
|
||
| useEffect(() => { | ||
| handleChange() | ||
| mediaQuery.addEventListener('change', handleChange) | ||
| return () => mediaQuery.removeEventListener('change', handleChange) | ||
| }, [handleChange, mediaQuery]) | ||
|
|
||
| return value | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be secondary color var?