From a62712d33dc8b4373324a0d4c11a0ea48feb8921 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 2 Jun 2020 15:16:03 -0400 Subject: [PATCH] docs: add #BLM badge --- docs/.vuepress/config.js | 23 +++++++++++++++++------ docs/.vuepress/styles/index.styl | 2 +- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 90ebcefe..42453a3a 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -2,32 +2,32 @@ module.exports = { locales: { "/": { lang: "en-US", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" }, "/de-DE/": { lang: "de-DE", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" }, "/ru-RU/": { lang: "ru-RU", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" }, "/ja-JP/": { lang: "ja-JP", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" }, "/zh-CN/": { lang: "zh-CN", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" }, "/zh-TW/": { lang: "zh-TW", - title: "Black Lives Matter", + title: "Starship", description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" } }, @@ -44,6 +44,17 @@ module.exports = { ["meta", { name: "twitter:description", content: "Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell."}], ["meta", { name: "twitter:image", content: "https://starship.rs/icon.png"}], ["meta", { name: "twitter:alt", content: "Starship: Cross-Shell Prompt"}], + + // Black Lives Matter + ["script", { type:"text/javascript", src:"https://makerbadge.s3.amazonaws.com/blmbadge.js" }], + ["script", {}, `BLMBadge.init({ + layout:1, + theme:'dark', + promoText : 'Send a donation '+String.fromCodePoint(0x2192), + promoLink : 'https://minnesotafreedomfund.org/', + message : 'To be silent is to be complicit. Black lives matter.', + title : '#BlackLivesMatter' +})`] ], theme: "default-prefers-color-scheme", themeConfig: { diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl index bac01251..253278fc 100644 --- a/docs/.vuepress/styles/index.styl +++ b/docs/.vuepress/styles/index.styl @@ -1,4 +1,4 @@ -html { +body { filter: grayscale(100%); }