{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\user\\\\Desktop\\\\05mediaSocial\\\\client\\\\src\\\\App.js\";\n// import {BrowserRouter as Router,Routes,Route, Navigate} from \"react-router-dom\";\nimport { Routes, Route, Navigate } from \"react-router-dom\";\nimport Home from \"../src/pages/Home\";\nimport Profil from \"../src/pages/Profil\";\nimport Trending from \"../src/pages/Trending\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst App = () => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"App\",\n    children: /*#__PURE__*/_jsxDEV(Routes, {\n      children: [/*#__PURE__*/_jsxDEV(Route, {\n        path: \"/\",\n        exact: /*#__PURE__*/_jsxDEV(Home, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 16,\n          columnNumber: 37\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 16,\n        columnNumber: 13\n      }, this), /*#__PURE__*/_jsxDEV(Route, {\n        path: \"/profil\",\n        exact: /*#__PURE__*/_jsxDEV(Profil, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 17,\n          columnNumber: 43\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 17,\n        columnNumber: 13\n      }, this), /*#__PURE__*/_jsxDEV(Route, {\n        path: \"/trending\",\n        exact: /*#__PURE__*/_jsxDEV(Trending, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 18,\n          columnNumber: 45\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 18,\n        columnNumber: 13\n      }, this), /*#__PURE__*/_jsxDEV(Navigate, {\n        to: \"/\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 19,\n        columnNumber: 13\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 14,\n      columnNumber: 9\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 12,\n    columnNumber: 8\n  }, this);\n};\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["Routes","Route","Navigate","Home","Profil","Trending","App"],"sources":["C:/Users/user/Desktop/05mediaSocial/client/src/App.js"],"sourcesContent":["\n\n// import {BrowserRouter as Router,Routes,Route, Navigate} from \"react-router-dom\";\nimport { Routes,Route,Navigate} from \"react-router-dom\"\nimport Home from \"../src/pages/Home\";\nimport Profil from \"../src/pages/Profil\";\nimport Trending from \"../src/pages/Trending\";\n\n\nconst App=()=>{\n    return(\n       <div className=\"App\">\n\n        <Routes>\n\n            <Route path=\"/\" exact= {<Home/> } />\n            <Route path=\"/profil\" exact= {<Profil/> } />\n            <Route path=\"/trending\" exact= {<Trending/> } />\n            <Navigate to=\"/\" />\n        </Routes> \n       </div>\n   \n    )\n};\n\nexport default App;"],"mappings":";AAEA;AACA,SAASA,MAAM,EAACC,KAAK,EAACC,QAAQ,QAAO,kBAAkB;AACvD,OAAOC,IAAI,MAAM,mBAAmB;AACpC,OAAOC,MAAM,MAAM,qBAAqB;AACxC,OAAOC,QAAQ,MAAM,uBAAuB;AAAC;AAG7C,MAAMC,GAAG,GAAC,MAAI;EACV,oBACG;IAAK,SAAS,EAAC,KAAK;IAAA,uBAEnB,QAAC,MAAM;MAAA,wBAEH,QAAC,KAAK;QAAC,IAAI,EAAC,GAAG;QAAC,KAAK,eAAG,QAAC,IAAI;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eACpC,QAAC,KAAK;QAAC,IAAI,EAAC,SAAS;QAAC,KAAK,eAAG,QAAC,MAAM;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eAC5C,QAAC,KAAK;QAAC,IAAI,EAAC,WAAW;QAAC,KAAK,eAAG,QAAC,QAAQ;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eAChD,QAAC,QAAQ;QAAC,EAAE,EAAC;MAAG;QAAA;QAAA;QAAA;MAAA,QAAG;IAAA;MAAA;MAAA;MAAA;IAAA;EACd;IAAA;IAAA;IAAA;EAAA,QACJ;AAGb,CAAC;AAAC,KAdIA,GAAG;AAgBT,eAAeA,GAAG;AAAC;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]}