1
1
import React , { Component } from "react" ;
2
2
import { Container , Row , Col } from 'react-bootstrap' ;
3
- import { Releases } from '../components/new_release.js'
3
+ import { Releases } from '../components/new_release.js' ;
4
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
5
+ import { faYoutube , faInstagram , faSoundcloud } from '@fortawesome/free-brands-svg-icons' ;
6
+ import nightmare from '../images/release/nightmare.jpg' ;
4
7
import "../css/style.css" ;
5
8
import AOS from "aos" ;
6
9
import "aos/dist/aos.css" ;
10
+
7
11
class Release extends Component {
8
12
get_release ( x ) {
9
13
for ( var i = 0 ; i < Releases . length ; i ++ ) {
@@ -20,13 +24,58 @@ class Release extends Component {
20
24
} ) ;
21
25
return (
22
26
< div id = "content-wrapper" >
23
- < Container fluid >
24
- < h1 > HAAAAAAAAA</ h1 >
25
- { this . data . name }
26
- { this . data . yt }
27
- { this . data . sc }
28
- { this . data . igtv }
29
- </ Container >
27
+ < Container >
28
+ < Row >
29
+ < Col md = { 12 } className = "text-center" >
30
+ < div className = "release-con" >
31
+ < div className = "release" >
32
+ < div className = "release-img" >
33
+ < img src = { nightmare } alt = { this . data . name } />
34
+ </ div >
35
+ < div className = "release-name" >
36
+ < h2 > { this . data . name } </ h2 >
37
+ < p > { this . data . desc } </ p >
38
+ </ div >
39
+ < div className = "release-links-con" >
40
+ < div className = "release-links" >
41
+ < Row >
42
+ < Col xs = { 8 } >
43
+ < h5 > < FontAwesomeIcon icon = { faYoutube } />
44
+ YOUTUBE</ h5 >
45
+ </ Col >
46
+ < Col xs = { 4 } >
47
+ < button href = { this . data . yt } > play</ button >
48
+ </ Col >
49
+ </ Row >
50
+ </ div >
51
+ < div className = "release-links" >
52
+ < Row >
53
+ < Col xs = { 8 } >
54
+ < h5 > < FontAwesomeIcon icon = { faInstagram } />
55
+ INSTAGRAM</ h5 >
56
+ </ Col >
57
+ < Col xs = { 4 } >
58
+ < button href = { this . data . igtv } > play</ button >
59
+ </ Col >
60
+ </ Row >
61
+ </ div >
62
+ < div className = "release-links" >
63
+ < Row >
64
+ < Col xs = { 8 } >
65
+ < h5 > < FontAwesomeIcon icon = { faSoundcloud } />
66
+ SOUNDCLOUD</ h5 >
67
+ </ Col >
68
+ < Col xs = { 4 } >
69
+ < button href = { this . data . sc } > play</ button >
70
+ </ Col >
71
+ </ Row >
72
+ </ div >
73
+ </ div >
74
+ </ div >
75
+ </ div >
76
+ </ Col >
77
+ </ Row >
78
+ </ Container >
30
79
</ div >
31
80
) ;
32
81
}
0 commit comments