Skip to content

Commit 1d8d11c

Browse files
committed
website: updates
1 parent 441feca commit 1d8d11c

File tree

5 files changed

+76
-9
lines changed

5 files changed

+76
-9
lines changed

website/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const config: Config = {
265265
position: 'left'
266266
},
267267
{
268-
label: 'Getting Started',
268+
label: 'Documentation',
269269
to: 'docs/getting-started',
270270
position: 'left',
271271
},

website/src/components/HomepageFeatures/index.tsx

Lines changed: 13 additions & 8 deletions
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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,46 @@ h2[class*="title"]
9797
no-repeat;
9898
}
9999

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

102142
.header-github-link:hover {
Lines changed: 11 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)