From 2cd326fe20507bf85a64cb642491e79c76a86f55 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Tue, 2 Jun 2020 12:09:28 +0800 Subject: [PATCH] fix(v1): black lives matter banner --- website-1.x/pages/en/index.js | 107 +++++++++++++++--------------- website-1.x/static/css/custom.css | 2 +- 2 files changed, 55 insertions(+), 54 deletions(-) diff --git a/website-1.x/pages/en/index.js b/website-1.x/pages/en/index.js index 1e40c4d90b..ca42d3be5f 100644 --- a/website-1.x/pages/en/index.js +++ b/website-1.x/pages/en/index.js @@ -63,9 +63,8 @@ class Index extends React.Component {
- Black Lives Matter. + Black Lives Matter.{' '} - {' '} Support the Equal Justice Initiative . @@ -85,67 +84,69 @@ class Index extends React.Component {
- - + + Powered by Markdown, - }, - { - content: `[Extend or customize](${siteConfig.baseUrl}docs/${this.props.language}/api-pages) + image: `${siteConfig.baseUrl}img/undraw_typewriter.svg`, + imageAlign: 'top', + imageAlt: 'Markdown', + title: Powered by Markdown, + }, + { + content: `[Extend or customize](${siteConfig.baseUrl}docs/${this.props.language}/api-pages) your project's layout by reusing React. Docusaurus can be extended while reusing the same header and footer.`, - image: `${siteConfig.baseUrl}img/undraw_react.svg`, - imageAlign: 'top', - imageAlt: 'React', - title: Built Using React, - }, - { - content: `[Localization](${siteConfig.baseUrl}docs/${this.props.language}/translation) + image: `${siteConfig.baseUrl}img/undraw_react.svg`, + imageAlign: 'top', + imageAlt: 'React', + title: Built Using React, + }, + { + content: `[Localization](${siteConfig.baseUrl}docs/${this.props.language}/translation) comes pre-configured. Use [Crowdin](https://crowdin.com/) to translate your docs into over 70 languages.`, - image: `${siteConfig.baseUrl}img/undraw_around_the_world.svg`, - imageAlign: 'top', - imageAlt: 'Translation', - title: Ready for Translations, - }, - ]} - layout="threeColumn" - /> -
-
- Ready for Translations, + }, + ]} + layout="threeColumn" + /> +
+
+ Document Versioning, - }, - { - content: `Make it easy for your community to [find](${siteConfig.baseUrl}docs/${this.props.language}/search) what they need in your documentation. + image: `${siteConfig.baseUrl}img/undraw_version_control.svg`, + imageAlign: 'top', + imageAlt: 'Document Versioning', + title: Document Versioning, + }, + { + content: `Make it easy for your community to [find](${siteConfig.baseUrl}docs/${this.props.language}/search) what they need in your documentation. We proudly support [Algolia documentation search](https://www.algolia.com/).`, - image: `${siteConfig.baseUrl}img/undraw_algolia.svg`, - imageAlign: 'top', - imageAlt: 'Document Search', - title: Document Search, - }, - ]} - layout="twoColumn" - /> -
+ image: `${siteConfig.baseUrl}img/undraw_algolia.svg`, + imageAlign: 'top', + imageAlt: 'Document Search', + title: Document Search, + }, + ]} + layout="twoColumn" + /> +
+
code { font-weight: bold; font-size: 24px; padding: 48px; - margin: 0 auto -40px; + margin: 0 auto; text-align: center; }