snort/packages/app/src/Pages/new/index.tsx

37 lines
802 B
TypeScript
Raw Normal View History

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[] = [
{
path: "/new",
element: <NewUserFlow />,
},
{
2023-02-09 11:24:15 +00:00
path: USERNAME,
element: <NewUserName />,
},
{
2023-02-09 11:24:15 +00:00
path: IMPORT,
element: <ImportFollows />,
},
{
2023-02-09 11:24:15 +00:00
path: VERIFY,
element: <GetVerified />,
},
{
path: DISCOVER,
element: <DiscoverFollows />,
},
2023-02-05 18:02:13 +00:00
];