Add slide mode with reveal.js

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-10-04 12:50:39 +02:00
parent 29565f8f89
commit 36e445e631
70 changed files with 1225 additions and 323 deletions

View file

@ -11,3 +11,12 @@ export const isTestMode = (): boolean => {
export const isMockMode = (): boolean => {
return process.env.REACT_APP_BACKEND_BASE_URL === undefined
}
/**
* Checks if the current runtime was built in development mode.
*
* @return {@code true} if the runtime was built in development mode.
*/
export const isDevMode = (): boolean => {
return process.env.NODE_ENV === 'development'
}