tiefen_space_op/src/routes/index.js

128 lines
3.2 KiB
JavaScript

import Banner from "../pages/Banner";
import Login from "../pages/Login";
import Op from "../pages/Op";
import Feed from "../pages/Feed";
import StreamerInformation from "../pages/StreamerInformation";
import StreamerJoin from "../pages/StreamerJoin";
import Feedback from "../pages/Feedback";
import Contact from "../pages/Contact";
import UploadMedia from "../pages/UploadMedia";
import GoodsReview from "../pages/GoodsReview";
import MediaReview from "../pages/MediaReview";
import CommentsReview from "../pages/CommentsReview";
import OrdersQuerry from "../pages/OrdersQuerry";
import StreamerVerification from "../pages/StreamerVerification";
import ImageMachineReview from "../pages/ImageMachineReview";
import TextMachineReview from "../pages/TextMachineReview";
import ManualRechargeAndWithdrawal from "../pages/ManualRechargeAndWithdrawal";
import CreateAndEditPost from "../pages/CreateAndEditPost";
import TopPosts from "../pages/TopPosts";
import PostMachineReview from "../pages/PostMachineReview";
import GetPhoneNumber from "../pages/GetPhoneNumber";
import Refund from "../pages/Refund";
import BlockUser from "../pages/BlockUser";
import DeletedPostReview from "../pages/DeletedPostReview";
const routes = [
{
path: "/login",
element: <Login />,
},
{
path: "/",
element: <Op />,
children: [
{
path: "banner/*",
element: <Banner />,
},
{
path: "feed/*",
element: <Feed />,
},
{
path: "streamerInformation/*",
element: <StreamerInformation />,
},
{
path: "streamerJoin/*",
element: <StreamerJoin />,
},
{
path: "streamerVerification/*",
element: <StreamerVerification />,
},
{
path: "feedback/*",
element: <Feedback />,
},
{
path: "contact/*",
element: <Contact />,
},
{
path: "uploadMedia/*",
element: <UploadMedia />,
},
{
path: "goodsReview/*",
element: <GoodsReview />,
},
{
path: "mediaReview/*",
element: <MediaReview />,
},
{
path: "commentsReview/*",
element: <CommentsReview />,
},
{
path: "ordersQuerry/*",
element: <OrdersQuerry />,
},
{
path: "imageMachineReview/*",
element: <ImageMachineReview />,
},
{
path: "textMachineReview/*",
element: <TextMachineReview />,
},
{
path: "manualRechargeAndWithdrawal/*",
element: <ManualRechargeAndWithdrawal />,
},
{
path: "createAndEditPost/*",
element: <CreateAndEditPost />,
},
{
path: "topPosts/*",
element: <TopPosts />,
},
{
path: "postMachineReview/*",
element: <PostMachineReview />,
},
{
path: "getPhoneNumber/*",
element: <GetPhoneNumber />,
},
{
path: "refund/*",
element: <Refund />,
},
{
path: "blockUser/*",
element: <BlockUser />,
},
{
path: "deletedPostReview/*",
element: <DeletedPostReview />,
},
],
},
];
export default routes;