From 1c456e70b652912ae7a155bf22776ec36becef5e Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Fri, 12 Feb 2021 06:03:41 +1100 Subject: [PATCH] Added markdown pages for privacy policy and credits --- README.md | 5 +- client/components/app.jsx | 4 + client/components/panels/footer.jsx | 3 +- client/components/panels/markdown.jsx | 34 + client/markdown/credits.md | 5 + client/markdown/privacy-policy.md | 2 + package-lock.json | 880 +++++++++++++++++++++++++- package.json | 2 + webpack.config.js | 10 +- 9 files changed, 937 insertions(+), 8 deletions(-) create mode 100644 client/components/panels/markdown.jsx create mode 100644 client/markdown/credits.md create mode 100644 client/markdown/privacy-policy.md diff --git a/README.md b/README.md index f09cbd9..e59ec7f 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,10 @@ There are external components to this template referred to as "microservices". T # TODO list -- Legal Requirements: +- ~~Legal Requirements:~~ - ~~Physical Mailing Address Config (for emails)~~ - ~~Opt-out option (for emails)~~ - - Privacy policy & data collection notices + - ~~Privacy policy & data collection notices~~ - ~~LICENSE file~~ - ~~annoying "This site uses cookies" message~~ - ~~Account system~~ @@ -79,6 +79,7 @@ There are external components to this template referred to as "microservices". T - HTTPS - Default admin account - Information about legal requirements of the developers using this template + - Privacy policy & data collection notices # Email settings diff --git a/client/components/app.jsx b/client/components/app.jsx index 4b6fd95..7e1d2b6 100644 --- a/client/components/app.jsx +++ b/client/components/app.jsx @@ -5,6 +5,7 @@ import { useCookies } from 'react-cookie'; //library components import LazyRoute from './lazy-route'; +import Markdown from './panels/markdown'; //styling //TODO: styling import @@ -45,6 +46,9 @@ const App = props => { import('./pages/admin')} /> + () => } /> + () => } /> + import('./pages/not-found')} />