Skip to content

Commit 3e85fc7

Browse files
add footer links and netlify logo (#54)
1 parent ccf755c commit 3e85fc7

2 files changed

Lines changed: 125 additions & 68 deletions

File tree

docusaurus.config.js

Lines changed: 124 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -86,72 +86,72 @@ const config = {
8686
}),
8787
],
8888
],
89-
89+
9090
plugins: [require.resolve("docusaurus-plugin-image-zoom"),
91-
[
92-
'@docusaurus/plugin-pwa',
93-
{
94-
debug: false,
95-
injectManifestConfig: {
96-
globPatterns: ['**/*.{webp}'],
97-
},
98-
offlineModeActivationStrategies: [
99-
'appInstalled',
100-
'standalone',
101-
'queryString',
102-
],
103-
pwaHead: [
104-
{
105-
tagName: 'link',
106-
rel: 'icon',
107-
href: '/img/borr.png',
108-
},
109-
{
110-
tagName: 'link',
111-
rel: 'manifest',
112-
href: '/manifest.json',
113-
},
114-
{
115-
tagName: 'meta',
116-
name: 'theme-color',
117-
content: 'rgb(255, 255, 255)',
118-
},
119-
{
120-
tagName: 'meta',
121-
name: 'apple-mobile-web-app-capable',
122-
content: 'yes',
123-
},
124-
{
125-
tagName: 'meta',
126-
name: 'apple-mobile-web-app-status-bar-style',
127-
content: '#000',
128-
},
129-
{
130-
tagName: 'link',
131-
rel: 'apple-touch-icon',
132-
href: '/img/borr.png',
133-
},
134-
{
135-
tagName: 'link',
136-
rel: 'mask-icon',
137-
href: '/img/borr.svg',
138-
color: 'rgb(37, 194, 160)',
139-
},
140-
{
141-
tagName: 'meta',
142-
name: 'msapplication-TileImage',
143-
content: '/img/borr.png',
144-
},
145-
{
146-
tagName: 'meta',
147-
name: 'msapplication-TileColor',
148-
content: '#000',
149-
},
150-
],
91+
[
92+
'@docusaurus/plugin-pwa',
93+
{
94+
debug: false,
95+
injectManifestConfig: {
96+
globPatterns: ['**/*.{webp}'],
15197
},
152-
],
98+
offlineModeActivationStrategies: [
99+
'appInstalled',
100+
'standalone',
101+
'queryString',
102+
],
103+
pwaHead: [
104+
{
105+
tagName: 'link',
106+
rel: 'icon',
107+
href: '/img/borr.png',
108+
},
109+
{
110+
tagName: 'link',
111+
rel: 'manifest',
112+
href: '/manifest.json',
113+
},
114+
{
115+
tagName: 'meta',
116+
name: 'theme-color',
117+
content: 'rgb(255, 255, 255)',
118+
},
119+
{
120+
tagName: 'meta',
121+
name: 'apple-mobile-web-app-capable',
122+
content: 'yes',
123+
},
124+
{
125+
tagName: 'meta',
126+
name: 'apple-mobile-web-app-status-bar-style',
127+
content: '#000',
128+
},
129+
{
130+
tagName: 'link',
131+
rel: 'apple-touch-icon',
132+
href: '/img/borr.png',
133+
},
134+
{
135+
tagName: 'link',
136+
rel: 'mask-icon',
137+
href: '/img/borr.svg',
138+
color: 'rgb(37, 194, 160)',
139+
},
140+
{
141+
tagName: 'meta',
142+
name: 'msapplication-TileImage',
143+
content: '/img/borr.png',
144+
},
145+
{
146+
tagName: 'meta',
147+
name: 'msapplication-TileColor',
148+
content: '#000',
149+
},
150+
],
151+
},
153152
],
154-
153+
],
154+
155155
themeConfig:
156156
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
157157
({
@@ -166,11 +166,11 @@ const config = {
166166
autoCollapseCategories: true,
167167
},
168168
},
169-
// algolia: {
170-
// appId: '',
171-
// apiKey: '',
172-
// indexName: '',
173-
// },
169+
// algolia: {
170+
// appId: '',
171+
// apiKey: '',
172+
// indexName: '',
173+
// },
174174
// Replace with your project's social card
175175
image: 'img/borr-social-card.webp',
176176
zoom: {},
@@ -217,6 +217,62 @@ const config = {
217217
footer: {
218218
style: 'dark',
219219
copyright: `Copyright © ${new Date().getFullYear()} The Borr Project. Built with Docusaurus.`,
220+
links: [
221+
{
222+
title: 'Curricula',
223+
items: [
224+
{
225+
label: 'Computer Science',
226+
to: '/computer-science',
227+
},
228+
{
229+
label: 'Pre-College Math',
230+
to: '/precollege-math',
231+
},
232+
{
233+
label: 'Math',
234+
to: '/math',
235+
},
236+
{
237+
label: 'Data Science',
238+
to: '/data-science',
239+
},
240+
],
241+
},
242+
{
243+
title: 'Community',
244+
items: [
245+
{
246+
label: 'Discord',
247+
href: 'https://discord.gg/uR2QS36pdH',
248+
},
249+
{
250+
label: 'YouTube',
251+
href: 'https://www.youtube.com/@borrproject',
252+
},
253+
{
254+
label: 'Github',
255+
href: 'https://github.com/BorrProject/',
256+
},
257+
{
258+
label: 'Code of Conduct',
259+
to: '/coc/',
260+
},
261+
],
262+
},
263+
{
264+
title: 'Infrastructure Provider',
265+
items: [
266+
{
267+
html: `
268+
<a href="https://www.netlify.com" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
269+
<img src="/netlify-badge-color-accent.svg" alt="Deploys by Netlify" width="114" height="51" />
270+
</a>
271+
`,
272+
},
273+
],
274+
},
275+
],
220276
},
221277
prism: {
222278
theme: prismThemes.github,
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)