Sub Navigation in ListView for Custom Page

Hi, I want to display a sub navigation in the ListView for a custom page (which does not interact with any record).

I have a subnavigation for my records setup already in my CustomerResource:
    public static function getRecordSubNavigation(Page $page): array
    {
        return $page->generateNavigationItems([
            Pages\Overview::class,
            Pages\Projects::class,
        ]);
    }

    public static function getPages(): array
    {
        return [
            'index' => Pages\ListCustomers::route('/'),
            'overview' => Pages\Overview::route('/{record}'),
            'projects' => Pages\Projects::route('/{record}/projects'),
        ];
    }


But how can I display a sub navigation on the ListCustomers Page for a custom Page?

Thank you!
Was this page helpful?