Added disclaimer page.
This commit is contained in:
12758
client/licenses.txt
Normal file
12758
client/licenses.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -7,6 +7,7 @@ import { createStructuredSelector } from "reselect";
|
|||||||
import ErrorBoundary from "../components/error-boundary/error-boundary.component";
|
import ErrorBoundary from "../components/error-boundary/error-boundary.component";
|
||||||
//Component Imports
|
//Component Imports
|
||||||
import LoadingSpinner from "../components/loading-spinner/loading-spinner.component";
|
import LoadingSpinner from "../components/loading-spinner/loading-spinner.component";
|
||||||
|
import AboutPage from "../pages/about/about.page";
|
||||||
import TechPageContainer from "../pages/tech/tech.page.container";
|
import TechPageContainer from "../pages/tech/tech.page.container";
|
||||||
import { checkUserSession } from "../redux/user/user.actions";
|
import { checkUserSession } from "../redux/user/user.actions";
|
||||||
import { selectCurrentUser } from "../redux/user/user.selectors";
|
import { selectCurrentUser } from "../redux/user/user.selectors";
|
||||||
@@ -62,6 +63,9 @@ export function App({ checkUserSession, currentUser }) {
|
|||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Route exact path="/csi/:surveyId" component={CsiPage} />
|
<Route exact path="/csi/:surveyId" component={CsiPage} />
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
|
<ErrorBoundary>
|
||||||
|
<Route exact path="/about" component={AboutPage} />
|
||||||
|
</ErrorBoundary>
|
||||||
<ErrorBoundary>
|
<ErrorBoundary>
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
|
|||||||
17
client/src/pages/about/about.page.jsx
Normal file
17
client/src/pages/about/about.page.jsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { Typography } from "antd";
|
||||||
|
export default function AboutPage() {
|
||||||
|
return (
|
||||||
|
<div style={{ textAlign: "center", margin: "1rem 0rem" }}>
|
||||||
|
<Typography.Title
|
||||||
|
level={2}
|
||||||
|
>{`ImEX Online V.${process.env.NODE_ENV}-${process.env.REACT_APP_GIT_SHA}`}</Typography.Title>
|
||||||
|
<Typography.Title level={4}>
|
||||||
|
© 2019 - {new Date().getFullYear()} Snapt Software Inc. used under
|
||||||
|
license to ImEX Systems Inc.
|
||||||
|
</Typography.Title>
|
||||||
|
<Typography.Title level={1}>Third Party Notices</Typography.Title>
|
||||||
|
<Typography.Text>Placeholder.</Typography.Text>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -4,7 +4,7 @@ import { BackTop, Layout } from "antd";
|
|||||||
import React, { lazy, Suspense, useEffect } from "react";
|
import React, { lazy, Suspense, useEffect } from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { connect } from "react-redux";
|
import { connect } from "react-redux";
|
||||||
import { Route, Switch } from "react-router-dom";
|
import { Link, Route, Switch } from "react-router-dom";
|
||||||
import { createStructuredSelector } from "reselect";
|
import { createStructuredSelector } from "reselect";
|
||||||
import BreadCrumbs from "../../components/breadcrumbs/breadcrumbs.component";
|
import BreadCrumbs from "../../components/breadcrumbs/breadcrumbs.component";
|
||||||
import ChatAffixContainer from "../../components/chat-affix/chat-affix.container";
|
import ChatAffixContainer from "../../components/chat-affix/chat-affix.container";
|
||||||
@@ -384,10 +384,12 @@ export function Manage({ match, conflict }) {
|
|||||||
|
|
||||||
<BackTop />
|
<BackTop />
|
||||||
<div style={{ textAlign: "center", margin: "1rem 0rem" }}>
|
<div style={{ textAlign: "center", margin: "1rem 0rem" }}>
|
||||||
<div>{`ImEX Online V.${process.env.NODE_ENV}-${process.env.REACT_APP_GIT_SHA}`}</div>
|
|
||||||
<div>
|
<div>
|
||||||
© 2019 - {new Date().getFullYear()} Snapt Software Inc.
|
{`ImEX Online V.${process.env.NODE_ENV}-${process.env.REACT_APP_GIT_SHA}`}{" "}
|
||||||
</div>
|
</div>
|
||||||
|
<Link to="/about" target="_blank" style={{ color: "#ccc" }}>
|
||||||
|
Disclaimer
|
||||||
|
</Link>
|
||||||
<JiraSupportComponent />
|
<JiraSupportComponent />
|
||||||
</div>
|
</div>
|
||||||
</Content>
|
</Content>
|
||||||
|
|||||||
Reference in New Issue
Block a user