"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_router_dom_1 = require("react-router-dom");
const content_1 = __importDefault(require("./content"));
const file_1 = __importDefault(require("./file"));
const folder_1 = __importDefault(require("./folder"));
function Projects() {
    return (react_1.default.createElement(react_router_dom_1.Switch, null,
        react_1.default.createElement(react_router_dom_1.Route, { path: "/projects/list", component: folder_1.default }),
        react_1.default.createElement(react_router_dom_1.Route, { path: "/projects/detail", component: file_1.default }),
        react_1.default.createElement(react_router_dom_1.Route, { path: "/projects/content", component: content_1.default }),
        react_1.default.createElement(react_router_dom_1.Redirect, { from: "/*", to: "/projects/list" })));
}
exports.default = Projects;
