Fixed top app bar with the title/logo and an Admin button.
Uses useNavigate, so it must be rendered inside a router. Clicking the title navigates to /; the Admin button navigates to /admin.
useNavigate
/
/admin
The header AppBar element.
AppBar
Fixed top app bar with the title/logo and an Admin button.
Uses
useNavigate, so it must be rendered inside a router. Clicking the title navigates to/; the Admin button navigates to/admin.