avatar to main merge
I have completed the character creation screen on the avatar branch and am preparing to merge it into main.
This commit is contained in:
@@ -4,6 +4,7 @@ export const routes = {
|
||||
signUp: "/auth/sign-up",
|
||||
signUpSuccess: "/auth/sign-up-success",
|
||||
onboardingQuiz: "/onboarding/quiz",
|
||||
onboardingCustomize: "/onboarding/customize",
|
||||
avatar: "/avatar",
|
||||
habits: "/habits",
|
||||
dailyQuiz: "/daily/quiz",
|
||||
@@ -27,6 +28,10 @@ export function isAuthPath(pathname: string) {
|
||||
return pathname.startsWith("/auth");
|
||||
}
|
||||
|
||||
export function isOnboardingPath(pathname: string) {
|
||||
return pathname.startsWith("/onboarding");
|
||||
}
|
||||
|
||||
export function isPublicPath(pathname: string) {
|
||||
return pathname === routes.home || isAuthPath(pathname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user