mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-25 07:32:19 -05:00
Remove Oktofest banner
This commit is contained in:
parent
8dc22fcce4
commit
837ba25fc6
|
|
@ -54,7 +54,6 @@ export default function FrontPage() {
|
|||
return (
|
||||
<Main className="front-page__container">
|
||||
<LeagueBanner />
|
||||
<OktofestBanner />
|
||||
<DesktopSideNav />
|
||||
<SeasonBanner />
|
||||
<TournamentCards />
|
||||
|
|
@ -167,23 +166,6 @@ function LeagueBanner() {
|
|||
);
|
||||
}
|
||||
|
||||
function OktofestBanner() {
|
||||
if (new Date() > new Date("2025-10-27")) return null;
|
||||
|
||||
return (
|
||||
<a
|
||||
href="https://www.start.gg/tournament/oktofest-2025/details"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="front__oktofest-banner"
|
||||
>
|
||||
<img src="/static-assets/img/layout/oktofest.png" width={24} alt="" />
|
||||
Register now for the next European LAN MAJOR! - Cologne (Germany) -
|
||||
25th/26th Oct
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
function TournamentCards() {
|
||||
const { t } = useTranslation(["front"]);
|
||||
const data = useLoaderData<typeof loader>();
|
||||
|
|
|
|||
|
|
@ -253,15 +253,3 @@
|
|||
gap: var(--s-2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.front__oktofest-banner {
|
||||
background-color: #ffad32;
|
||||
color: #000;
|
||||
border-radius: var(--rounded);
|
||||
padding: var(--s-2);
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
gap: var(--s-2);
|
||||
flex-wrap: wrap;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user