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"], additionalLanguages: ["python"],
}, },
colorMode: { colorMode: {
defaultMode: "dark",
disableSwitch: false, disableSwitch: false,
respectPrefersColorScheme: false, respectPrefersColorScheme: false,
}, },

View File

@ -47,13 +47,7 @@ export default function HomepageHero() {
Run your own AI Run your own AI
</h1> </h1>
<p className="mt-6 text-lg leading-8 text-gray-600 dark:text-gray-300"> <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 Run Large Language Models locally on Mac, Windows or Linux.
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.
</p> </p>
<div className="mt-10 flex items-center justify-center gap-x-6"> <div className="mt-10 flex items-center justify-center gap-x-6">
{/* TODO: handle mobile model download app instead */} {/* TODO: handle mobile model download app instead */}
@ -78,8 +72,7 @@ export default function HomepageHero() {
<img <img
src={ src={
colorMode === "dark" 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 .default
: require("@site/static/img/desktop-llm-chat-light.png") : require("@site/static/img/desktop-llm-chat-light.png")
.default .default

View File

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

File diff suppressed because it is too large Load Diff