From e630954923baf6b06a7cc08dd53c8e59dda735c2 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Mon, 22 Aug 2022 20:46:20 +0200 Subject: [PATCH] website: restore github button front page --- website/docusaurus.config.js | 3 +++ website/src/components/Header.tsx | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 4c9725a55..1a089cb2c 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -37,6 +37,9 @@ module.exports = { onBrokenMarkdownLinks: 'warn', favicon: "img/logo/uk/verdaccio-tiny-uk-no-bg.svg", i18n: i18nConfig, + scripts: [ + "https://buttons.github.io/buttons.js", + ], plugins: [ 'docusaurus-plugin-sass', "docusaurus-plugin-contributors", diff --git a/website/src/components/Header.tsx b/website/src/components/Header.tsx index 4d18620ac..38a2f7be3 100644 --- a/website/src/components/Header.tsx +++ b/website/src/components/Header.tsx @@ -27,6 +27,14 @@ const Header = (): React.ReactElement => {

A lightweight Node.js private proxy registry

+