-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatic-paths.ts
More file actions
72 lines (71 loc) · 1.8 KB
/
static-paths.ts
File metadata and controls
72 lines (71 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
export const REDIRECT_ROUTES = [
{
from: '/',
to: '/walkthrough'
},
{
from: '/auth',
to: '/auth/login'
},
{
from: '/firebase',
to: '/firebase/auth/sign-in'
},
{
from: '/firebase/auth',
to: '/firebase/auth/sign-in'
},
// We don't store state in the server, redirect to sign-in.
// [/sign-in] should redirect to profile if the user is logged in the Browser
{
from: '/firebase/auth/profile',
to: '/firebase/auth/sign-in'
},
{
from: '/firebase/crud',
to: '/firebase/crud/listing'
},
{
from: '/showcase',
to: '/showcase/app-shell'
}
];
export const APP_ROUTES = [
'/walkthrough',
'/getting-started',
'/auth/login',
'/auth/signup',
'/auth/forgot-password',
'/app/user',
'/app/user/friends',
'/app/notifications',
'/app/fitfiles',
'/firebase/auth/sign-in',
'/firebase/auth/sign-up',
'/firebase/crud/listing',
'/firebase/crud/details/:id',
'/contact-card',
'/forms-and-validations',
'/forms-filters',
'/maps',
'/video-playlist',
'/page-not-found',
'/showcase/app-shell',
'/showcase/app-shell/aspect-ratio',
'/showcase/app-shell/image-shell',
'/showcase/app-shell/text-shell',
'/showcase/app-shell/simple-data-binding',
'/showcase/app-shell/data-store-basic',
'/showcase/app-shell/data-store-list',
'/showcase/app-shell/data-store-subset',
'/showcase/app-shell/data-store-combined',
'/showcase/app-shell/data-store-multiple',
'/showcase/app-shell/data-store-pagination',
'/showcase/app-shell/data-store-stacked',
'/showcase/app-shell/data-store-dependant',
'/showcase/route-resolvers-ux',
'/showcase/route-resolvers-ux/blocking-resolvers',
'/showcase/route-resolvers-ux/non-blocking-resolvers',
'/showcase/route-resolvers-ux/progressive-shell-resolvers',
'/showcase/custom-components'
];