wip: improve onboarding

This commit is contained in:
reya
2024-01-25 15:25:40 +07:00
parent bd45c36072
commit 74426e13c8
9 changed files with 446 additions and 359 deletions
+21 -3
View File
@@ -207,9 +207,6 @@ export default function Router() {
},
{
path: "create",
loader: async () => {
return await ark.getOAuthServices();
},
async lazy() {
const { CreateAccountScreen } = await import(
"./routes/auth/create"
@@ -217,6 +214,27 @@ export default function Router() {
return { Component: CreateAccountScreen };
},
},
{
path: "create-keys",
async lazy() {
const { CreateAccountKeys } = await import(
"./routes/auth/create-keys"
);
return { Component: CreateAccountKeys };
},
},
{
path: "create-address",
loader: async () => {
return await ark.getOAuthServices();
},
async lazy() {
const { CreateAccountAddress } = await import(
"./routes/auth/create-address"
);
return { Component: CreateAccountAddress };
},
},
{
path: "login",
async lazy() {