Skip to content

Commit 55cd902

Browse files
committed
add route to observatory status page
1 parent ecbbfd3 commit 55cd902

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

lib/service/RouteService.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ export interface IRouteService {
8282
* @returns
8383
*/
8484
getNeonUtilitiesDataStackRPath: () => string;
85+
/**
86+
* Gets the path to the observatory status page
87+
* @returns
88+
*/
89+
getObservatoryStatusPath: () => string;
8590
/**
8691
* Gets the path to the theme detail page
8792
* @param theme

lib/service/RouteService.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ var RouteService = {
6060
getNeonUtilitiesDataStackRPath: function getNeonUtilitiesDataStackRPath() {
6161
return "".concat(_NeonEnvironment.default.getWebHost(), "/resources/learning-hub/tutorials/neondatastackr");
6262
},
63+
getObservatoryStatusPath: function getObservatoryStatusPath() {
64+
return "".concat(_NeonEnvironment.default.getWebHost(), "/impact/observatory-blog/observatory-status");
65+
},
6366
getThemeDetailPath: function getThemeDetailPath(theme) {
6467
return "".concat(_NeonEnvironment.default.getWebHost(), "/data/data-themes/").concat(theme);
6568
},

src/lib_components/service/RouteService.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ export interface IRouteService {
8585
* @returns
8686
*/
8787
getNeonUtilitiesDataStackRPath: () => string;
88+
/**
89+
* Gets the path to the observatory status page
90+
* @returns
91+
*/
92+
getObservatoryStatusPath: () => string;
8893
/**
8994
* Gets the path to the theme detail page
9095
* @param theme
@@ -204,6 +209,9 @@ const RouteService: IRouteService = {
204209
getNeonUtilitiesDataStackRPath: (): string => (
205210
`${NeonEnvironment.getWebHost()}/resources/learning-hub/tutorials/neondatastackr`
206211
),
212+
getObservatoryStatusPath: (): string => (
213+
`${NeonEnvironment.getWebHost()}/impact/observatory-blog/observatory-status`
214+
),
207215
getThemeDetailPath: (theme: string): string => (
208216
`${NeonEnvironment.getWebHost()}/data/data-themes/${theme}`
209217
),

0 commit comments

Comments
 (0)