diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx new file mode 100644 index 0000000..226a821 --- /dev/null +++ b/src/components/Footer.tsx @@ -0,0 +1,30 @@ +import { Flex, Text } from '@chakra-ui/react' + +const Footer: React.FC = () => ( + + + + Greek Gods & Mortals + + + CONTACT + + + +) + +export default Footer diff --git a/src/components/Landing/WhoWillYouBe.tsx b/src/components/Landing/WhoWillYouBe.tsx new file mode 100644 index 0000000..39c84ee --- /dev/null +++ b/src/components/Landing/WhoWillYouBe.tsx @@ -0,0 +1,45 @@ +import { Box, Grid, Text, Image, Flex } from '@chakra-ui/react' +import styled from '@emotion/styled' + +const StyledBox = styled(Box)` + background: linear-gradient(105.6deg, #183544 16.92%, #0c2c3c 76.13%); + border: 1px solid rgba(255, 255, 255, 0.26); + padding: 20px 38px; +` + +const WhoWillYouBe: React.FC = () => ( + + + + + + Who Will You Be? + + sword + + + + + + Greek God + + + A further description of the game can go here. + + + + + + Human + + + A further description of the game can go here. + + + + + + +) + +export default WhoWillYouBe diff --git a/src/components/Landing/YourWallet/Minting.tsx b/src/components/Landing/YourWallet/Minting.tsx new file mode 100644 index 0000000..539c9af --- /dev/null +++ b/src/components/Landing/YourWallet/Minting.tsx @@ -0,0 +1,59 @@ +import { + Box, + Flex, + Text, + Image, + NumberInput, + NumberInputField, + NumberDecrementStepper, + NumberIncrementStepper, + NumberInputStepper, +} from '@chakra-ui/react' +import styled from '@emotion/styled' + +import ThemedButton from '../../../themed/Button' + +const StyledBox = styled(Box)` + background: linear-gradient(105.6deg, #183544 16.92%, #0c2c3c 76.13%); + border: 1px solid rgba(255, 255, 255, 0.26); + padding: 20px 38px; +` +const Minting: React.FC = () => ( + + + + Minting + + sword + + + + + 0/2000 GEN + + + 0 MINTED + + + + + + + + + + + + + MINT + + + +) + +export default Minting diff --git a/src/components/Landing/YourWallet/Staked.tsx b/src/components/Landing/YourWallet/Staked.tsx new file mode 100644 index 0000000..c1686fc --- /dev/null +++ b/src/components/Landing/YourWallet/Staked.tsx @@ -0,0 +1,27 @@ +import { Box, Flex, Text, Image } from '@chakra-ui/react' +import styled from '@emotion/styled' + +import ThemedButton from '../../../themed/Button' + +const StyledBox = styled(Box)` + background: linear-gradient(105.6deg, #183544 16.92%, #0c2c3c 76.13%); + border: 1px solid rgba(255, 255, 255, 0.26); + padding: 20px 38px; +` +const Staked: React.FC = () => ( + + + + Staked + + sword + + + + STAKE + + + +) + +export default Staked diff --git a/src/components/Landing/YourWallet/Unstaked.tsx b/src/components/Landing/YourWallet/Unstaked.tsx new file mode 100644 index 0000000..23a01a7 --- /dev/null +++ b/src/components/Landing/YourWallet/Unstaked.tsx @@ -0,0 +1,28 @@ +import { Box, Flex, Text, Image } from '@chakra-ui/react' +import styled from '@emotion/styled' + +import ThemedButton from '../../../themed/Button' + +const StyledBox = styled(Box)` + background: linear-gradient(105.6deg, #183544 16.92%, #0c2c3c 76.13%); + border: 1px solid rgba(255, 255, 255, 0.26); + padding: 20px 38px; +` + +const Unstaked: React.FC = () => ( + + + + Unstaked + + sword + + + + UNSTAKE + + + +) + +export default Unstaked diff --git a/src/components/Landing/YourWallet/index.tsx b/src/components/Landing/YourWallet/index.tsx new file mode 100644 index 0000000..e04067b --- /dev/null +++ b/src/components/Landing/YourWallet/index.tsx @@ -0,0 +1,33 @@ +import { Box, Flex, Grid, Text } from '@chakra-ui/react' + +import Minting from './Minting' +import Staked from './Staked' +import Unstaked from './Unstaked' + +const YourWallet: React.FC = () => ( + + + + YOUR WALLET + + 0.00 + + + $FAITH + + + + + + + + + +) + +export default YourWallet diff --git a/src/pages/Landing.tsx b/src/pages/Landing.tsx index 0bf0864..3b934de 100644 --- a/src/pages/Landing.tsx +++ b/src/pages/Landing.tsx @@ -1,11 +1,21 @@ -import { Box } from '@chakra-ui/react' import Hero from '../components/Landing/Hero' +import WhoWillYouBe from '../components/Landing/WhoWillYouBe' +import YourWallet from '../components/Landing/YourWallet' +import Footer from '../components/Footer' -const Landing: React.FC = () => ( - <> - - - -) +import { useWallet } from '../hooks' + +const Landing: React.FC = () => { + const { currentAccount } = useWallet() + + return ( + <> + + {currentAccount && } + +