feat: Adds layout page to use with onboarding views (#8855)

* feat: Wizard step component to use with onboarding

* feat: Adds layout page to use with onboarding views

* Adds dark mode assets

* Updates to layout bg image

* Updates to translations
This commit is contained in:
Nithin David Thomas
2024-02-08 01:48:27 -08:00
committed by GitHub
parent 551a6b3c02
commit 17cb938bc8
7 changed files with 675 additions and 0 deletions
+7
View File
@@ -45,6 +45,13 @@ export const validateAuthenticateRoutePermission = (to, next, { getters }) => {
return next(frontendURL(`accounts/${user.account_id}/dashboard`));
}
// we can let them access onboarding routes
// we will eventually need guards as onboarding is done, but for now
// we can let them access onboarding routes
if (to.name.startsWith('onboarding')) {
return next();
}
const nextRoute = validateLoggedInRoutes(
to,
getters.getCurrentUser,