import React from 'react';
import { BrowserRouter, Redirect, Route, Switch } from 'react-router-dom';
import styled from 'styled-components';
import { Header, Breadcrumb, Menu } from '@containers/navigation';
import Manifest from '@containers/manifest';
import Environment from '@containers/environment';
import {
DeploymentGroupList,
DeploymentGroupCreate,
DeploymentGroupImport
} from '@containers/deployment-groups';
import {
ServiceList,
ServicesTopology,
ServicesMenu,
ServicesQuickActions
} from '@containers/services';
import {
ServiceScale,
ServiceDelete,
ServiceMetrics
} from '@containers/service';
import { InstanceList, InstancesTooltip } from '@containers/instances';
import { DeploymentGroupDelete } from '@containers/deployment-group';
import { NotFound } from '@components/navigation';
const Container = styled.div`
display: flex;
flex: 1 1 auto;
position: relative;
flex-flow: column;
`;
const rootRedirect = p =>