Hero image: Dark and Light mode

This commit is contained in:
drake 2023-10-02 14:36:01 +07:00
parent 4f50c772c5
commit fd5016cff2
3 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@ export default function HomepageHero() {
src={ src={
colorMode === "dark" colorMode === "dark"
? // TODO replace with darkmode image ? // TODO replace with darkmode image
require("@site/static/img/desktop-llm-chat.png").default require("@site/static/img/desktop-llm-chat-dark.png").default
: require("@site/static/img/desktop-llm-chat.png").default : require("@site/static/img/desktop-llm-chat-light.png").default
} }
alt="App screenshot" alt="App screenshot"
width={2432} width={2432}

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB