2023-02-09 11:24:15 +00:00
|
|
|
import "./index.css";
|
|
|
|
import { RouteObject } from "react-router-dom";
|
2023-02-05 18:02:13 +00:00
|
|
|
|
2023-02-09 11:24:15 +00:00
|
|
|
import GetVerified from "Pages/new/GetVerified";
|
|
|
|
import NewUserName from "Pages/new/NewUsername";
|
|
|
|
import NewUserFlow from "Pages/new/NewUserFlow";
|
2023-02-05 18:02:13 +00:00
|
|
|
import ImportFollows from "Pages/new/ImportFollows";
|
|
|
|
import DiscoverFollows from "Pages/new/DiscoverFollows";
|
|
|
|
|
2023-02-09 11:24:15 +00:00
|
|
|
const USERNAME = "/new/username";
|
|
|
|
const IMPORT = "/new/import";
|
|
|
|
const DISCOVER = "/new/discover";
|
|
|
|
const VERIFY = "/new/verify";
|
|
|
|
|
2023-02-05 18:02:13 +00:00
|
|
|
export const NewUserRoutes: RouteObject[] = [
|
2023-02-07 20:04:50 +00:00
|
|
|
{
|
|
|
|
path: "/new",
|
|
|
|
element: <NewUserFlow />,
|
|
|
|
},
|
|
|
|
{
|
2023-02-09 11:24:15 +00:00
|
|
|
path: USERNAME,
|
|
|
|
element: <NewUserName />,
|
2023-02-07 20:04:50 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-09 11:24:15 +00:00
|
|
|
path: IMPORT,
|
2023-02-07 20:04:50 +00:00
|
|
|
element: <ImportFollows />,
|
|
|
|
},
|
|
|
|
{
|
2023-02-09 11:24:15 +00:00
|
|
|
path: VERIFY,
|
|
|
|
element: <GetVerified />,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: DISCOVER,
|
2023-02-07 20:04:50 +00:00
|
|
|
element: <DiscoverFollows />,
|
|
|
|
},
|
2023-02-05 18:02:13 +00:00
|
|
|
];
|