From 36b84202cf6881570224c767cce7f9323ad078fc Mon Sep 17 00:00:00 2001 From: Jan Krcmar Date: Wed, 7 Sep 2022 13:49:47 +0200 Subject: [PATCH] Add Footer element at the bottom of the index page This allows users to put customized text via environment variable REACT_APP_FOOTER onto the page (fe. policies) Signed-off-by: Jan Krcmar --- client/src/app.tsx | 3 +++ client/src/components/footer.scss | 8 ++++++++ client/src/components/footer.tsx | 10 ++++++++++ client/src/scss/index.scss | 2 +- client/src/scss/settings.scss | 4 ++++ 5 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 client/src/components/footer.scss create mode 100644 client/src/components/footer.tsx diff --git a/client/src/app.tsx b/client/src/app.tsx index 8cecb10..f2fb562 100755 --- a/client/src/app.tsx +++ b/client/src/app.tsx @@ -2,6 +2,7 @@ import React, {Component, Fragment, ReactNode} from 'react'; import Menu from './components/menu'; import {Notifier} from './components/notifier'; import Error from './components/error'; +import Footer from './components/footer'; import {initRouter} from './router'; import log from './utils/log'; import Button from './components/button'; @@ -61,6 +62,8 @@ class App extends Component<{}, State> { + +