File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { prop } from '../theme';
3
3
4
4
const RootPage = styled . div `
5
5
height: 100%;
6
- flex-wrap: wrap;
7
6
display: flex;
8
7
flex-direction: column;
9
8
color: ${ prop ( 'primaryTextColor' ) } ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Helmet } from 'react-helmet' ;
3
3
import { useTranslation } from 'react-i18next' ;
4
+ import { Link } from 'react-router' ;
4
5
import SquareLogoIcon from '../../../images/p5js-square-logo.svg' ;
5
6
// import PlayIcon from '../../../images/play.svg';
6
7
import AsteriskIcon from '../../../images/p5-asterisk.svg' ;
@@ -148,24 +149,24 @@ function About(props) {
148
149
</ a >
149
150
</ p >
150
151
< p className = "about__content-column-list" >
151
- < a href = "/privacy-policy" target = "_blank" rel = "noopener noreferrer ">
152
+ < Link to = "/privacy-policy" >
152
153
< AsteriskIcon
153
154
className = "about__content-column-asterisk"
154
155
aria-hidden = "true"
155
156
focusable = "false"
156
157
/>
157
158
Privacy Policy
158
- </ a >
159
+ </ Link >
159
160
</ p >
160
161
< p className = "about__content-column-list" >
161
- < a href = "/terms-of-use" target = "_blank" rel = "noopener noreferrer ">
162
+ < Link to = "/terms-of-use" >
162
163
< AsteriskIcon
163
164
className = "about__content-column-asterisk"
164
165
aria-hidden = "true"
165
166
focusable = "false"
166
167
/>
167
168
Terms of Use
168
- </ a >
169
+ </ Link >
169
170
</ p >
170
171
</ div >
171
172
< div className = "about__footer" >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function FullView(props) {
46
46
} ;
47
47
} , [ ] ) ;
48
48
return (
49
- < RootPage style = { { flexWrap : 'initial' } } >
49
+ < RootPage >
50
50
< Helmet >
51
51
< title > { project . name } </ title >
52
52
</ Helmet >
Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ const routes = (store) => (
119
119
{ /* Mobile-only Routes */ }
120
120
< Route path = "/preview" component = { MobileSketchView } />
121
121
< Route path = "/preferences" component = { MobilePreferences } />
122
- < Route path = "privacy-policy" component = { PrivacyPolicy } />
123
- < Route path = "terms-of-use" component = { TermsOfUse } />
122
+ < Route path = "/ privacy-policy" component = { PrivacyPolicy } />
123
+ < Route path = "/ terms-of-use" component = { TermsOfUse } />
124
124
</ Route >
125
125
) ;
126
126
You can’t perform that action at this time.
0 commit comments