Skip to content

Commit 6af6084

Browse files
committed
website: updates
1 parent 4033a55 commit 6af6084

File tree

5 files changed

+76
-9
lines changed

5 files changed

+76
-9
lines changed

website/docusaurus.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const config: Config = {
266266
},
267267
{
268268
type: 'dropdown',
269-
label: 'Getting Started',
269+
label: 'Documentation',
270270
to: 'docs/getting-started',
271271
position: 'left',
272272
items: [

website/src/components/HomepageFeatures/index.tsx

+13-8
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,19 @@ function Feature({title, Svg, description}: FeatureItem) {
7878

7979
export default function HomepageFeatures(): JSX.Element {
8080
return (
81-
<section className={styles.features}>
82-
<div className="container">
83-
<div className="row">
84-
{FeatureList.map((props, idx) => (
85-
<Feature key={idx} {...props} />
86-
))}
81+
<>
82+
<section className={styles.features}>
83+
<div className="container">
84+
<div className="row">
85+
{FeatureList.map((props, idx) => (
86+
<Feature key={idx} {...props} />
87+
))}
88+
</div>
8789
</div>
90+
</section>
91+
<div className="text--center">
92+
<h2><Link to="/docs/getting-started/"><span className="getting-started-link">Getting Started!</span></Link></h2>
8893
</div>
89-
</section>
90-
);
94+
</>
95+
);
9196
}

website/src/css/custom.css

+40
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,46 @@ h2[class*="title"]
9393
no-repeat;
9494
}
9595

96+
.getting-started-link::before {
97+
content: '';
98+
width: 36px;
99+
height: 36px;
100+
display: inline-flex;
101+
vertical-align: bottom;
102+
margin-right: 0.5em;
103+
background: url("/img/bulb-on-svgrepo-com.svg") no-repeat;
104+
}
105+
106+
.getting-started-link::after {
107+
content: '\0000a0 ';
108+
width: 36px;
109+
height: 36px;
110+
display: inline-flex;
111+
vertical-align: bottom;
112+
margin-left: 0.5em;
113+
background: url("/img/bulb-on-svgrepo-com.svg") no-repeat;
114+
}
115+
116+
[data-theme='dark'] .getting-started-link::before {
117+
content: '';
118+
width: 36px;
119+
height: 36px;
120+
display: inline-flex;
121+
vertical-align: bottom;
122+
margin-right: 0.5em;
123+
background: url("/img/bulb-on-svgrepo-com-dark.svg") no-repeat;
124+
}
125+
126+
[data-theme='dark'] .getting-started-link::after {
127+
content: '\0000a0 ';
128+
width: 36px;
129+
height: 36px;
130+
display: inline-flex;
131+
vertical-align: bottom;
132+
margin-left: 0.5em;
133+
background: url("/img/bulb-on-svgrepo-com-dark.svg") no-repeat;
134+
}
135+
96136
/* --- */
97137

98138
.header-github-link:hover {
Loading
+11
Loading

0 commit comments

Comments
 (0)