import { Route } from 'react-router-dom';
import { SignIn, CCartGoodAdmin } from '../components';
import { PageCategoryAdmin, PageSearch } from '../pages';

const PrivateRoute = () => {
  return (
    <>
      <Route path = "/login" component = {SignIn}/>
      <Route path = "/category/:_id" component = {PageCategoryAdmin}/>
      <Route path = "/goodAdmin/:_id" component = {CCartGoodAdmin}/>
      <Route path = "/search/:value" component = {PageSearch}/>
      {/* <Route path = "/basket" component={PageBasket}/>
      <Route path = "/listOrders" component={ListOrders}/>  */}
    </>
  );
};

export default PrivateRoute;
