Skip to content

Commit

Permalink
docs: created one icon for changelog and icons for providers & instal…
Browse files Browse the repository at this point in the history
…lation section.
  • Loading branch information
aindrajaya committed Mar 19, 2024
1 parent 7837c45 commit fcb6afc
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/docs/guides/installation/docker.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Install on Docker
title: Install with Docker
sidebar_position: 4
slug: /guides/install/server
hide_table_of_contents: true
Expand Down
Binary file added docs/src/theme/DocCard/assets/changelog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/claude.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/docker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/groq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/llama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/mac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/tensorrt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/theme/DocCard/assets/windows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 44 additions & 38 deletions docs/src/theme/DocCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,7 @@ import styles from './styles.module.css';
import engine from './assets/engine.png';
import remote from './assets/remote.png';
import manual from './assets/manual.png';
import v0410 from './assets/v0.4.10.png';
import v049 from './assets/v0.4.9.png';
import v048 from './assets/v0.4.8.png';
import v047 from './assets/v0.4.7.png';
import v046 from './assets/v0.4.6.png';
import v045 from './assets/v0.4.5.png';
import v044 from './assets/v0.4.4.png';
import v043 from './assets/v0.4.3.png';
import v042 from './assets/v0.4.2.png';
import v041 from './assets/v0.4.1.png';
import v040 from './assets/v0.4.0.png';
import v033 from './assets/v0.3.3.png';
import v032 from './assets/v0.3.2.png';
import v031 from './assets/v0.3.1.png';
import v030 from './assets/v0.3.0.png';
import v023 from './assets/v0.2.3.png';
import v022 from './assets/v0.2.2.png';
import v021 from './assets/v0.2.1.png';
import v020 from './assets/v0.2.0.png';
import changelog from './assets/changelog.png';
import setup from './assets/setup.png';
import importex from './assets/import.png';
import continueint from './assets/continueint.png';
Expand All @@ -48,6 +30,14 @@ import gpu from './assets/gpu.png';
import mistral from './assets/mistral.png';
import lm from './assets/lm.png';
import ollama from './assets/ollama.png';
import claude from './assets/claude.png';
import windows from './assets/windows.png';
import mac from './assets/mac.png';
import linux from './assets/linux.png';
import llama from './assets/llama.png';
import docker from './assets/docker.png';
import tensorrt from './assets/tensorrt.png';
import groq from './assets/groq.png';

function CardContainer({href, children}) {
return (
Expand Down Expand Up @@ -112,37 +102,37 @@ function CardLink({item}) {
) : (item.label === "Manual Import") ? (
<img src={manual} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.7") ? (
<img src={v047} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.6") ? (
<img src={v046} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.5") ? (
<img src={v045} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.4") ? (
<img src={v044} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.3") ? (
<img src={v043} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.2") ? (
<img src={v042} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.1") ? (
<img src={v041} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.0") ? (
<img src={v040} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.3.3") ? (
<img src={v033} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.3.2") ? (
<img src={v032} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.3.1") ? (
<img src={v031} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.3.0") ? (
<img src={v030} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.2.3") ? (
<img src={v023} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.2.2") ? (
<img src={v022} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.2.1") ? (
<img src={v021} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.2.0") ? (
<img src={v020} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Extension Setup") ? (
<img src={setup} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Import Extensions") ? (
Expand Down Expand Up @@ -178,11 +168,27 @@ function CardLink({item}) {
) : (item.label === "Ollama") ? (
<img src={ollama} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.8") ? (
<img src={v048} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.9") ? (
<img src={v049} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "v0.4.10") ? (
<img src={v0410} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
<img src={changelog} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Install with Docker") ? (
<img src={docker} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Install on Linux") ? (
<img src={linux} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Install on Mac") ? (
<img src={mac} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Install on Windows") ? (
<img src={windows} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Claude") ? (
<img src={claude} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "LlamaCPP Extension") ? (
<img src={llama} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "TensorRT-LLM Extension") ? (
<img src={tensorrt} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (item.label === "Groq") ? (
<img src={groq} alt="Logo" width={'20px'} height={'20px'} style={{marginRight: '5px'}} />
) : (
// If not "Customize Engine Settings", use default icon
'📄️'
Expand Down

0 comments on commit fcb6afc

Please sign in to comment.