Skip to content

Commit

Permalink
[Rav] added demo video link
Browse files Browse the repository at this point in the history
  • Loading branch information
RaviBolla committed Aug 2, 2017
1 parent 69bc31c commit 31d833e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/src/js/login/pages/LoginPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class LoginPage extends Component {
<p className="makenews-desc">
{this.props.loginPageStrings.branding.text}
</p>
<a href="#" className="watch-demo">
<a href="https://www.youtube.com/watch?v=KrDjm5Mwv8Y" target="_blank" className="watch-demo">
<i className="arrow fa fa-caret-right" aria-hidden="true"/> {this.props.loginPageStrings.watchDemo}
</a>
</div>
Expand Down
4 changes: 1 addition & 3 deletions client/src/js/user/Help.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export default class Help extends Component {
<div className="help-FAQs">
<div className="help">
<h3>{this.messages.help}</h3>
<div className="video">
<i className="icon fa fa-play" aria-hidden="true"/>
</div>
<div className="video" dangerouslySetInnerHTML={{ "__html": "<iframe class='video-play' src='https://www.youtube.com/embed/KrDjm5Mwv8Y?ecver=2'></iframe>" }} />
</div>
<div className="FAQs">
<h3>{this.messages.FAQsHeading}</h3>
Expand Down
11 changes: 5 additions & 6 deletions client/src/scss/pages/_help.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
}

.video {
width: 600px;
width: 641px;
height: 360px;
display: inline-block;
margin-bottom: 3rem;
background-color: $dark-background-color;

.icon{
margin: 25% 45%;
font-size: 50px;
color: #FFFFFF;
.video-play {
height: 100%;
width: 100%;
}
}
}
Expand Down

0 comments on commit 31d833e

Please sign in to comment.