Skip to content

Commit

Permalink
add download cards to Install category index
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Nov 27, 2023
1 parent 38d3320 commit 1b07408
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/guides/install/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"label": "Install",
"position": 10,
"link": {
"type": "generated-index"
"type": "doc",
"id": "guides/install/index"
}
}
31 changes: 31 additions & 0 deletions docs/guides/install/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Install
---

import { AssetsProvider } from '@site/src/components/assets-context';
import DownloadCard from '@site/src/components/download-card';
import styles from '@site/src/css/download-card.module.css';

<AssetsProvider>
<div className={styles.downloadContainer}>
<DownloadCard
osName="Windows"
osLogo="/img/logo-windows.svg"
infoText="Binary executable"
guideLink="/docs/guides/install/windows"
/>
<DownloadCard
osName="macOS"
osLogo="/img/logo-apple.svg"
infoText="Binary executable"
guideLink="/docs/guides/install/macos"
/>
<DownloadCard
osName="Linux"
osLogo="/img/logo-linux.svg"
infoText="DEB, RPM packages"
guideLink="/docs/guides/install/linux"
/>
</div>
</AssetsProvider>

0 comments on commit 1b07408

Please sign in to comment.