import React from 'react';
import {useAuth} from 'strapi-react-context';
import Layout from '../layouts/Centered';
import {useTranslation} from 'react-i18next';
import GenericMenu from '../containers/GenericMenu';
import {useHistory} from 'react-router-dom';
const Menu = () => {
const history = useHistory();
const {t} = useTranslation();
const {logout} = useAuth();
const goDashboard = history.push.bind(undefined, '/dashboard');
const goNewEvent = history.push.bind(undefined, '/new');
const goAbout = () => (window.location.href = t('meta.about_href'));
return (