Skip to content

Commit

Permalink
Merge pull request #65 from luantranminh/main
Browse files Browse the repository at this point in the history
perf: reduces images size
  • Loading branch information
lencx committed Feb 25, 2024
2 parents d29a2e1 + d7e4c81 commit a209cb5
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

|Preview|Preview|
|---|---|
|![theme-dark](./website/static/readme/noi-theme-dark.png)|![noi-settings](./website/static/readme/noi-settings.png)|
|![settings-prompts](./website/static/readme/noi-prompt.png)|![batch-ask](./website/static/readme/noi-prompt-use.png)|
|![theme-dark](./website/static/readme/noi-theme-dark.jpg)|![noi-settings](./website/static/readme/noi-settings.jpg)|
|![settings-prompts](./website/static/readme/noi-prompt.jpg)|![batch-ask](./website/static/readme/noi-prompt-use.jpg)|

---

Expand All @@ -48,7 +48,7 @@ If you encounter the error message "Noi" is damaged and can't be opened. You sho
xattr -cr /Applications/Noi.app
```

![mac-install-error](./website/static/readme/mac-install-error.png)
![mac-install-error](./website/static/readme/mac-install-error.jpg)

## TODO

Expand Down
2 changes: 1 addition & 1 deletion configs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To set up a custom sync link, follow the steps below:
> [!NOTE]
> The `custom url` will not be overwritten. If you wish to use your own URL as a data source, please refer to the data format in `noi.mode.json`.
![Mode Sync](../website/static/configs/mode-sync.png)
![Mode Sync](../website/static/configs/mode-sync.jpg)

### Sync URL

Expand Down
10 changes: 5 additions & 5 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Layout from '@theme/Layout';
const noiVersion = '0.3.0';

export default function Home(): JSX.Element {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title="Home"
Expand Down Expand Up @@ -43,10 +43,10 @@ export default function Home(): JSX.Element {

<h2 className="mt-5">Preview</h2>
<div className="grid sm:grid-cols-1 lg:grid-cols-2 gap-4 max-w-[960px] m-auto">
<img className="rounded-lg shadow-lg" src="/readme/noi-theme-dark.png" />
<img className="rounded-lg shadow-lg" src="/readme/noi-settings.png" />
<img className="rounded-lg shadow-lg" src="/readme/noi-prompt.png" />
<img className="rounded-lg shadow-lg" src="/readme/noi-prompt-use.png" />
<img className="rounded-lg shadow-lg" src="/readme/noi-theme-dark.jpg" />
<img className="rounded-lg shadow-lg" src="/readme/noi-settings.jpg" />
<img className="rounded-lg shadow-lg" src="/readme/noi-prompt.jpg" />
<img className="rounded-lg shadow-lg" src="/readme/noi-prompt-use.jpg" />
</div>

<h2 className="mt-5">FAQ</h2>
Expand Down
Binary file added website/static/configs/mode-sync.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/configs/mode-sync.png
Binary file not shown.
Binary file added website/static/readme/mac-install-error.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/readme/mac-install-error.png
Binary file not shown.
Binary file added website/static/readme/noi-prompt-use.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/readme/noi-prompt-use.png
Binary file not shown.
Binary file added website/static/readme/noi-prompt.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/readme/noi-prompt.png
Binary file not shown.
Binary file added website/static/readme/noi-settings.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/readme/noi-settings.png
Binary file not shown.
Binary file added website/static/readme/noi-theme-dark.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed website/static/readme/noi-theme-dark.png
Binary file not shown.

0 comments on commit a209cb5

Please sign in to comment.