-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: always show native assets regardless of denoms (#348) * St 353 display chain selection on inactive chain click in OtherChainButtons (#329) * WIP: chains display prefs open * feat: open preferences on click * cleanup * cleanup * feat: swap terra.kitchen/utils for @terra-money/terra-utils (#321) * feat: guard against empty networks, chaindID, or lcd (#327) * feat: kado integration and updated wallet buttons (#320) * feat: kado integration and updated wallet buttons * Fix passing/not passing * fix prettier * fix: always show native assets regardless of denoms * Update chain.ts * fix: hide low balance * fix: remove log * fix: code readability Changing code to follow logic for improved readability. * fix: exclude cw20 tokens --------- Co-authored-by: Mike <[email protected]> Co-authored-by: Alessandro Candeago <[email protected]> Co-authored-by: Manuel Alessandro Collazo <[email protected]> * fix: error checking (#345) * fix: error checking Error received may be empty object which is truthy in JavaScript. Check for falsy values OR empty objects when deciding if an error is truthy. * fix: Wrong error check * fix: broken history links (#380) * St 355 moon theme (#379) * changes blossom theme colors and changed some font styles mainly font-smoothing and font weight adjusted to reflect antialiased smoothing * Added navigation background and aside blurs ST-309 * changed blossom mp4 location * fixed aside blur on smaller heights * changed where the aside blurs are placed and added better management for mobile and small heights * fixed other changes I wanted in * changes colors * completed moon theme changes. Also implimented two toned cards the are on all themes along with some other small UI changes ST-355 * fixing mobile issues ST-355 * added theme stake amounts back in * changed background blob color to lighter, changed preview svg and removed staking minimums to themes * removed image I forgot to delete * St 355 pt4 (#382) * updated moon preview * changed preview colors * removed system default theme and makes it dark mode ST-433 (#383) * fix: password validation (#385) * fix: password validation * fix: onFocus password confirmation --------- Co-authored-by: plubber <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: Alessandro Candeago <[email protected]> Co-authored-by: Joshua Brigati <[email protected]>
- Loading branch information
1 parent
baf7e8e
commit 2bc7881
Showing
45 changed files
with
349 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.background_blur { | ||
background-color: var(--menu-bg); | ||
width: 325px; | ||
position: absolute; | ||
z-index: -1; | ||
height: 125%; | ||
right: 0px; | ||
filter: blur(45px); | ||
} |
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,14 @@ | ||
import { useTheme } from "data/settings/Theme" | ||
import styles from "./ActionsBackground.module.scss" | ||
|
||
const ActionsBackground = () => { | ||
const { name } = useTheme() | ||
|
||
if (name === "light" || name === "whale") { | ||
return <></> | ||
} | ||
|
||
return <div className={styles.background_blur} /> | ||
} | ||
|
||
export default ActionsBackground |
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,16 @@ | ||
.aside_background { | ||
position: absolute; | ||
top: 20%; | ||
|
||
@media screen and (max-height: 1100px) { | ||
top: 10%; | ||
} | ||
|
||
@media screen and (max-height: 900px) { | ||
top: 0%; | ||
} | ||
|
||
@media screen and (max-width: 992px) { | ||
display: none; | ||
} | ||
} |
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,37 @@ | ||
import MoonVideo from "styles/themes/Moon/Rocket V5 schuin.mp4" | ||
import { useTheme } from "data/settings/Theme" | ||
import styles from "./AsideBackground.module.scss" | ||
|
||
const AsideBackground = () => { | ||
const { name } = useTheme() | ||
|
||
const handleVideoEnd = (e: React.SyntheticEvent<HTMLVideoElement, Event>) => { | ||
const video = e.currentTarget | ||
|
||
video.pause() | ||
|
||
setTimeout(() => { | ||
video.play() | ||
}, 60 * 1000) | ||
} | ||
|
||
if (name === "moon") { | ||
return ( | ||
<div className={`${styles.aside_background} ${styles.moon}`}> | ||
<video | ||
onEnded={handleVideoEnd} | ||
key={MoonVideo} | ||
autoPlay | ||
muted | ||
playsInline | ||
> | ||
<source src={MoonVideo} type="video/mp4" /> | ||
</video> | ||
</div> | ||
) | ||
} | ||
|
||
return <></> | ||
} | ||
|
||
export default AsideBackground |
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,23 @@ | ||
@import "mixins"; | ||
|
||
.nav_background_wrapper { | ||
position: absolute; | ||
left: 0; | ||
height: 100%; | ||
overflow: hidden; | ||
|
||
&.moon { | ||
width: 100%; | ||
object-fit: cover; | ||
|
||
video { | ||
width: 100%; | ||
height: 100%; | ||
object-fit: cover; | ||
} | ||
} | ||
|
||
@include mobile { | ||
display: none; | ||
} | ||
} |
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,32 @@ | ||
import { useTheme } from "data/settings/Theme" | ||
import BlossomVideo from "styles/themes/Blossom/Nav.mp4" | ||
import MoonVideo from "styles/themes/Moon/Top Large 2V7.mp4" | ||
import styles from "./NavBackgrounds.module.scss" | ||
|
||
const NavBackgrounds = () => { | ||
const { name } = useTheme() | ||
|
||
if (name === "blossom") { | ||
return ( | ||
<div className={styles.nav_background_wrapper}> | ||
<video key={BlossomVideo} autoPlay muted loop playsInline> | ||
<source src={BlossomVideo} type="video/mp4" /> | ||
</video> | ||
</div> | ||
) | ||
} | ||
|
||
if (name === "moon") { | ||
return ( | ||
<div className={`${styles.nav_background_wrapper} ${styles.moon}`}> | ||
<video key={MoonVideo} autoPlay muted loop playsInline> | ||
<source src={MoonVideo} type="video/mp4" /> | ||
</video> | ||
</div> | ||
) | ||
} | ||
|
||
return <></> | ||
} | ||
|
||
export default NavBackgrounds |
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
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
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,30 @@ | ||
.blob1, | ||
.blob2, | ||
.blob3 { | ||
position: absolute; | ||
transform: translate(-50%, -50%); | ||
background: #85cafb7a; | ||
z-index: -1; | ||
filter: blur(250px); | ||
} | ||
|
||
.blob1 { | ||
top: 50%; | ||
left: 45%; | ||
height: 600px; | ||
width: 700px; | ||
} | ||
|
||
.blob2 { | ||
top: 5%; | ||
left: 5%; | ||
height: 200px; | ||
width: 200px; | ||
} | ||
|
||
.blob3 { | ||
top: 5%; | ||
right: 15%; | ||
height: 200px; | ||
width: 200px; | ||
} |
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,20 @@ | ||
import { useTheme } from "data/settings/Theme" | ||
import styles from "./BackgroundBlobs.module.scss" | ||
|
||
const BackgroundBlobs = () => { | ||
const { name } = useTheme() | ||
|
||
if (name === "moon") { | ||
return ( | ||
<> | ||
<div className={styles.blob1} /> | ||
<div className={styles.blob2} /> | ||
<div className={styles.blob3} /> | ||
</> | ||
) | ||
} | ||
|
||
return <></> | ||
} | ||
|
||
export default BackgroundBlobs |
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
Oops, something went wrong.