-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathHome.js
More file actions
64 lines (61 loc) · 2.44 KB
/
Home.js
File metadata and controls
64 lines (61 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import React from 'react';
import Background from '../Home/Background/Background';
import Header from '../Header/Header';
import Footer from '../Footer/Footer';
import CortexCard from './CortexCard/CortexCard';
import CortexCardContainer from './CortexCardContainer/CortexCardContainer';
import CortexCardContents from './CortexCardContents/CortexCardContents';
import MagicArrow from './MagicArrow/MagicArrow';
/*image imports*/
import NewImg from './img/stuff.GIF'
import SniperImg from './img/sniper.GIF'
import IntenseImg from './img/crabs.GIF'
function Home() {
return (
<div style={{ backgroundColor: '#111'}}>
<div style={{ position: 'fixed', top: '0', zIndex: '1000', width: '100%' }}>
<Header />
</div>
<MagicArrow />
<Background />
{/* This div covers the scroll arrow for lower content. */}
<div style={{
position: 'relative',
zIndex: '101',
backgroundColor: '#111'
}}>
<div className='scroll-anchor' style={{ position: 'relative', top: '-80px' }} />
<CortexCardContainer>
<CortexCard>
<CortexCardContents
title='Upgraded Engine'
body='The source code has been enhanced to improve performance.'
image={NewImg}
alt=''
/>
</CortexCard>
<CortexCard right>
<CortexCardContents
right
title='New Content'
body='New weapons, characters, and scenes.'
image={IntenseImg}
alt=''
/>
</CortexCard>
<CortexCard>
<CortexCardContents
title='Improved Strategic Gameplay'
body='The team has focused on accentuating the most satisfying gameplay elements.'
image={SniperImg}
alt=''
/>
</CortexCard>
</CortexCardContainer>
<div style={{ height: '48px', }} />
<Footer />
</div>
</div>
)
}
export default Home;