From be776229904875c6d657400a26afbfd1140565c2 Mon Sep 17 00:00:00 2001 From: Mohamed Elgendy <73666749+mohamed111112@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:36:29 +0300 Subject: [PATCH] Update docusaurus.config.js Add Donation box --- website/docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index d17b92686..c50c4b7e4 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -14,6 +14,9 @@ module.exports = { onBrokenMarkdownLinks: 'throw', favicon: '/img/favicon.png', themeConfig: { + customComponents: { + Donate: require.resolve('./src/theme/Donate.js'), + }, announcementBar: { id: 'giveStarOnGitHubAnnouncement', content: `⭐️ If you like Obico, give it a star on GitHub`,