import "./index.css"; import { Outlet, RouteObject } from "react-router-dom"; import { SignIn, SignUp } from "./start"; import { AllLanguageCodes } from "Pages/settings/Preferences"; import Icon from "Icons/Icon"; import { Profile } from "./profile"; import { Topics } from "./topics"; import { Discover } from "./discover"; import { useLocale } from "IntlProvider"; import { Moderation } from "./moderation"; export interface NewUserState { name?: string; picture?: string; topics?: Array; muteLists?: Array; } function OnboardingLayout() { const { lang, setOverride } = useLocale(); return (
); } export const OnboardingRoutes = [ { path: "/login", element: , children: [ { path: "", element: , }, { path: "sign-up", element: , }, { path: "sign-up/profile", element: , }, { path: "sign-up/topics", element: , }, { path: "sign-up/discover", element: , }, { path: "sign-up/moderation", element: , }, ], }, ] as Array;