{
path: RoutesDetails.LOGIN.path,
element: <Login />,
private: false
}
<BrowserRouter>
<Routes>
<Route path="/" element={<Layout />}>
<Route index element={<HomePage />} />
<Route path="catalog" element={<CatalogPage />} />
<Route path="bonuses" element={<BonusesPage />} />
<Route path="about" element={<AboutPage />} />
<Route path="profile" element={<ProfilePage />} />
<Route path="profile/email/*" element={<ProfileEmailConfirm />} />
<Route path="contacts" element={<ContactsPage />} />
<Route path="contacts/:id" element={<ContactPage />} />
<Route path="office" element={<OfficePage />} />
<Route path="login" element={<LoginPage />} />
<Route path="restore" element={<RestorePage />} />
<Route path="help" element={<HelpPage />} />
<Route path="*" element={<NotFoundPage />} />
</Route>
</Routes>
</BrowserRouter>