remove discord banner

This commit is contained in:
James Hawkins 2021-08-06 18:17:43 +01:00
parent a870b91ff3
commit b3cd011bfa
3 changed files with 0 additions and 30 deletions

View File

@ -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; */
}

View File

@ -1,12 +0,0 @@
import React from 'react';
import './DiscordBanner.css';
export function DiscordBanner() {
return (
<div className="discordBanner">
<a href="https://discord.gg/vXsRvye8BS">
Join our Discord server
</a>
</div>
)
}

View File

@ -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' ?
<React.Fragment>
<Card>
<DiscordBanner />
{errorStatus ? <ErrorBanner>{errorStatus}</ErrorBanner> : ''}
<Title accent="Because watching content legally is boring">
What do you wanna watch?