diff --git a/packages/react-app/src/assets/ChallengeScreenshot.png b/packages/react-app/src/assets/ChallengeScreenshot.png new file mode 100644 index 00000000..7ab3f82f Binary files /dev/null and b/packages/react-app/src/assets/ChallengeScreenshot.png differ diff --git a/packages/react-app/src/assets/ClaimScreenshot.png b/packages/react-app/src/assets/ClaimScreenshot.png new file mode 100644 index 00000000..35a48aa1 Binary files /dev/null and b/packages/react-app/src/assets/ClaimScreenshot.png differ diff --git a/packages/react-app/src/assets/CreateQuestScreenshot.png b/packages/react-app/src/assets/CreateQuestScreenshot.png new file mode 100644 index 00000000..53385761 Binary files /dev/null and b/packages/react-app/src/assets/CreateQuestScreenshot.png differ diff --git a/packages/react-app/src/assets/ListScreenshot.png b/packages/react-app/src/assets/ListScreenshot.png new file mode 100644 index 00000000..618d7d40 Binary files /dev/null and b/packages/react-app/src/assets/ListScreenshot.png differ diff --git a/packages/react-app/src/assets/PlayScreenshot.png b/packages/react-app/src/assets/PlayScreenshot.png new file mode 100644 index 00000000..78039b33 Binary files /dev/null and b/packages/react-app/src/assets/PlayScreenshot.png differ diff --git a/packages/react-app/src/assets/RecoverFundsScreenshot.png b/packages/react-app/src/assets/RecoverFundsScreenshot.png new file mode 100644 index 00000000..e7cbdce9 Binary files /dev/null and b/packages/react-app/src/assets/RecoverFundsScreenshot.png differ diff --git a/packages/react-app/src/assets/ResolveScreenshot.png b/packages/react-app/src/assets/ResolveScreenshot.png new file mode 100644 index 00000000..20c6c2f3 Binary files /dev/null and b/packages/react-app/src/assets/ResolveScreenshot.png differ diff --git a/packages/react-app/src/assets/background-logo.png b/packages/react-app/src/assets/background-logo.png new file mode 100644 index 00000000..3a95ac9e Binary files /dev/null and b/packages/react-app/src/assets/background-logo.png differ diff --git a/packages/react-app/src/assets/background-logo.tsx b/packages/react-app/src/assets/background-logo.tsx new file mode 100644 index 00000000..5f505591 --- /dev/null +++ b/packages/react-app/src/assets/background-logo.tsx @@ -0,0 +1,174 @@ +import { GUpx } from 'src/utils/style.util'; +import styled from 'styled-components'; + +// #region StyledComponents +const WrapperStyled = styled.div` + height: 100%; + margin-left: ${GUpx(4)}; +`; +// #endregion + +export default function BackgroundLogo() { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/packages/react-app/src/assets/piggy.png b/packages/react-app/src/assets/piggy.png new file mode 100644 index 00000000..15e63439 Binary files /dev/null and b/packages/react-app/src/assets/piggy.png differ diff --git a/packages/react-app/src/assets/piggy.tsx b/packages/react-app/src/assets/piggy.tsx index 77f1090b..5d00c1a4 100644 --- a/packages/react-app/src/assets/piggy.tsx +++ b/packages/react-app/src/assets/piggy.tsx @@ -12,9 +12,10 @@ export default function Piggy() { return ( diff --git a/packages/react-app/src/components/back-to-top.tsx b/packages/react-app/src/components/back-to-top.tsx index 5ae86bad..7f397131 100644 --- a/packages/react-app/src/components/back-to-top.tsx +++ b/packages/react-app/src/components/back-to-top.tsx @@ -6,7 +6,8 @@ import { useEffect, useState } from 'react'; const TopRightCornerStyled = styled.div` position: absolute; bottom: ${GUpx(2)}; - right: ${GUpx(2)}; + right: calc(50vw - 10px); + width: 40px; `; export function BackToTop() { diff --git a/packages/react-app/src/components/claim.tsx b/packages/react-app/src/components/claim.tsx index b0d3cb31..6f0aa10c 100644 --- a/packages/react-app/src/components/claim.tsx +++ b/packages/react-app/src/components/claim.tsx @@ -74,7 +74,7 @@ export default function Claim({ claim, isLoading, challengeDeposit, questData }: const { walletAddress, walletConnected } = useWallet(); const { transaction } = useTransactionContext(); const [status, setStatus] = useState(claim.state); - const { below } = useViewport(); + const { below, width } = useViewport(); const [waitForClose, setWaitForClose] = useState(false); const [actionButton, setActionButton] = useState(); const [challengeReason, setChallengeReason] = useState(); @@ -92,6 +92,8 @@ export default function Claim({ claim, isLoading, challengeDeposit, questData }: ); }, [claim.state, claimable]); + const isSmall = useMemo(() => below('medium'), [width]); + const timer = useMemo( () => !claimable && @@ -230,18 +232,18 @@ export default function Claim({ claim, isLoading, challengeDeposit, questData }:
{status && ( )} - + /* TODO Put some spinner here */}