mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-09-22 15:22:59 +00:00
Merge pull request #157 from Lapikud/development
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";
|
import SwitchableTicketCard from "@/components/SwitchableTicketCard";
|
||||||
|
|
||||||
const ticketSoldOut = {
|
const ticketSoldOut = {
|
||||||
visitor: false,
|
visitor: true,
|
||||||
supporter: false,
|
supporter: true,
|
||||||
lan: false,
|
lan: true,
|
||||||
lol: true,
|
lol: true,
|
||||||
cs2: true,
|
cs2: true,
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ const Header = ({ navItems }: HeaderProps) => {
|
|||||||
// Header navigation should include all options except homepage and hidden items
|
// Header navigation should include all options except homepage and hidden items
|
||||||
const hiddenNavHrefs: NavItem["href"][] = [
|
const hiddenNavHrefs: NavItem["href"][] = [
|
||||||
"/messiala",
|
"/messiala",
|
||||||
"/turniirid",
|
|
||||||
];
|
];
|
||||||
const mainNavItems = navItems.filter(
|
const mainNavItems = navItems.filter(
|
||||||
(item) => item.href !== "/" && !hiddenNavHrefs.includes(item.href),
|
(item) => item.href !== "/" && !hiddenNavHrefs.includes(item.href),
|
||||||
|
|||||||
Reference in New Issue
Block a user