Default

Function: default()

[object Object]

Defined in: app/layout/navbar.tsx:27

A primary layout component that provides the main navigation structure for the application.

This layout includes:

  • Dynamic Navigation: Displays a set of standard links (Dashboard, Activities, etc.).
  • Identity Management: Fetches and displays the user's profile picture and name.
  • Role-Based Access: Conditionally adds administrative links to the profile dropdown if the user is a board member.
  • Blob Management: Safely handles profile picture retrieval via API as a Blob and manages Object URL cleanup.
  • Responsive Constraints: Configures the NavBar to adapt its layout based on the length of the user's name.

Returns

[object Object]

Component

On this page