{"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 \"./pages/Home\";\nimport Profil from \"./pages/profil\";\nimport Trending from \"./pages/trending\";\nimport './styles/index.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst App = () => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    children: /*#__PURE__*/_jsxDEV(Routes, {\n      children: [/*#__PURE__*/_jsxDEV(Route, {\n        path: \"/\",\n        element: /*#__PURE__*/_jsxDEV(Home, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 16,\n          columnNumber: 39\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 16,\n        columnNumber: 13\n      }, this), /*#__PURE__*/_jsxDEV(Route, {\n        path: \"/\",\n        element: /*#__PURE__*/_jsxDEV(Profil, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 17,\n          columnNumber: 39\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 17,\n        columnNumber: 13\n      }, this), /*#__PURE__*/_jsxDEV(Route, {\n        path: \"/\",\n        element: /*#__PURE__*/_jsxDEV(Trending, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 18,\n          columnNumber: 39\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: 22,\n        columnNumber: 13\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 15,\n      columnNumber: 9\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 13,\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 \"./pages/Home\";\nimport Profil from \"./pages/profil\";\nimport Trending from \"./pages/trending\";\nimport './styles/index.scss'\n\n\nconst App=()=>{\n    return(\n       <div >\n\n        <Routes>\n            <Route path=\"/\" element= {<Home/> } />\n            <Route path=\"/\" element= {<Profil/> } />\n            <Route path=\"/\" element= {<Trending/> } />\n{/* \n            <Route path=\"/profil\"element= {<Profil/> } />\n            <Route path=\"/trending\" element= {<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,cAAc;AAC/B,OAAOC,MAAM,MAAM,gBAAgB;AACnC,OAAOC,QAAQ,MAAM,kBAAkB;AACvC,OAAO,qBAAqB;AAAA;AAG5B,MAAMC,GAAG,GAAC,MAAI;EACV,oBACG;IAAA,uBAEC,QAAC,MAAM;MAAA,wBACH,QAAC,KAAK;QAAC,IAAI,EAAC,GAAG;QAAC,OAAO,eAAG,QAAC,IAAI;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eACtC,QAAC,KAAK;QAAC,IAAI,EAAC,GAAG;QAAC,OAAO,eAAG,QAAC,MAAM;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eACxC,QAAC,KAAK;QAAC,IAAI,EAAC,GAAG;QAAC,OAAO,eAAG,QAAC,QAAQ;UAAA;UAAA;UAAA;QAAA;MAAI;QAAA;QAAA;QAAA;MAAA,QAAG,eAI1C,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,KAhBIA,GAAG;AAkBT,eAAeA,GAAG;AAAC;AAAA"},"metadata":{},"sourceType":"module","externalDependencies":[]}