|
@ -3,13 +3,11 @@ import '@angular/localize/init'; |
|
|
export const routes = { |
|
|
export const routes = { |
|
|
access: 'access', |
|
|
access: 'access', |
|
|
account: 'account', |
|
|
account: 'account', |
|
|
accounts: 'accounts', |
|
|
|
|
|
activities: 'activities', |
|
|
activities: 'activities', |
|
|
adminControl: 'admin', |
|
|
adminControl: 'admin', |
|
|
allocations: 'allocations', |
|
|
allocations: 'allocations', |
|
|
api: 'api', |
|
|
api: 'api', |
|
|
auth: 'auth', |
|
|
auth: 'auth', |
|
|
blog: 'blog', |
|
|
|
|
|
demo: 'demo', |
|
|
demo: 'demo', |
|
|
fire: 'fire', |
|
|
fire: 'fire', |
|
|
holdings: 'holdings', |
|
|
holdings: 'holdings', |
|
@ -34,6 +32,7 @@ export const routes = { |
|
|
|
|
|
|
|
|
// Publicly accessible pages
|
|
|
// Publicly accessible pages
|
|
|
about: $localize`:kebab-case:about`, |
|
|
about: $localize`:kebab-case:about`, |
|
|
|
|
|
blog: 'blog', |
|
|
changelog: $localize`:kebab-case:changelog`, |
|
|
changelog: $localize`:kebab-case:changelog`, |
|
|
faq: $localize`:kebab-case:faq`, |
|
|
faq: $localize`:kebab-case:faq`, |
|
|
features: $localize`:kebab-case:features`, |
|
|
features: $localize`:kebab-case:features`, |
|
@ -46,8 +45,23 @@ export const routes = { |
|
|
ossFriends: 'oss-friends', |
|
|
ossFriends: 'oss-friends', |
|
|
pricing: $localize`:kebab-case:pricing`, |
|
|
pricing: $localize`:kebab-case:pricing`, |
|
|
privacyPolicy: $localize`:kebab-case:privacy-policy`, |
|
|
privacyPolicy: $localize`:kebab-case:privacy-policy`, |
|
|
register: $localize`:kebab-case:register`, |
|
|
|
|
|
resources: $localize`:kebab-case:resources`, |
|
|
resources: $localize`:kebab-case:resources`, |
|
|
selfHosting: $localize`:kebab-case:self-hosting`, |
|
|
selfHosting: $localize`:kebab-case:self-hosting`, |
|
|
termsOfService: $localize`:kebab-case:terms-of-service` |
|
|
termsOfService: $localize`:kebab-case:terms-of-service` |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const internalRoutes = { |
|
|
|
|
|
accounts: { |
|
|
|
|
|
path: 'accounts', |
|
|
|
|
|
subRoutes: {}, |
|
|
|
|
|
title: $localize`Accounts` |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const publicRoutes = { |
|
|
|
|
|
register: { |
|
|
|
|
|
path: $localize`:kebab-case:register`, |
|
|
|
|
|
subRoutes: {}, |
|
|
|
|
|
title: $localize`Registration` |
|
|
|
|
|
} |
|
|
|
|
|
}; |
|
|