import React from 'react';
import Nav from "./Nav/Nav";
import Sidebar from "../layout/ControlPanel/Sidebar";

class NavDummy extends React.Component {

    render() {
        const navContent = (match) => {

            return [
                {
                    path: match.url + '/more',
                    lbl: {txt: 'gemeral'},
                },
                {
                    path: '/' + match.params.lng + '/dashboard',
                    lbl: {txt: 'doing'},
                },
                {
                    path: '/' + match.params.lng + '/dashboard',
                    lbl: {txt: 'done'},
                },
                {
                    path: '/' + match.params.lng + '/dashboard',
                    lbl: {txt: 'reopened'},
                },
                {
                    path: '/' + match.params.lng + '/dashboard',
                    lbl: {txt: 'billed'},
                },
            ]
        };

        return <Sidebar center={(props => <Nav path='/dashboard' content={navContent}/>)}/>
    };
}

export default NavDummy;