From 202f7a812c29d053bd8fea714c109540ef168277 Mon Sep 17 00:00:00 2001 From: Pulkit Krishna Date: Sat, 14 Feb 2026 05:20:30 +0000 Subject: [PATCH] add footer links and netlify logo --- docusaurus.config.js | 192 +++++++++++++++++--------- static/netlify-badge-color-accent.svg | 1 + 2 files changed, 125 insertions(+), 68 deletions(-) create mode 100644 static/netlify-badge-color-accent.svg diff --git a/docusaurus.config.js b/docusaurus.config.js index 11381b0..f5af4e7 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -86,72 +86,72 @@ const config = { }), ], ], - + plugins: [require.resolve("docusaurus-plugin-image-zoom"), - [ - '@docusaurus/plugin-pwa', - { - debug: false, - injectManifestConfig: { - globPatterns: ['**/*.{webp}'], - }, - offlineModeActivationStrategies: [ - 'appInstalled', - 'standalone', - 'queryString', - ], - pwaHead: [ - { - tagName: 'link', - rel: 'icon', - href: '/img/borr.png', - }, - { - tagName: 'link', - rel: 'manifest', - href: '/manifest.json', - }, - { - tagName: 'meta', - name: 'theme-color', - content: 'rgb(255, 255, 255)', - }, - { - tagName: 'meta', - name: 'apple-mobile-web-app-capable', - content: 'yes', - }, - { - tagName: 'meta', - name: 'apple-mobile-web-app-status-bar-style', - content: '#000', - }, - { - tagName: 'link', - rel: 'apple-touch-icon', - href: '/img/borr.png', - }, - { - tagName: 'link', - rel: 'mask-icon', - href: '/img/borr.svg', - color: 'rgb(37, 194, 160)', - }, - { - tagName: 'meta', - name: 'msapplication-TileImage', - content: '/img/borr.png', - }, - { - tagName: 'meta', - name: 'msapplication-TileColor', - content: '#000', - }, - ], + [ + '@docusaurus/plugin-pwa', + { + debug: false, + injectManifestConfig: { + globPatterns: ['**/*.{webp}'], }, - ], + offlineModeActivationStrategies: [ + 'appInstalled', + 'standalone', + 'queryString', + ], + pwaHead: [ + { + tagName: 'link', + rel: 'icon', + href: '/img/borr.png', + }, + { + tagName: 'link', + rel: 'manifest', + href: '/manifest.json', + }, + { + tagName: 'meta', + name: 'theme-color', + content: 'rgb(255, 255, 255)', + }, + { + tagName: 'meta', + name: 'apple-mobile-web-app-capable', + content: 'yes', + }, + { + tagName: 'meta', + name: 'apple-mobile-web-app-status-bar-style', + content: '#000', + }, + { + tagName: 'link', + rel: 'apple-touch-icon', + href: '/img/borr.png', + }, + { + tagName: 'link', + rel: 'mask-icon', + href: '/img/borr.svg', + color: 'rgb(37, 194, 160)', + }, + { + tagName: 'meta', + name: 'msapplication-TileImage', + content: '/img/borr.png', + }, + { + tagName: 'meta', + name: 'msapplication-TileColor', + content: '#000', + }, + ], + }, ], - + ], + themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ @@ -166,11 +166,11 @@ const config = { autoCollapseCategories: true, }, }, -// algolia: { -// appId: '', -// apiKey: '', -// indexName: '', -// }, + // algolia: { + // appId: '', + // apiKey: '', + // indexName: '', + // }, // Replace with your project's social card image: 'img/borr-social-card.webp', zoom: {}, @@ -217,6 +217,62 @@ const config = { footer: { style: 'dark', copyright: `Copyright © ${new Date().getFullYear()} The Borr Project. Built with Docusaurus.`, + links: [ + { + title: 'Curricula', + items: [ + { + label: 'Computer Science', + to: '/computer-science', + }, + { + label: 'Pre-College Math', + to: '/precollege-math', + }, + { + label: 'Math', + to: '/math', + }, + { + label: 'Data Science', + to: '/data-science', + }, + ], + }, + { + title: 'Community', + items: [ + { + label: 'Discord', + href: 'https://discord.gg/uR2QS36pdH', + }, + { + label: 'YouTube', + href: 'https://www.youtube.com/@borrproject', + }, + { + label: 'Github', + href: 'https://github.com/BorrProject/', + }, + { + label: 'Code of Conduct', + to: '/coc/', + }, + ], + }, + { + title: 'Infrastructure Provider', + items: [ + { + html: ` + + Deploys by Netlify + + `, + }, + ], + }, + ], }, prism: { theme: prismThemes.github, diff --git a/static/netlify-badge-color-accent.svg b/static/netlify-badge-color-accent.svg new file mode 100644 index 0000000..2edda22 --- /dev/null +++ b/static/netlify-badge-color-accent.svg @@ -0,0 +1 @@ + \ No newline at end of file