- Remove unsupported next: { revalidate } option from API routes
- Add Cloudflare-specific cache configuration (cf.cacheTtl)
- Add User-Agent and Referer headers to bypass Plan API 403 errors
- Enable workers_dev and preview_urls in wrangler.jsonc to prevent disabling on deployment
32 lines
508 B
TypeScript
32 lines
508 B
TypeScript
export interface NavItem {
|
|
label: string;
|
|
href: string;
|
|
external?: boolean;
|
|
icon?: React.ReactNode;
|
|
}
|
|
|
|
export interface NavDropdown {
|
|
label: string;
|
|
items: Array<{
|
|
title: string;
|
|
description?: string;
|
|
href: string;
|
|
}>;
|
|
}
|
|
|
|
export const navigationItems: Array<NavItem | NavDropdown> = [
|
|
{
|
|
label: "Home",
|
|
href: "/",
|
|
},
|
|
{
|
|
label: "Server",
|
|
href: "/#server-status",
|
|
},
|
|
{
|
|
label: "Community",
|
|
href: "https://discord.gg/invite",
|
|
external: true,
|
|
},
|
|
];
|