Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

Hide Tokamak from the docs landing page

mmngnb62e449bc438
diff --git a/docs/src/components/DocsHome.tsx b/docs/src/components/DocsHome.tsx
index 5c492c830..59947e8cc 100644
--- a/docs/src/components/DocsHome.tsx
+++ b/docs/src/components/DocsHome.tsx
@@ -1,5 +1,5 @@
/* eslint-disable @next/next/no-img-element */
-import { Computer, BrainCircuit, Search, Rocket, Bot, Share2 } from 'lucide-react'
+import { Computer, Search, Rocket, Bot } from 'lucide-react'
import LogoJanSVG from '@/assets/icons/logo-jan.svg'
const SECTIONS = [
@@ -21,27 +21,11 @@ const SECTIONS = [
href: '/docs/agent',
chip: 'bg-[#FDE68A]/60 text-[#92400E]',
},
- {
- icon: BrainCircuit,
- title: 'Tokamak',
- description:
- 'Self-hosted router, fusion model, and governance/audit. Jan agents connect here for model switching.',
- tags: 'Install · Connect an agent',
- href: 'https://tokamak.sh/docs/',
- external: true,
- chip: 'bg-[#C6E09E]/50 text-[#3F6212]',
- },
]
const COMMON_PATHS = [
{ icon: Rocket, title: 'Desktop Quickstart', href: '/docs/desktop/quickstart' },
{ icon: Bot, title: 'Jan Agent Quickstart', href: '/docs/agent/quickstart' },
- {
- icon: Share2,
- title: 'Tokamak install',
- href: 'https://tokamak.sh/docs/self-hosting/installation',
- external: true,
- },
]
const DocsHome = () => {
@@ -57,7 +41,7 @@ const DocsHome = () => {
Jan Docs
</h1>
<p className="text-lg mt-5 leading-relaxed text-black/60 dark:text-white/60">
- References for Jan Desktop, Jan Agent, and Tokamak.
+ References for Jan Desktop and Jan Agent.
</p>
<button
@@ -72,7 +56,7 @@ const DocsHome = () => {
</button>
</div>
- <div className="grid md:grid-cols-3 gap-5 mt-16 lg:mt-20 max-w-4xl mx-auto px-4">
+ <div className="grid md:grid-cols-2 gap-5 mt-16 lg:mt-20 max-w-3xl mx-auto px-4">
{SECTIONS.map((section) => (
<a
key={section.title}
@@ -109,7 +93,7 @@ const DocsHome = () => {
<h2 className="text-xs font-semibold text-black/40 dark:text-white/40 uppercase tracking-widest">
Common paths
</h2>
- <div className="grid sm:grid-cols-3 gap-4 mt-5">
+ <div className="grid sm:grid-cols-2 gap-4 mt-5">
{COMMON_PATHS.map((path) => (
<a
key={path.href}
diff --git a/docs/src/pages/docs/index.mdx b/docs/src/pages/docs/index.mdx
index 27569ecc8..54b261b02 100644
--- a/docs/src/pages/docs/index.mdx
+++ b/docs/src/pages/docs/index.mdx
@@ -1,6 +1,6 @@
---
title: Jan Docs
-description: References for Jan Desktop, Jan Agent, and Tokamak.
+description: References for Jan Desktop and Jan Agent.
---
import DocsHome from "@/components/DocsHome"