From 8a7f7a4a83f0407952f84d27fd78f79f3016420c Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 2 Aug 2020 22:10:42 +0400 Subject: [PATCH] Update banner and new video link --- components/sponsor-banner/index.js | 30 ++++---- components/sponsor-banner/style.js | 16 ++-- pages/watch.js | 120 +++++++++++++++-------------- 3 files changed, 87 insertions(+), 79 deletions(-) diff --git a/components/sponsor-banner/index.js b/components/sponsor-banner/index.js index 9e41341e8..115a998f8 100644 --- a/components/sponsor-banner/index.js +++ b/components/sponsor-banner/index.js @@ -1,26 +1,24 @@ import React from 'react'; -import { BannerWrap, CloseSponsor, EmojiWrap, SponsorLogo } from './style'; +import { BannerWrap, CloseSponsor, SponsorLogo } from './style'; -export function SponsorBanner({ onCloseBanner = () => null }){ +export function SponsorBanner({ onCloseBanner = () => null }) { return (
- - We now have a youtube channel - - Subscribe for the video content. - - { - e.preventDefault(); - onCloseBanner(); - }} - className='close'>× + + We now have a youtube channel. Subscribe for the video content. + + { + e.preventDefault(); + onCloseBanner(); + }} + className='close'>×
diff --git a/components/sponsor-banner/style.js b/components/sponsor-banner/style.js index 17ba15c4f..53008ebfe 100644 --- a/components/sponsor-banner/style.js +++ b/components/sponsor-banner/style.js @@ -2,8 +2,11 @@ import styled from 'styled-components'; export const BannerWrap = styled.a` margin-bottom: 0; - background: #101010; - color: white; + //background: #101010; + //color: white; + background: #ffe0b2; + color: #d8362a; + font-weight: 600; border: 0; border-radius: 0; padding: 10px 15px; @@ -12,7 +15,8 @@ export const BannerWrap = styled.a` transition: all 200ms; &:hover { - color: white; + background: #ffd698; + color: #bd2015; text-decoration: none; } `; @@ -32,14 +36,14 @@ export const EmojiWrap = styled.img` `; export const CloseSponsor = styled.span` - color: white; text-shadow: none; margin-right: 15px; position: relative; top: -2px; + color: #101010; &:hover { opacity: 1; - color: white; + color: #101010; } -`; \ No newline at end of file +`; diff --git a/pages/watch.js b/pages/watch.js index fd9671ec9..db91ef612 100644 --- a/pages/watch.js +++ b/pages/watch.js @@ -14,77 +14,83 @@ const WatchList = () => ( -
+
- - + + - + YouTube Channel - + - + Send me Updates
-
-
-
- - - - - - - - +
+
+
+ + + + + + + + +