Skip to content

Commit d98370f

Browse files
committed
release page - skeleton
1 parent 37ee456 commit d98370f

File tree

1 file changed

+57
-8
lines changed

1 file changed

+57
-8
lines changed

src/pages/release.js

Lines changed: 57 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import React, { Component } from "react";
22
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';
47
import "../css/style.css";
58
import AOS from "aos";
69
import "aos/dist/aos.css";
10+
711
class Release extends Component {
812
get_release(x){
913
for(var i=0;i<Releases.length;i++){
@@ -20,13 +24,58 @@ class Release extends Component {
2024
});
2125
return (
2226
<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>
3079
</div>
3180
);
3281
}

0 commit comments

Comments
 (0)