Remove Oktofest banner

This commit is contained in:
Kalle 2025-10-28 20:45:17 +02:00
parent 8dc22fcce4
commit 837ba25fc6
2 changed files with 0 additions and 30 deletions

View File

@ -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>();

View File

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