mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
feat:Intro section (initial)
This commit is contained in:
BIN
packages/web/assets/landing/intro-background.png
Normal file
BIN
packages/web/assets/landing/intro-background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
9
packages/web/assets/landing/synthlogo-2.svg
Normal file
9
packages/web/assets/landing/synthlogo-2.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 614 KiB |
64
packages/web/components/Landing/Intro.jsx
Normal file
64
packages/web/components/Landing/Intro.jsx
Normal 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;
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user