import { Link } from 'preact-router/match' import { isAdministrator, USER_ROLE_ADMIN, USER_ROLE_MODERATOR } from '../../shared/constants.js' const ROLE_LABEL = { [USER_ROLE_ADMIN]: 'Admin', [USER_ROLE_MODERATOR]: 'Moderatore', } export const Header = ({ user, noLogin }) => (
)