mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
chore: add donate button to redcrossredcrescent on home page
This commit is contained in:
parent
ce81b3e96d
commit
45cc559f47
4 changed files with 16 additions and 3 deletions
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
|
@ -1300,6 +1300,7 @@ importers:
|
|||
'@material-ui/icons': ^4.11.2
|
||||
'@mdx-js/react': ^1.6.22
|
||||
'@tsconfig/docusaurus': ^1.0.2
|
||||
classnames: 2.3.1
|
||||
clsx: ^1.1.1
|
||||
copy-text-to-clipboard: ^3.0.1
|
||||
docusaurus-plugin-contributors: workspace:1.0.0
|
||||
|
@ -1326,6 +1327,7 @@ importers:
|
|||
'@material-ui/core': 4.12.3_react-dom@17.0.2+react@17.0.2
|
||||
'@material-ui/icons': 4.11.2_fced322086cd04afb0b6feec9e866920
|
||||
'@mdx-js/react': 1.6.22_react@17.0.2
|
||||
classnames: 2.3.1
|
||||
clsx: 1.1.1
|
||||
copy-text-to-clipboard: 3.0.1
|
||||
docusaurus-plugin-contributors: link:../packages/tools/docusaurus-plugin-contributors
|
||||
|
@ -11783,6 +11785,10 @@ packages:
|
|||
isobject: 3.0.1
|
||||
static-extend: 0.1.2
|
||||
|
||||
/classnames/2.3.1:
|
||||
resolution: {integrity: sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==}
|
||||
dev: false
|
||||
|
||||
/clean-css/4.2.4:
|
||||
resolution: {integrity: sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A==}
|
||||
engines: {node: '>= 4.0'}
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
"@material-ui/icons": "^4.11.2",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.1.1",
|
||||
"classnames": "2.3.1",
|
||||
"copy-text-to-clipboard": "^3.0.1",
|
||||
"docusaurus-plugin-contributors": "workspace:1.0.0",
|
||||
"docusaurus-plugin-sentry": "^1.0.0",
|
||||
|
|
|
@ -4,6 +4,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
|
|||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import React from 'react';
|
||||
import { Follow } from 'react-twitter-widgets';
|
||||
import cx from 'classnames';
|
||||
|
||||
import Command from './Command';
|
||||
import styles from './Header.module.scss';
|
||||
|
@ -31,10 +32,10 @@ const Header = (): React.ReactElement => {
|
|||
<Translate>GET STARTED</Translate>
|
||||
</Link>
|
||||
<a
|
||||
href="https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md"
|
||||
className="link-secondary"
|
||||
href="https://donate.redcrossredcrescent.org/ua/donate/~my-donation?_cv=1"
|
||||
className={cx('link-secondary', 'specialButton')}
|
||||
>
|
||||
<Translate>CONTRIBUTE</Translate>
|
||||
<Translate>DONATE</Translate>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -123,3 +123,8 @@ html[data-theme='dark'] {
|
|||
.markdown iframe {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.specialButton {
|
||||
background-color:#ffd700;
|
||||
color: #1595de;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue