Skip to content

Commit 687b061

Browse files
lex111markerikson
authored andcommitted
Add Netlify badge in footer (#287)
1 parent 56d3d38 commit 687b061

File tree

1 file changed

+40
-30
lines changed

1 file changed

+40
-30
lines changed

website/docusaurus.config.js

Lines changed: 40 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ module.exports = {
88
docs: {
99
path: '../docs',
1010
sidebarPath: require.resolve('./sidebars.json'),
11-
routeBasePath: '/',
11+
routeBasePath: '/'
1212
},
1313
theme: {
14-
customCss: require.resolve('./src/css/custom.css'),
15-
},
16-
},
17-
],
14+
customCss: require.resolve('./src/css/custom.css')
15+
}
16+
}
17+
]
1818
],
1919
projectName: 'redux-toolkit',
2020
baseUrl: '/',
@@ -24,86 +24,96 @@ module.exports = {
2424
title: 'Redux Toolkit',
2525
url: 'https://redux-toolkit.js.org',
2626
customFields: {
27-
repoUrl: 'https://github.com/reduxjs/redux-toolkit',
27+
repoUrl: 'https://github.com/reduxjs/redux-toolkit'
2828
},
2929
themeConfig: {
3030
disableDarkMode: true,
3131
prism: {
32-
theme: require('./src/js/monokaiTheme.js'),
32+
theme: require('./src/js/monokaiTheme.js')
3333
},
3434
footer: {
3535
style: 'dark',
3636
logo: {
3737
alt: 'Redux Logo',
38-
src: 'img/redux_white.svg',
38+
src: 'img/redux_white.svg'
3939
},
4040
links: [
4141
{
4242
title: 'Docs',
4343
items: [
4444
{
4545
label: 'Quick Start',
46-
to: 'introduction/quick-start',
46+
to: 'introduction/quick-start'
4747
},
4848
{
4949
label: 'API Reference',
50-
to: 'api/configureStore',
51-
},
52-
],
50+
to: 'api/configureStore'
51+
}
52+
]
5353
},
5454
{
5555
title: 'Community',
5656
items: [
5757
{
5858
label: 'Stack Overflow',
59-
href: 'http://stackoverflow.com/questions/tagged/redux',
59+
href: 'http://stackoverflow.com/questions/tagged/redux'
6060
},
6161
{
6262
label: 'Discord',
63-
href: 'https://discord.gg/0ZcbPKXt5bZ6au5t',
64-
},
65-
],
63+
href: 'https://discord.gg/0ZcbPKXt5bZ6au5t'
64+
}
65+
]
6666
},
6767
{
68-
title: 'Social',
68+
title: 'More',
6969
items: [
7070
{
7171
label: 'GitHub',
72-
href: 'https://www.github.com/reduxjs/redux-toolkit',
72+
href: 'https://www.github.com/reduxjs/redux-toolkit'
7373
},
74-
],
75-
},
74+
{
75+
html: `
76+
<a href="https://www.netlify.com">
77+
<img
78+
src="https://www.netlify.com/img/global/badges/netlify-light.svg"
79+
alt="Deploys by Netlify"
80+
/>
81+
</a>
82+
`
83+
}
84+
]
85+
}
7686
],
77-
copyright: `Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.`,
87+
copyright: `Copyright (c) 2015-present Dan Abramov and the Redux documentation authors.`
7888
},
7989
image: 'img/redux-logo-landscape.png',
8090
navbar: {
8191
title: 'Redux Toolkit',
8292
logo: {
8393
alt: 'Redux Logo',
84-
src: 'img/redux.svg',
94+
src: 'img/redux.svg'
8595
},
8696
links: [
8797
{
8898
to: 'introduction/quick-start',
8999
label: 'Quick Start',
90-
position: 'right',
100+
position: 'right'
91101
},
92102
{ to: 'api/configureStore', label: 'API', position: 'right' },
93103
{
94104
href: 'https://www.github.com/reduxjs/redux-starter-kit',
95105
label: 'GitHub',
96-
position: 'right',
97-
},
98-
],
106+
position: 'right'
107+
}
108+
]
99109
},
100110
algolia: {
101111
apiKey: '82d838443b672336bf63cab4772d9eb4',
102112
indexName: 'redux-starter-kit',
103-
algoliaOptions: {},
113+
algoliaOptions: {}
104114
},
105115
googleAnalytics: {
106-
trackingID: 'UA-130598673-3',
107-
},
108-
},
116+
trackingID: 'UA-130598673-3'
117+
}
118+
}
109119
}

0 commit comments

Comments
 (0)