Merge pull request #354 from janhq/fix350

chore: jan.ai nits
This commit is contained in:
0xSage 2023-10-16 12:21:41 +08:00 committed by GitHub
commit 85e14c2942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 216 additions and 358 deletions

View File

@ -240,7 +240,6 @@ const config = {
additionalLanguages: ["python"],
},
colorMode: {
defaultMode: "dark",
disableSwitch: false,
respectPrefersColorScheme: false,
},

View File

@ -47,13 +47,7 @@ export default function HomepageHero() {
Run your own AI
</h1>
<p className="mt-6 text-lg leading-8 text-gray-600 dark:text-gray-300">
Jan lets you run AI on your own hardware. 1-click to install the
latest open-source models. Monitor and manage software-hardware
performance.
<br></br>
Jan is
<strong> free and open core</strong> with a Sustainable Use
License.
Run Large Language Models locally on Mac, Windows or Linux.
</p>
<div className="mt-10 flex items-center justify-center gap-x-6">
{/* TODO: handle mobile model download app instead */}
@ -78,8 +72,7 @@ export default function HomepageHero() {
<img
src={
colorMode === "dark"
? // TODO replace with darkmode image
require("@site/static/img/desktop-llm-chat-dark.png")
? require("@site/static/img/desktop-llm-chat-dark.png")
.default
: require("@site/static/img/desktop-llm-chat-light.png")
.default

View File

@ -19,7 +19,7 @@ export default function Home() {
title={`${siteConfig.tagline}`}
description="Description will go into a meta tag in <head />"
>
<HomepageBanner />
{/* <HomepageBanner /> */}
<main className={styles.main}>
<HomepageHero />
<HomepageSectionOne />

File diff suppressed because it is too large Load Diff