Skip to content

Commit ef9e9d3

Browse files
authored
chore: minor docs change (#807)
1 parent d9bb7a1 commit ef9e9d3

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

docs/src/components/HomepageFeatures/index.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ type FeatureItem = {
1010
}
1111

1212
const FeatureList: FeatureItem[] = [
13+
{
14+
title: 'Open-source and free',
15+
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
16+
description: (
17+
<>Support the project by contributing PRs on GitHub, or sponsor the author to say thanks!</>
18+
),
19+
},
1320
{
1421
title: 'Full-featured',
1522
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
@@ -30,16 +37,6 @@ const FeatureList: FeatureItem[] = [
3037
</>
3138
),
3239
},
33-
{
34-
title: 'Maintained',
35-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
36-
description: (
37-
<>
38-
Support the project maintenance by sponsoring it on GitHub, or just sponsor the author to
39-
say thanks!
40-
</>
41-
),
42-
},
4340
]
4441

4542
function Feature({ title, description }: FeatureItem) {

docs/src/css/custom.css

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,7 @@
105105

106106
div[class^='announcementBar'] {
107107
font-size: 20px;
108-
109-
--site-announcement-bar-stripe-color1: #e8d7ff;
110-
--site-announcement-bar-stripe-color2: #ffe9d1;
111-
112-
background: repeating-linear-gradient(
113-
35deg,
114-
var(--site-announcement-bar-stripe-color1),
115-
var(--site-announcement-bar-stripe-color1) 20px,
116-
var(--site-announcement-bar-stripe-color2) 10px,
117-
var(--site-announcement-bar-stripe-color2) 40px
118-
);
108+
color: var(--ifm-navbar-link-color);
109+
background-color: var(--ifm-navbar-background-color);
119110
font-weight: bold;
120111
}

0 commit comments

Comments
 (0)