import React from "react" import { Switch, Route } from "react-router-dom" import { Link } from "react-router-dom" import { Layout, Menu, Icon } from "antd" import "antd/dist/antd.css" import logo from "./static/listmonk.svg" // Views. import Dashboard from "./Dashboard" import Lists from "./Lists" import Subscribers from "./Subscribers" import Templates from "./Templates" import Import from "./Import" import Test from "./Test" import Campaigns from "./Campaigns"; import Campaign from "./Campaign"; import Media from "./Media"; const { Content, Footer, Sider } = Layout const SubMenu = Menu.SubMenu class Base extends React.Component { state = { basePath: "/" + window.location.pathname.split("/")[1], error: null, collapsed: false }; onCollapse = (collapsed) => { this.setState({ collapsed }) } render() { return (
listmonk logo
Dashboard Lists Subscribers}> All subscribers Import Campaigns}> All campaigns Create new Media Templates Settings}> Users Settings Logout
{/* */} } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } />
) } } export default Base