From 1e0a260c8be25a3e6086fa7a18c119f3ee282a02 Mon Sep 17 00:00:00 2001 From: Ganga Date: Fri, 17 Jul 2020 17:24:15 +0530 Subject: [PATCH 1/2] Changes routes for terms and privacy policy --- src/Routes.js | 14 ++++++++++---- src/views/pages/HomeView/Footer.js | 8 ++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/Routes.js b/src/Routes.js index 90cb1a43..2faf2f7b 100755 --- a/src/Routes.js +++ b/src/Routes.js @@ -18,17 +18,23 @@ const routesConfig = [ component: lazy(() => import('src/views/pages/Error404View')) }, { - path: '/documents', + path: '/privacy', layout: DocsLayout, routes: [ { exact: true, - path: '/documents/privacy', + path: '/privacy', component: lazy(() => import('src/views/pages/documents/privacyView')) - }, + } + ] + }, + { + path: '/terms', + layout: DocsLayout, + routes: [ { exact: true, - path: '/documents/terms', + path: '/terms', component: lazy(() => import('src/views/pages/documents/termsView')) }, { diff --git a/src/views/pages/HomeView/Footer.js b/src/views/pages/HomeView/Footer.js index 48b88124..7e8caa46 100755 --- a/src/views/pages/HomeView/Footer.js +++ b/src/views/pages/HomeView/Footer.js @@ -219,16 +219,12 @@ function Footer({ className, ...rest }) { variant="body2" color="textSecondary" > - + Privacy Policy {' | '} - + Terms of Use From cc1ad9b004bdd49bbce8f455d3c6c1dd8913dc88 Mon Sep 17 00:00:00 2001 From: Ganga Date: Fri, 17 Jul 2020 17:30:32 +0530 Subject: [PATCH 2/2] Changes title for terms and privacy policy --- src/views/pages/documents/privacyView/index.js | 2 +- src/views/pages/documents/termsView/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/pages/documents/privacyView/index.js b/src/views/pages/documents/privacyView/index.js index 70fcbd1b..87aa9e6f 100755 --- a/src/views/pages/documents/privacyView/index.js +++ b/src/views/pages/documents/privacyView/index.js @@ -5,7 +5,7 @@ const Content = lazy(() => import('!babel-loader!mdx-loader!./Content.mdx')); function privacyView() { return ( - + diff --git a/src/views/pages/documents/termsView/index.js b/src/views/pages/documents/termsView/index.js index 9eefddcb..459d2c27 100755 --- a/src/views/pages/documents/termsView/index.js +++ b/src/views/pages/documents/termsView/index.js @@ -5,7 +5,7 @@ const Content = lazy(() => import('!babel-loader!mdx-loader!./Content.mdx')); function termsView() { return ( - +