<reponame>nykwlas/FisheriesWeb
{"ast":null,"code":"import React from\"react\";import{BrowserRouter as Router,Route}from\"react-router-dom\";import Navigation from\"../Navigation\";import LandingPage from\"../Landing\";import SignUpPage from\"../SignUp\";import TermsPage from\"../TAC\";import SignInPage from\"../SignIn\";import PasswordForgetPage from\"../PasswordForget\";import HomePage from\"../Home\";import AccountPage from\"../Account\";import AdminPage from\"../Admin\";import*as ROUTES from\"../../constants/routes\";import{withAuthentication}from\"../Session\";var App=function App(){return/*#__PURE__*/React.createElement(\"div\",null,/*#__PURE__*/React.createElement(Router,null,/*#__PURE__*/React.createElement(\"div\",null,/*#__PURE__*/React.createElement(Navigation,null),/*#__PURE__*/React.createElement(Route,{exact:true,path:ROUTES.LANDING,component:LandingPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.SIGN_UP,component:SignUpPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.TAC,component:TermsPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.SIGN_IN,component:SignInPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.PASSWORD_FORGET,component:PasswordForgetPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.HOME,component:HomePage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.ACCOUNT,component:AccountPage}),/*#__PURE__*/React.createElement(Route,{path:ROUTES.ADMIN,component:AdminPage}))));};export default withAuthentication(App);","map":{"version":3,"sources":["/home/nicolas/FisheriesWeb/src/components/App/index.js"],"names":["React","BrowserRouter","Router","Route","Navigation","LandingPage","SignUpPage","TermsPage","SignInPage","PasswordForgetPage","HomePage","AccountPage","AdminPage","ROUTES","withAuthentication","App","LANDING","SIGN_UP","TAC","SIGN_IN","PASSWORD_FORGET","HOME","ACCOUNT","ADMIN"],"mappings":"AAAA,MAAOA,CAAAA,KAAP,KAAkB,OAAlB,CACA,OAASC,aAAa,GAAIC,CAAAA,MAA1B,CAAkCC,KAAlC,KAA+C,kBAA/C,CAEA,MAAOC,CAAAA,UAA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B,SAAS,CAAEX,SAAtC,EATF,CADF,CADJ,CADU,EAAZ,CAkBA,cAAeE,CAAAA,kBAAkB,CAACC,GAAD,CAAjC","sourcesContent":["import React from \"react\";\nimport { BrowserRouter as Router, Route } from \"react-router-dom\";\n\nimport Navigation from \"../Navigation\";\nimport LandingPage from \"../Landing\";\nimport SignUpPage from \"../SignUp\";\nimport TermsPage from \"../TAC\";\nimport SignInPage from \"../SignIn\";\nimport PasswordForgetPage from \"../PasswordForget\";\nimport HomePage from \"../Home\";\nimport AccountPage from \"../Account\";\nimport AdminPage from \"../Admin\";\nimport * as ROUTES from \"../../constants/routes\";\nimport { withAuthentication } from \"../Session\";\n\nconst App = () => (\n  <div>\n      <Router>\n        <div>\n          <Navigation />\n          <Route exact path={ROUTES.LANDING} component={LandingPage} />\n          <Route path={ROUTES.SIGN_UP} component={SignUpPage} />\n          <Route path={ROUTES.TAC} component={TermsPage} />\n          <Route path={ROUTES.SIGN_IN} component={SignInPage} />\n          <Route path={ROUTES.PASSWORD_FORGET} component={PasswordForgetPage} />\n          <Route path={ROUTES.HOME} component={HomePage} />\n          <Route path={ROUTES.ACCOUNT} component={AccountPage} />\n          <Route path={ROUTES.ADMIN} component={AdminPage} />\n        </div>\n      </Router>\n  </div>\n);\n\nexport default withAuthentication(App);\n"]},"metadata":{},"sourceType":"module"}