From 08941cc4ac65e2cfca836442051ef0a3e68e096a Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Tue, 21 Nov 2023 14:38:30 +0700 Subject: [PATCH] Update icon multi modals sections --- .../src/containers/Homepage/GetNitro/index.js | 2 +- .../containers/Homepage/MultiModal/index.js | 20 +++++++++++++++++++ docs/static/img/multi-modals/ic-imagine.svg | 3 +++ docs/static/img/multi-modals/ic-speech.svg | 3 +++ docs/static/img/multi-modals/ic-think.svg | 3 +++ docs/static/img/multi-modals/ic-vision.svg | 3 +++ 6 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 docs/static/img/multi-modals/ic-imagine.svg create mode 100644 docs/static/img/multi-modals/ic-speech.svg create mode 100644 docs/static/img/multi-modals/ic-think.svg create mode 100644 docs/static/img/multi-modals/ic-vision.svg diff --git a/docs/src/containers/Homepage/GetNitro/index.js b/docs/src/containers/Homepage/GetNitro/index.js index 710af2eda..9dfcf04d4 100644 --- a/docs/src/containers/Homepage/GetNitro/index.js +++ b/docs/src/containers/Homepage/GetNitro/index.js @@ -10,7 +10,7 @@ import { useClipboard } from "@site/src/hooks/useClipboard"; export default function GetNitro() { const userAgent = typeof window !== "undefined" && navigator.userAgent; - const codeStringShell = userAgent.includes("Windows") + const codeStringShell = userAgent?.includes("Windows") ? `powershell -Command "& { Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/janhq/nitro/main/install.bat' -OutFile 'install.bat'; .\install.bat; Remove-Item -Path 'install.bat' }"` : `curl -sfL https://raw.githubusercontent.com/janhq/nitro/main/install.sh | sudo /bin/bash -`; diff --git a/docs/src/containers/Homepage/MultiModal/index.js b/docs/src/containers/Homepage/MultiModal/index.js index ae66adcca..5f8e07557 100644 --- a/docs/src/containers/Homepage/MultiModal/index.js +++ b/docs/src/containers/Homepage/MultiModal/index.js @@ -12,22 +12,42 @@ export default function MultiModal() {
+ Icon Think
Think

Llama2, Mistral, CausalML,...

+ Icon Imagine
Imagine

Coming Soon

+ Icon Vision
Vision

Coming Soon

+ Icon Speech
Speech

Coming Soon diff --git a/docs/static/img/multi-modals/ic-imagine.svg b/docs/static/img/multi-modals/ic-imagine.svg new file mode 100644 index 000000000..eda99b37a --- /dev/null +++ b/docs/static/img/multi-modals/ic-imagine.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/static/img/multi-modals/ic-speech.svg b/docs/static/img/multi-modals/ic-speech.svg new file mode 100644 index 000000000..4b37b6cfd --- /dev/null +++ b/docs/static/img/multi-modals/ic-speech.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/static/img/multi-modals/ic-think.svg b/docs/static/img/multi-modals/ic-think.svg new file mode 100644 index 000000000..ef2dee68c --- /dev/null +++ b/docs/static/img/multi-modals/ic-think.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/static/img/multi-modals/ic-vision.svg b/docs/static/img/multi-modals/ic-vision.svg new file mode 100644 index 000000000..21550a9bf --- /dev/null +++ b/docs/static/img/multi-modals/ic-vision.svg @@ -0,0 +1,3 @@ + + +