-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add video backgrounds for the nova hero (#1453)
* feat: add video backgrounds for the nova hero * fix: add missing playsInline for iOS :)
- Loading branch information
Showing
5 changed files
with
29 additions
and
10 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import HeroTestnetLight from "~/assets/background/hero-testnet-light.png"; | ||
import HeroTestnetDark from "~/assets/background/hero-testnet-dark.png"; | ||
import { ThemeMode } from "../enums"; | ||
|
||
const LIGHTMODE_BACKGROUND_URL = "https://files.iota.org/media/explorer_hero_nova_light.mp4"; | ||
const DARKMODE_BACKGROUND_URL = "https://files.iota.org/media/explorer_hero_nova_dark.mp4"; | ||
|
||
export const HERO_BACKGROUNDS: Record<ThemeMode, string> = { | ||
[ThemeMode.Light]: HeroTestnetLight, | ||
[ThemeMode.Dark]: HeroTestnetDark, | ||
[ThemeMode.Light]: LIGHTMODE_BACKGROUND_URL, | ||
[ThemeMode.Dark]: DARKMODE_BACKGROUND_URL, | ||
}; |
Binary file not shown.
Binary file not shown.