'use client'; import React, { useState } from 'react'; import { Club, UserPortalPermissions, ClubRole } from './types'; import { FounderSidebar } from './founder-sidebar'; import { FounderTopBar } from './founder-top-bar'; interface FounderPortalShellProps { club: Club; permissions: UserPortalPermissions; activeNav?: string; onNavSelect?: (nav: string) => void; onPlanRide?: () => void; onPostAnnouncement?: () => void; onSwitchRole?: (role: ClubRole) => void; onSwitchClub?: () => void; pendingApplicationsCount?: number; upcomingRidesCount?: number; children: React.ReactNode; } export function FounderPortalShell({ club, permissions, activeNav = 'overview', onNavSelect, onPlanRide, onPostAnnouncement, onSwitchRole, onSwitchClub, pendingApplicationsCount = 0, upcomingRidesCount = 0, children, }: FounderPortalShellProps) { const [mobileSidebarOpen, setMobileSidebarOpen] = useState(false); return (