mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
remove discord banner
This commit is contained in:
parent
a870b91ff3
commit
b3cd011bfa
3 changed files with 0 additions and 30 deletions
|
@ -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; */
|
||||
}
|
|
@ -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>
|
||||
)
|
||||
}
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue