diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index bfefa0343..d07e7d279 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -15,6 +15,7 @@ import { ComputerDesktopIcon, FolderPlusIcon, } from "@heroicons/react/24/outline"; +import { AiOutlineGithub, AiOutlineTwitter } from "react-icons/ai"; import ThemedImage from "@theme/ThemedImage"; @@ -22,22 +23,18 @@ const features = [ { name: "Personal AI that runs on your computer", desc: "Jan runs directly on your local machine, offering privacy, convenience and customizability.", - icon: ComputerDesktopIcon, - }, - { - name: "Private and offline, your data never leaves your machine", - desc: "Your conversations and data are with an AI that runs on your computer, where only you have access.", - icon: ShieldCheckIcon, - }, - { - name: "No subscription fees, the AI runs on your computer", - desc: "Say goodbye to monthly subscriptions or usage-based APIs. Jan runs 100% free on your own hardware.", - icon: CubeTransparentIcon, }, { name: "Extendable via App and Plugin framework", desc: "Jan has a versatile app and plugin framework, allowing you to customize it to your needs.", - icon: FolderPlusIcon, + }, + { + name: "Private and offline, your data never leaves your machine", + desc: "Your conversations and data are with an AI that runs on your computer, where only you have access.", + }, + { + name: "No subscription fees, the AI runs on your computer", + desc: "Say goodbye to monthly subscriptions or usage-based APIs. Jan runs 100% free on your own hardware.", }, ]; @@ -53,14 +50,14 @@ export default function Home() { >
- + /> */}
@@ -127,29 +124,83 @@ export default function Home() {
- -
+ {/*

AI that you control

- Jan runs Large Language Models locally on Windows, Mac and Linux. - Available on Desktop and Cloud-Native. + Private. Local. Infinitely Customizable.

-
+
{features.map((feat, i) => { return ( -
-
+
*/} +
+
+
+

Your AI, forever.

+

Apps come and go, but your AI and data should last.

+
+
+
+
+

+ We are open-source.
Join Jan community. +

+
+ +
diff --git a/docs/src/styles/card.scss b/docs/src/styles/card.scss new file mode 100644 index 000000000..592de481f --- /dev/null +++ b/docs/src/styles/card.scss @@ -0,0 +1,31 @@ +@layer components { + .card-link-bg { + background: linear-gradient(180deg, #fff 0%, #fff 100%); + box-shadow: + 0px 10px 10px -5px rgba(0, 0, 0, 0.1), + 0px 20px 25px -5px rgba(0, 0, 0, 0.1), + 0px 1px 2px 0px #f1f1f1 inset; + } + + .card-link-bg-dark { + background: linear-gradient(180deg, #101118 0%, #101118 100%); + box-shadow: + 0px 10px 10px -5px rgba(0, 0, 0, 0.3), + 0px 1px 2px 0px #525154 inset; + } + .card { + @apply p-8 rounded-3xl border bg-gray-100 border-gray-100 dark:border-[#202231] dark:bg-[#111217]; + + &-link { + display: inline-flex; + padding: 8px 16px; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 8px; + border-radius: 16px; + font-size: 14px; + cursor: pointer; + } + } +} diff --git a/docs/src/styles/main.scss b/docs/src/styles/main.scss index ea6e4f723..459a1197b 100644 --- a/docs/src/styles/main.scss +++ b/docs/src/styles/main.scss @@ -6,3 +6,4 @@ @import "./tweaks.scss"; @import "./base.scss"; @import "./components.scss"; +@import "./card.scss"; diff --git a/docs/static/img/discord-element-dark.png b/docs/static/img/discord-element-dark.png new file mode 100644 index 000000000..0dc882bca Binary files /dev/null and b/docs/static/img/discord-element-dark.png differ diff --git a/docs/static/img/discord-element-light.png b/docs/static/img/discord-element-light.png new file mode 100644 index 000000000..9f483bf28 Binary files /dev/null and b/docs/static/img/discord-element-light.png differ diff --git a/docs/static/img/discord-logo.png b/docs/static/img/discord-logo.png new file mode 100644 index 000000000..670007f91 Binary files /dev/null and b/docs/static/img/discord-logo.png differ diff --git a/docs/static/img/github-element-dark.png b/docs/static/img/github-element-dark.png new file mode 100644 index 000000000..5331467e5 Binary files /dev/null and b/docs/static/img/github-element-dark.png differ diff --git a/docs/tailwind.config.js b/docs/tailwind.config.js index 47235b6ef..24c343197 100644 --- a/docs/tailwind.config.js +++ b/docs/tailwind.config.js @@ -13,6 +13,7 @@ module.exports = { }, fontFamily: { sans: [ + "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI",