diff --git a/website/src/components/video-embed.js b/website/src/components/video-embed.js index aa366c33..2829de0d 100644 --- a/website/src/components/video-embed.js +++ b/website/src/components/video-embed.js @@ -2,6 +2,20 @@ import React, { Component } from 'react'; import screenshotEditor from '../img/screenshot-editor.jpg'; +/** + * We should be able to import complete inline svg's rather than base64, this + * component is a stopgap for now. Source in '../img/play.svg'. + */ +const PlayIcon = ({ className }) => ( + + + +); + class VideoEmbed extends Component { state = { toggled: false, @@ -30,7 +44,11 @@ class VideoEmbed extends Component { return ( {toggled ? embedcode : imgPlaceholder} - {!toggled &&
} + {!toggled && ( +
+ +
+ )}
); } diff --git a/website/src/css/imports/hero.css b/website/src/css/imports/hero.css index 6683afe0..2a557225 100644 --- a/website/src/css/imports/hero.css +++ b/website/src/css/imports/hero.css @@ -119,23 +119,30 @@ right: 0; width: 90px; height: 90px; - font-size: 64px; - font-weight: $semibold; - text-align: center; color: $blue; background-color: rgba(255, 255, 255, 0.85); box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.15); border-radius: 100px; transition: 0.1s; } + .hero-videolink-arrow { + position: absolute; + left: 33px; + top: 28px; + width: 44px; + height: 44px; + fill: #3a69c7; + } &:hover { .hero-videolink { - color: white; background-color: $blue; box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.15), 0 2px 6px 0 rgba(0, 0, 0, 0.3); transform: scale(1.1); } + .hero-videolink-arrow { + fill: #fff; + } } &:active { diff --git a/website/src/img/play.svg b/website/src/img/play.svg new file mode 100644 index 00000000..d9740034 --- /dev/null +++ b/website/src/img/play.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file