Add /partners to landing pages list (#6134)

This commit is contained in:
Piotr Monwid-Olechnowicz 2024-12-17 13:33:21 +01:00 committed by GitHub
parent 1683bdc8e5
commit b69ceef85b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,5 +16,12 @@ export function NavigationMenu(props: ComponentPropsWithoutRef<typeof Navbar>) {
);
}
const landingLikePages = ['/', '/pricing', '/federation', '/oss-friends', '/ecosystem'];
const landingLikePages = [
'/',
'/pricing',
'/federation',
'/oss-friends',
'/ecosystem',
'/partners',
];
export const isLandingPage = (route: string) => landingLikePages.includes(route);