mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-09-22 15:22:59 +00:00
Apply sold out to remaining tickets and restore tournament in header
This commit is contained in:
@@ -6,9 +6,9 @@ import SoldOutOverlay from "@/components/SoldOutOverlay";
|
||||
import SwitchableTicketCard from "@/components/SwitchableTicketCard";
|
||||
|
||||
const ticketSoldOut = {
|
||||
visitor: false,
|
||||
supporter: false,
|
||||
lan: false,
|
||||
visitor: true,
|
||||
supporter: true,
|
||||
lan: true,
|
||||
lol: true,
|
||||
cs2: true,
|
||||
} as const;
|
||||
|
||||
@@ -43,7 +43,6 @@ const Header = ({ navItems }: HeaderProps) => {
|
||||
// Header navigation should include all options except homepage and hidden items
|
||||
const hiddenNavHrefs: NavItem["href"][] = [
|
||||
"/messiala",
|
||||
"/turniirid",
|
||||
];
|
||||
const mainNavItems = navItems.filter(
|
||||
(item) => item.href !== "/" && !hiddenNavHrefs.includes(item.href),
|
||||
|
||||
Reference in New Issue
Block a user