add download cards to Install category index

This commit is contained in:
Kenneth Bingham 2023-11-27 11:16:03 -05:00
parent 38d3320aab
commit 1b074087ff
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 33 additions and 1 deletions

View File

@ -2,6 +2,7 @@
"label": "Install",
"position": 10,
"link": {
"type": "generated-index"
"type": "doc",
"id": "guides/install/index"
}
}

View File

@ -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>