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';
33
44const RootPage = styled . div `
55 height: 100%;
6- flex-wrap: wrap;
76 display: flex;
87 flex-direction: column;
98 color: ${ prop ( 'primaryTextColor' ) } ;
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Helmet } from 'react-helmet' ;
33import { useTranslation } from 'react-i18next' ;
4+ import { Link } from 'react-router' ;
45import SquareLogoIcon from '../../../images/p5js-square-logo.svg' ;
56// import PlayIcon from '../../../images/play.svg';
67import AsteriskIcon from '../../../images/p5-asterisk.svg' ;
@@ -148,24 +149,24 @@ function About(props) {
148149 </ a >
149150 </ p >
150151 < p className = "about__content-column-list" >
151- < a href = "/privacy-policy" target = "_blank" rel = "noopener noreferrer ">
152+ < Link to = "/privacy-policy" >
152153 < AsteriskIcon
153154 className = "about__content-column-asterisk"
154155 aria-hidden = "true"
155156 focusable = "false"
156157 />
157158 Privacy Policy
158- </ a >
159+ </ Link >
159160 </ p >
160161 < p className = "about__content-column-list" >
161- < a href = "/terms-of-use" target = "_blank" rel = "noopener noreferrer ">
162+ < Link to = "/terms-of-use" >
162163 < AsteriskIcon
163164 className = "about__content-column-asterisk"
164165 aria-hidden = "true"
165166 focusable = "false"
166167 />
167168 Terms of Use
168- </ a >
169+ </ Link >
169170 </ p >
170171 </ div >
171172 < div className = "about__footer" >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function FullView(props) {
4646 } ;
4747 } , [ ] ) ;
4848 return (
49- < RootPage style = { { flexWrap : 'initial' } } >
49+ < RootPage >
5050 < Helmet >
5151 < title > { project . name } </ title >
5252 </ Helmet >
Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ const routes = (store) => (
119119 { /* Mobile-only Routes */ }
120120 < Route path = "/preview" component = { MobileSketchView } />
121121 < 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 } />
124124 </ Route >
125125) ;
126126
You can’t perform that action at this time.
0 commit comments