Skip to content

Commit

Permalink
Mixcloud player added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaburke91 committed Sep 8, 2017
1 parent 161678d commit cb3b104
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 12 deletions.
10 changes: 7 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</div>

<div class="header__radio-player">
<div class="header__radio-player__text primary-font">
<div class="header__radio-player__text primary-font hidden">
<span id="before-text" class="hidden header-fuzzy-text header-fuzzy-text--dark">Live Radio Broadcast 7th September 18:00 BST<span id="ellipsis" class="header-fuzzy-text header-fuzzy-text--dark"></span></span>
<span id="during-text" class="hidden header-fuzzy-text header-fuzzy-text--dark">
<i id="live-now-circle" class="fa fa-circle header-fuzzy-text header-fuzzy-text--red" aria-hidden="true"></i>
Expand All @@ -89,6 +89,10 @@
<span id="after-text" class="hidden header-fuzzy-text header-fuzzy-text--dark">Listen Back Available Here 8th September</span>
</div>

<div class="header__mixcloud-container">
<iframe width="100%" height="60" src="https://www.mixcloud.com/widget/iframe/?feed=https%3A%2F%2Fwww.mixcloud.com%2FNTSRadio%2Fmount-kimbie-7th-september-2017%2F&hide_cover=1&mini=1&light=1" frameborder="0"></iframe>
</div>

<div id="header__radio-player__handler--desktop" class="header__radio-player__handler hidden">
<i id="radio-handler-icon-desktop" class="radio-handler-icon fa fa-play header-fuzzy-text header-fuzzy-text--dark" aria-hidden="true"></i>
<span style="display: none; visibility: hidden;">
Expand All @@ -102,10 +106,10 @@

<div class="header__right primary-font">
<a id="pre-save-link" href="http://s.warp.net/lws-presave" target="_blank">
<span class="header-fuzzy-text">Pre-Save</span>
<span class="header-fuzzy-text">Save</span>
</a>
<a id="pre-order-link" href="http://s.warp.net/mk-survives" target="_blank">
<span class="header-fuzzy-text">Pre-Order</span>
<span class="header-fuzzy-text">BUY</span>
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/css/style.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.min.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions react/RadioPlayerMobile/RadioPlayerMobile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ class RadioPlayerMobile extends React.Component {
<div className="header-fuzzy-text header-fuzzy-text--dark">Love What Survives</div>
</span>
<span id="after-text-mobile" className="hidden">
<div className="header-fuzzy-text header-fuzzy-text--dark">Listen Back Available Here</div>
<div className="header-fuzzy-text header-fuzzy-text--dark">8th September</div>
<iframe width="100%" height="" src="https://www.mixcloud.com/widget/iframe/?feed=https%3A%2F%2Fwww.mixcloud.com%2FNTSRadio%2Fmount-kimbie-7th-september-2017%2F&hide_cover=1&light=1" frameborder="0"></iframe>
</span>
</div>
</div>
Expand Down
21 changes: 18 additions & 3 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ a {
}

.hidden {
display: none;
visibility: hidden;
display: none !important;
visibility: hidden !important;
}

$logo-size: 40px;
Expand Down Expand Up @@ -111,7 +111,11 @@ $header-padding: 5px;
vertical-align: bottom;
}
.header__mixcloud-container {

display: inline-block;
position: absolute;
top: 10px;
left: 71px;
right: 337px;
}

#pre-save-link, #pre-order-link {
Expand Down Expand Up @@ -367,6 +371,17 @@ img {
padding-bottom: 6px;
}
}

#after-text-mobile {
iframe {
position: absolute;
top: 50%;
left: 0; right: 0;
transform: translateY(-20%);

border-style: none;
}
}
}

/** Misc **/
Expand Down

0 comments on commit cb3b104

Please sign in to comment.