feat:Intro section (initial)

This commit is contained in:
Tommy
2022-01-02 19:10:13 +00:00
committed by Scott Stevenson
parent ffe7d61050
commit ae47cce43f
4 changed files with 77 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 614 KiB

View File

@@ -0,0 +1,64 @@
import React from 'react';
import { Container, Box, Text, Image, Button } from "@chakra-ui/react"
import BackgroundImage from 'assets/landing/intro-background.png'
import MetaGameLogo from 'assets/landing/synthlogo-2.svg'
import { FaArrowDown } from 'react-icons/fa';
function Intro() {
return (
<Box
width="100%"
height="100vh"
backgroundImage={`url(${BackgroundImage})`}
bgPosition="center"
bgSize="cover"
>
<Container
flexDirection="column"
justifyContent="flex-end"
display="flex" alignItems="center"
width="100%"
height="100vh"
pb = '78px'
>
<Image
src={MetaGameLogo} />
<Text
fontSize="16px"
fontWeight="normal"
color="white"
mt="10px"
mb="35px"
>
A Massive Online Coordination Game
</Text>
<Button
fontWeight="normal"
fontSize="18px"
bg="#B40C85"
mb="16px"
width='284px'
>
JOIN NAO
</Button>
<Button
fontWeight="normal"
fontSize="18px"
bg="transparent"
border='1px'
borderColor="#79F8FB"
color="#79F8FB"
width='284px'
rightIcon={<FaArrowDown />}
>
EXPLORE MOAR
</Button>
</Container>
</Box>
);
}
export default Intro;

View File

@@ -1,7 +1,10 @@
import React from 'react';
import Intro from '../components/landing/Intro';
function Landing(): JSX.Element {
return <div>testing</div>;
return <div>
<Intro />
</div>;
}
export default Landing;