Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 9, 2025
1 parent 06aedf0 commit 79d021a
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 9 deletions.
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const config: Config = {
},
{
type: 'dropdown',
label: 'Getting Started',
label: 'Documentation',
to: 'docs/getting-started',
position: 'left',
items: [
Expand Down
21 changes: 13 additions & 8 deletions website/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,19 @@ function Feature({title, Svg, description}: FeatureItem) {

export default function HomepageFeatures(): JSX.Element {
return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
<>
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
<div className="text--center">
<h2><Link to="/docs/getting-started/"><span className="getting-started-link">Getting Started!</span></Link></h2>
</div>
</section>
);
</>
);
}
40 changes: 40 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,46 @@ h2[class*="title"]
no-repeat;
}

.getting-started-link::before {
content: '';
width: 36px;
height: 36px;
display: inline-flex;
vertical-align: bottom;
margin-right: 0.5em;
background: url("/img/bulb-on-svgrepo-com.svg") no-repeat;
}

.getting-started-link::after {
content: '\0000a0 ';
width: 36px;
height: 36px;
display: inline-flex;
vertical-align: bottom;
margin-left: 0.5em;
background: url("/img/bulb-on-svgrepo-com.svg") no-repeat;
}

[data-theme='dark'] .getting-started-link::before {
content: '';
width: 36px;
height: 36px;
display: inline-flex;
vertical-align: bottom;
margin-right: 0.5em;
background: url("/img/bulb-on-svgrepo-com-dark.svg") no-repeat;
}

[data-theme='dark'] .getting-started-link::after {
content: '\0000a0 ';
width: 36px;
height: 36px;
display: inline-flex;
vertical-align: bottom;
margin-left: 0.5em;
background: url("/img/bulb-on-svgrepo-com-dark.svg") no-repeat;
}

/* --- */

.header-github-link:hover {
Expand Down
11 changes: 11 additions & 0 deletions website/static/img/bulb-on-svgrepo-com-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions website/static/img/bulb-on-svgrepo-com.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 79d021a

Please sign in to comment.