5
5
* LICENSE file in the root directory of this source tree.
6
6
*/
7
7
8
- const React = require ( " react" ) ;
8
+ const React = require ( ' react' )
9
9
10
10
const Footer = ( { config } ) => {
11
11
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 } `
14
14
}
15
15
16
16
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
19
19
}
20
20
return (
21
21
< footer className = "nav-footer" id = "footer" >
@@ -32,16 +32,12 @@ const Footer = ({ config }) => {
32
32
</ a >
33
33
< div >
34
34
< 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' ) } >
41
37
Using React Redux
42
38
</ 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 >
45
41
</ div >
46
42
< div >
47
43
< h5 > Community</ h5 >
@@ -52,9 +48,7 @@ const Footer = ({ config }) => {
52
48
>
53
49
Stack Overflow
54
50
</ a >
55
- < a href = "https://discord.gg/0ZcbPKXt5bZ6au5t" >
56
- Discord
57
- </ a >
51
+ < a href = "https://discord.gg/0ZcbPKXt5bZ6au5t" > Discord</ a >
58
52
</ div >
59
53
< div >
60
54
< h5 > More</ h5 >
@@ -70,39 +64,53 @@ const Footer = ({ config }) => {
70
64
>
71
65
Star
72
66
</ 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 >
73
73
</ div >
74
74
</ section >
75
75
< section className = "copyright" >
76
- { config . copyright } < br />
77
- Some icons copyright < a
76
+ { config . copyright }
77
+ < br />
78
+ Some icons copyright{ ' ' }
79
+ < a
78
80
href = "https://fontawesome.com/license/free"
79
- style = { { color : " white" } }
81
+ style = { { color : ' white' } }
80
82
>
81
83
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
+ )
103
111
</ section >
104
112
</ footer >
105
- ) ;
113
+ )
106
114
}
107
115
108
- module . exports = Footer ;
116
+ module . exports = Footer
0 commit comments