spee.ch/client/build/app.js

57 lines
1.8 KiB
JavaScript
Raw Normal View History

2018-05-23 04:06:37 +02:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactRouterDom = require("react-router-dom");
var _HomePage = _interopRequireDefault(require("@pages/HomePage"));
var _AboutPage = _interopRequireDefault(require("@pages/AboutPage"));
var _LoginPage = _interopRequireDefault(require("@pages/LoginPage"));
var _ShowPage = _interopRequireDefault(require("@pages/ShowPage"));
var _FourOhFourPage = _interopRequireDefault(require("@pages/FourOhFourPage"));
var _MultisitePage = _interopRequireDefault(require("@pages/MultisitePage"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2018-06-06 22:45:54 +02:00
var App = function App() {
2018-05-23 04:06:37 +02:00
return _react.default.createElement(_reactRouterDom.Switch, null, _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/",
component: _HomePage.default
}), _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/about",
component: _AboutPage.default
}), _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/login",
component: _LoginPage.default
}), _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/multisite",
component: _MultisitePage.default
}), _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/:identifier/:claim",
component: _ShowPage.default
}), _react.default.createElement(_reactRouterDom.Route, {
exact: true,
path: "/:claim",
component: _ShowPage.default
}), _react.default.createElement(_reactRouterDom.Route, {
component: _FourOhFourPage.default
}));
};
2018-06-06 22:45:54 +02:00
var _default = App;
2018-05-23 04:06:37 +02:00
exports.default = _default;