text: import React, { Component } from 'react';
  import {Switch, Route, Link, BrowserRouter} from 'react-router-dom';
  import Button from "@material-ui/core/Button";
  import Team from "./layout/team";
  import Board from "./layout/board/board";
  import NotFound from "./component/notfound";
  import createBoard from "./layout/board/createBoard";
  
  export default class App extends Component{
      constructor(props) {
          super(props);
      }
  
      render() {
        return (
            <BrowserRouter>
                <Switch>
                    <Route exact path={'/'} component={()=> <Button variant={'primary'}><Link to={'/dashboard'}>Dashboard</Link></Button>} />
                    <Route path={'/team'} component={Team} />
                    <Route path={'/create-board'} component={createBoard} />
                    <Route path={'/board'} component={Board} />
                    <Route component={NotFound} />
                </Switch>
            </BrowserRouter>
        );
      }
  }
  