55 * LICENSE file in the root directory of this source tree.
66 */
77
8- const React = require ( " react" ) ;
8+ const React = require ( ' react' )
99
1010const Footer = ( { config } ) => {
1111 const docUrl = ( doc , language ) => {
12- const baseUrl = config . baseUrl ;
13- return `${ baseUrl } ${ language ? `${ language } /` : "" } ${ doc } ` ;
12+ const baseUrl = config . baseUrl
13+ return `${ baseUrl } ${ language ? `${ language } /` : '' } ${ doc } `
1414 }
1515
1616 const pageUrl = ( doc , language ) => {
17- const baseUrl = config . baseUrl ;
18- return baseUrl + ( language ? `${ language } /` : "" ) + doc ;
17+ const baseUrl = config . baseUrl
18+ return baseUrl + ( language ? `${ language } /` : '' ) + doc
1919 }
2020 return (
2121 < footer className = "nav-footer" id = "footer" >
@@ -32,16 +32,12 @@ const Footer = ({ config }) => {
3232 </ a >
3333 < div >
3434 < h5 > Docs</ h5 >
35- < a href = { docUrl ( "introduction/quick-start" ) } > Introduction</ a >
36- < a
37- href = { docUrl (
38- "using-react-redux/connect-mapstate"
39- ) }
40- >
35+ < a href = { docUrl ( 'introduction/quick-start' ) } > Introduction</ a >
36+ < a href = { docUrl ( 'using-react-redux/connect-mapstate' ) } >
4137 Using React Redux
4238 </ a >
43- < a href = { docUrl ( " api/connect" ) } > API Reference</ a >
44- < a href = { docUrl ( " troubleshooting" ) } > Guides</ a >
39+ < a href = { docUrl ( ' api/connect' ) } > API Reference</ a >
40+ < a href = { docUrl ( ' troubleshooting' ) } > Guides</ a >
4541 </ div >
4642 < div >
4743 < h5 > Community</ h5 >
@@ -52,9 +48,7 @@ const Footer = ({ config }) => {
5248 >
5349 Stack Overflow
5450 </ a >
55- < a href = "https://discord.gg/0ZcbPKXt5bZ6au5t" >
56- Discord
57- </ a >
51+ < a href = "https://discord.gg/0ZcbPKXt5bZ6au5t" > Discord</ a >
5852 </ div >
5953 < div >
6054 < h5 > More</ h5 >
@@ -70,39 +64,53 @@ const Footer = ({ config }) => {
7064 >
7165 Star
7266 </ a >
67+ < a href = "https://www.netlify.com" >
68+ < img
69+ src = "https://www.netlify.com/img/global/badges/netlify-light.svg"
70+ alt = "Deploys by Netlify"
71+ />
72+ </ a >
7373 </ div >
7474 </ section >
7575 < section className = "copyright" >
76- { config . copyright } < br />
77- Some icons copyright < a
76+ { config . copyright }
77+ < br />
78+ Some icons copyright{ ' ' }
79+ < a
7880 href = "https://fontawesome.com/license/free"
79- style = { { color : " white" } }
81+ style = { { color : ' white' } }
8082 >
8183 Font Awesome
82- </ a > and < a
83- href = "https://thenounproject.com"
84- style = { { color : "white" } }
85- >
86- Noun Project
87- </ a > (< a
88- href = "https://thenounproject.com/term/certificate/1945625/"
89- style = { { color : "white" } }
90- >
91- prasong tadoungsorn
92- </ a > , < a
93- href = "https://thenounproject.com/term/box/1664404/"
94- style = { { color : "white" } }
95- >
96- Vladimir Belochkin
97- </ a > , < a
98- href = "https://thenounproject.com/term/rocket/1245262/"
99- style = { { color : "white" } }
100- >
101- Atif Arshad
102- </ a > )
84+ </ a > { ' ' }
85+ and{ ' ' }
86+ < a href = "https://thenounproject.com" style = { { color : 'white' } } >
87+ Noun Project
88+ </ a > { ' ' }
89+ (
90+ < a
91+ href = "https://thenounproject.com/term/certificate/1945625/"
92+ style = { { color : 'white' } }
93+ >
94+ prasong tadoungsorn
95+ </ a >
96+ ,{ ' ' }
97+ < a
98+ href = "https://thenounproject.com/term/box/1664404/"
99+ style = { { color : 'white' } }
100+ >
101+ Vladimir Belochkin
102+ </ a >
103+ ,{ ' ' }
104+ < a
105+ href = "https://thenounproject.com/term/rocket/1245262/"
106+ style = { { color : 'white' } }
107+ >
108+ Atif Arshad
109+ </ a >
110+ )
103111 </ section >
104112 </ footer >
105- ) ;
113+ )
106114}
107115
108- module . exports = Footer ;
116+ module . exports = Footer
0 commit comments