This repository was archived by the owner on Mar 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-12
lines changed
Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,23 @@ const routesConfig = [
1818 component : lazy ( ( ) => import ( 'src/views/pages/Error404View' ) )
1919 } ,
2020 {
21- path : '/documents ' ,
21+ path : '/privacy ' ,
2222 layout : DocsLayout ,
2323 routes : [
2424 {
2525 exact : true ,
26- path : '/documents/ privacy' ,
26+ path : '/privacy' ,
2727 component : lazy ( ( ) => import ( 'src/views/pages/documents/privacyView' ) )
28- } ,
28+ }
29+ ]
30+ } ,
31+ {
32+ path : '/terms' ,
33+ layout : DocsLayout ,
34+ routes : [
2935 {
3036 exact : true ,
31- path : '/documents/ terms' ,
37+ path : '/terms' ,
3238 component : lazy ( ( ) => import ( 'src/views/pages/documents/termsView' ) )
3339 } ,
3440 {
Original file line number Diff line number Diff line change @@ -219,16 +219,12 @@ function Footer({ className, ...rest }) {
219219 variant = "body2"
220220 color = "textSecondary"
221221 >
222- < Link
223- color = "inherit"
224- component = { RouterLink }
225- to = "/documents/privacy"
226- >
222+ < Link color = "inherit" component = { RouterLink } to = "/privacy" >
227223 Privacy Policy
228224 </ Link >
229225 { ' | ' }
230226
231- < Link color = "inherit" component = { RouterLink } to = "/documents/ terms" >
227+ < Link color = "inherit" component = { RouterLink } to = "/terms" >
232228 Terms of Use
233229 </ Link >
234230 </ Typography >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Content = lazy(() => import('!babel-loader!mdx-loader!./Content.mdx'));
55
66function privacyView ( ) {
77 return (
8- < Page title = "Welcome " >
8+ < Page title = "Privacy Policy " >
99 < Suspense fallback = { null } >
1010 < Content />
1111 </ Suspense >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Content = lazy(() => import('!babel-loader!mdx-loader!./Content.mdx'));
55
66function termsView ( ) {
77 return (
8- < Page title = "Welcome " >
8+ < Page title = "Terms of Use " >
99 < Suspense fallback = { null } >
1010 < Content />
1111 </ Suspense >
You can’t perform that action at this time.
0 commit comments