docs: fix typo and grammar issues

This commit is contained in:
hieu-jan 2024-03-05 21:02:31 +09:00
parent 408fa12dd2
commit b24de38321
2 changed files with 25 additions and 22 deletions

View File

@ -53,34 +53,34 @@ Here are some of the keyboard shortcuts that you can use in Jan.
| `⌘ ,` | Navigate to setting page | | `⌘ ,` | Navigate to setting page |
| `Enter` | Send a message | | `Enter` | Send a message |
| `Shift + Enter` | Insert new line in input box | | `Shift + Enter` | Insert new line in input box |
| `Arrow Up` | Navigate to previous option (within search dialog) | | `Arrow Up` | Navigate to the previous option (within the search dialog) |
| `Arrow Down` | Navigate to next option (within search dialog) | | `Arrow Down` | Navigate to the next option (within the search dialog) |
</TabItem> </TabItem>
<TabItem value="windows" label = "Windows" default> <TabItem value="windows" label = "Windows" default>
| Combination | Description | | Combination | Description |
| --------------- | -------------------------------------------------- | | --------------- | -------------------------------------------------- |
| `Ctrl E` | Show list your models | | `Ctrl E` | Show list your models |
| `Ctrl K` | Show list navigation pages | | `Ctrl K` | Show list navigation pages |
| `Ctrl B` | Toggle collapsible left panel | | `Ctrl B` | Toggle collapsible left panel |
| `Ctrl ,` | Navigate to setting page | | `Ctrl ,` | Navigate to setting page |
| `Enter` | Send a message | | `Enter` | Send a message |
| `Shift + Enter` | Insert new line in input box | | `Shift + Enter` | Insert new line in input box |
| `Arrow Up` | Navigate to previous option (within search dialog) | | `Arrow Up` | Navigate to the previous option (within the search dialog) |
| `Arrow Down` | Navigate to next option (within search dialog) | | `Arrow Down` | Navigate to the next option (within the search dialog) |
</TabItem> </TabItem>
<TabItem value="linux" label = "Linux" default> <TabItem value="linux" label = "Linux" default>
| Combination | Description | | Combination | Description |
| --------------- | -------------------------------------------------- | | --------------- | -------------------------------------------------- |
| `Ctrl E` | Show list your models | | `Ctrl E` | Show list your models |
| `Ctrl K` | Show list navigation pages | | `Ctrl K` | Show list navigation pages |
| `Ctrl B` | Toggle collapsible left panel | | `Ctrl B` | Toggle collapsible left panel |
| `Ctrl ,` | Navigate to setting page | | `Ctrl ,` | Navigate to setting page |
| `Enter` | Send a message | | `Enter` | Send a message |
| `Shift + Enter` | Insert new line in input box | | `Shift + Enter` | Insert new line in input box |
| `Arrow Up` | Navigate to previous option (within search dialog) | | `Arrow Up` | Navigate to the previous option (within the search dialog) |
| `Arrow Down` | Navigate to next option (within search dialog) | | `Arrow Down` | Navigate to the next option (within the search dialog) |
</TabItem> </TabItem>
</Tabs> </Tabs>
@ -107,7 +107,7 @@ Ensure that you have read the [troubleshooting guide](/docs/guides/common-error/
4. On the **GPU Acceleration** click the slider to enable. 4. On the **GPU Acceleration** click the slider to enable.
## Access the Jan Data Folder ## Access the Jan Data Folder
To access the folder where messages, model configurtions and user data stored follow the steps below: To access the folder where messages, model configurations and user data are stored, follow the steps below:
1. Navigate to the main dashboard. 1. Navigate to the main dashboard.
2. Click the **gear icon (⚙️)** on the bottom left of your screen. 2. Click the **gear icon (⚙️)** on the bottom left of your screen.
3. Under the **Settings screen**, click the **Advanced Settings**. 3. Under the **Settings screen**, click the **Advanced Settings**.
@ -132,7 +132,7 @@ To Allow self-signed or unverified certificates, follow the steps below:
## Clear Logs ## Clear Logs
To clear all logs on your Jan app, follow the steps below: To clear all logs on your Jan app, follow the steps below:
:::warning :::warning
This feature clear all the data in your **Jan Data Folder**. This feature clears all the data in your **Jan Data Folder**.
::: :::
1. Navigate to the main dashboard. 1. Navigate to the main dashboard.
2. Click the **gear icon (⚙️)** on the bottom left of your screen. 2. Click the **gear icon (⚙️)** on the bottom left of your screen.

View File

@ -1,4 +1,4 @@
import React from "react"; import React from 'react'
export default function HomepageSecondaryFeatures() { export default function HomepageSecondaryFeatures() {
return ( return (
@ -26,7 +26,7 @@ export default function HomepageSecondaryFeatures() {
</div> </div>
</div> </div>
</section> </section>
); )
} }
function FeatureCard({ imgSrc, title, description, href }) { function FeatureCard({ imgSrc, title, description, href }) {
@ -34,7 +34,7 @@ function FeatureCard({ imgSrc, title, description, href }) {
<div className="bg-gray-200 dark:bg-gray-700 w-full rounded-lg relative flex flex-col justify-between mb-8 md:mb-0 md:mr-8 p-2"> <div className="bg-gray-200 dark:bg-gray-700 w-full rounded-lg relative flex flex-col justify-between mb-8 md:mb-0 md:mr-8 p-2">
<div> <div>
<div className="h-32 w-full"> <div className="h-32 w-full">
<img alt={"Feature logo"} src={imgSrc} /> <img alt={'Feature logo'} src={imgSrc} />
</div> </div>
<div className="mt-12 p-8"> <div className="mt-12 p-8">
<h3 className="text-lg font-semibold">{title}</h3> <h3 className="text-lg font-semibold">{title}</h3>
@ -42,10 +42,13 @@ function FeatureCard({ imgSrc, title, description, href }) {
</div> </div>
</div> </div>
<div className="p-8 mb-2 pt-0"> <div className="p-8 mb-2 pt-0">
<a href={href} className="btn bg-black hover:bg-gray-600 dark:bg-blue-500 text-white font-normal py-2 px-4 rounded-xl"> <a
Learn Here href={href}
className="btn bg-black hover:bg-gray-600 dark:bg-blue-500 text-white font-normal py-2 px-4 rounded-xl"
>
Learn more
</a> </a>
</div> </div>
</div> </div>
); )
} }