@@ -11,7 +11,7 @@ import { FooterLink, FooterColumnTitle } from './FooterElements';
1111const Footer : React . FC = ( ) => {
1212 const theme = useTheme ( ) ;
1313 const t = useTranslations ( 'footer' ) ;
14- const FooterColumnWidth = '185px' ;
14+ const FOOTER_COLUMN_WIDTH = '185px' ;
1515 const SlackSvg = (
1616 < svg
1717 xmlns = 'http://www.w3.org/2000/svg'
@@ -92,7 +92,7 @@ const Footer: React.FC = () => {
9292 component = 'a'
9393 href = { MOBILITY_DATA_LINKS . github }
9494 target = '_blank'
95- rel = 'noreferrer'
95+ rel = 'noopener noreferrer'
9696 size = 'small'
9797 >
9898 < GitHub />
@@ -102,7 +102,7 @@ const Footer: React.FC = () => {
102102 component = 'a'
103103 href = { MOBILITY_DATA_LINKS . slack }
104104 target = '_blank'
105- rel = 'noreferrer '
105+ rel = 'noopenernoreferrer '
106106 size = 'small'
107107 >
108108 { SlackSvg }
@@ -112,7 +112,7 @@ const Footer: React.FC = () => {
112112 component = 'a'
113113 href = { MOBILITY_DATA_LINKS . linkedin }
114114 target = '_blank'
115- rel = 'noreferrer'
115+ rel = 'noopener noreferrer'
116116 size = 'small'
117117 >
118118 < LinkedIn />
@@ -130,7 +130,7 @@ const Footer: React.FC = () => {
130130 } }
131131 >
132132 { /* Platform column */ }
133- < Box sx = { { width : FooterColumnWidth } } >
133+ < Box sx = { { width : FOOTER_COLUMN_WIDTH } } >
134134 < FooterColumnTitle > { t ( 'columns.platform' ) } </ FooterColumnTitle >
135135 < FooterLink href = '/feeds' > { t ( 'links.feeds' ) } </ FooterLink >
136136 < FooterLink href = '/contribute' > { t ( 'links.addFeed' ) } </ FooterLink >
@@ -143,7 +143,7 @@ const Footer: React.FC = () => {
143143 </ Box >
144144
145145 { /* Validators column */ }
146- < Box sx = { { width : FooterColumnWidth } } >
146+ < Box sx = { { width : FOOTER_COLUMN_WIDTH } } >
147147 < FooterColumnTitle > { t ( 'columns.validators' ) } </ FooterColumnTitle >
148148 < FooterLink
149149 href = 'https://gtfs-validator.mobilitydata.org/'
@@ -169,7 +169,7 @@ const Footer: React.FC = () => {
169169 </ Box >
170170
171171 { /* Company column */ }
172- < Box sx = { { width : FooterColumnWidth } } >
172+ < Box sx = { { width : FOOTER_COLUMN_WIDTH } } >
173173 < FooterColumnTitle > { t ( 'columns.company' ) } </ FooterColumnTitle >
174174 < FooterLink href = '/about' > { t ( 'links.about' ) } </ FooterLink >
175175 < FooterLink href = '/faq' > { t ( 'links.faq' ) } </ FooterLink >
@@ -183,7 +183,7 @@ const Footer: React.FC = () => {
183183 </ Box >
184184
185185 { /* Legal column */ }
186- < Box sx = { { width : FooterColumnWidth } } >
186+ < Box sx = { { width : FOOTER_COLUMN_WIDTH } } >
187187 < FooterColumnTitle > { t ( 'columns.legal' ) } </ FooterColumnTitle >
188188 < FooterLink href = '/privacy-policy' >
189189 { t ( 'links.privacyPolicy' ) }
0 commit comments