From b3cd011bfac6157607cb92f5392bd9cfe1e77b0d Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 6 Aug 2021 18:17:43 +0100 Subject: [PATCH] remove discord banner --- src/components/DiscordBanner.css | 16 ---------------- src/components/DiscordBanner.js | 12 ------------ src/views/Search.js | 2 -- 3 files changed, 30 deletions(-) delete mode 100644 src/components/DiscordBanner.css delete mode 100644 src/components/DiscordBanner.js diff --git a/src/components/DiscordBanner.css b/src/components/DiscordBanner.css deleted file mode 100644 index 6fa3fe5d..00000000 --- a/src/components/DiscordBanner.css +++ /dev/null @@ -1,16 +0,0 @@ -.discordBanner { - margin-top: 0.5rem; - border-inline-start: none; - font-size: 16px; - font-weight: normal; - letter-spacing: -.01em; - padding: .5rem 1rem .5rem .75rem; - border-radius: .25rem; - background-color: var(--button); - color: var(--button-text); -} - -.discordBanner a { - color: var(--button-text); - /* text-decoration: none; */ -} \ No newline at end of file diff --git a/src/components/DiscordBanner.js b/src/components/DiscordBanner.js deleted file mode 100644 index 2b952104..00000000 --- a/src/components/DiscordBanner.js +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import './DiscordBanner.css'; - -export function DiscordBanner() { - return ( -
- - Join our Discord server - -
- ) -} \ No newline at end of file diff --git a/src/views/Search.js b/src/views/Search.js index 21a73cd1..bc4360fd 100644 --- a/src/views/Search.js +++ b/src/views/Search.js @@ -13,7 +13,6 @@ import { useMovie } from '../hooks/useMovie'; import { TypeSelector } from '../components/TypeSelector'; import './Search.css'; -import { DiscordBanner } from '../components/DiscordBanner'; export function SearchView() { const { navigate, setStreamUrl, setStreamData } = useMovie(); @@ -186,7 +185,6 @@ export function SearchView() { {page === 'search' ? - {errorStatus ? {errorStatus} : ''} What do you wanna watch?