Skip to content

Commit

Permalink
updates YouTube video on Background page
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Apr 3, 2019
1 parent 9090c73 commit 5659979
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions app/pages/About/Background.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#Background {
padding-top: var(--nav-height);
& .video-container {
height: 315px;
height: 422px;
overflow: hidden;
position: relative;
width: 100%;
& .video {
box-sizing: border-box;
display: block;
height: 315px;
height: 422px;
left: 0;
padding: 0;
position: absolute;
Expand All @@ -26,6 +26,12 @@
transform: translateX(-100%);
}
}
@media (max-width: 768px) {
height: 300px;
& .video {
height: 300px;
}
}
& .video-prev, & .video-next {
color: $white-l;
font-size: 20px;
Expand Down
3 changes: 2 additions & 1 deletion app/pages/About/Background.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import "./Background.css";
import Anchor from "components/Anchor";

const videos = [
"https://www.youtube.com/embed/VJ29nJl-xWw"
"https://www.youtube.com/embed/o9im7-UZODM"
// "https://www.youtube.com/embed/VJ29nJl-xWw"
// "https://player.vimeo.com/video/166762095?badge=0&byline=0&portrait=0&title=0"
];

Expand Down

0 comments on commit 5659979

Please sign in to comment.