+
)}
{/* Mobile navigation */}
- {user && (
- }
- menuItems={[{ name: 'Explore', href: '/groups' }, ...memberItems]}
- className={'relative z-50 flex-shrink-0'}
- />
- )}
{mobileNavigationOptions.map((item) => (
))}
- {!user && (
-
- )}
{user && (
}
/>
)}
+
+
{/* Desktop navigation */}
- {navigationOptions.map((item) =>
- item.name === 'Notifications' ? (
-
-
- {user && (
- }
- menuItems={[
- { name: 'Explore', href: '/groups' },
- ...memberItems,
- ]}
- className={'relative z-50 flex-shrink-0'}
- />
- )}
-
- ) : (
-
- )
- )}
-
+ {navigationOptions.map((item) => (
+
+ ))}
}
/>
+
+
+
-
)
}
+
+function GroupsList(props: { currentPage: string; memberItems: Item[] }) {
+ const { currentPage, memberItems } = props
+ return (
+ <>
+
+
+
+ >
+ )
+}