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.

fixed home page hyperlink and extension gif

Ramon Perez5ec612d74f35
diff --git a/website/astro.config.mjs b/website/astro.config.mjs
index a027f189d..a92d18ff5 100644
--- a/website/astro.config.mjs
+++ b/website/astro.config.mjs
@@ -22,8 +22,20 @@ export default defineConfig({
}),
starlight({
title: '๐Ÿ‘‹ Jan',
-
favicon: 'jan2.png',
+ head: [
+ {
+ tag: 'script',
+ content: `
+ document.addEventListener('DOMContentLoaded', function() {
+ const logoLink = document.querySelector('a[href="/"]');
+ if (logoLink) {
+ logoLink.href = 'https://jan.ai';
+ }
+ });
+ `,
+ },
+ ],
plugins: [
// starlightThemeRapide(),
starlightThemeNext(),
diff --git a/website/src/content/docs/browser/index.mdx b/website/src/content/docs/browser/index.mdx
index c0c7569b1..967ba90f2 100644
--- a/website/src/content/docs/browser/index.mdx
+++ b/website/src/content/docs/browser/index.mdx
@@ -17,7 +17,7 @@ banner:
import { Aside, Card, CardGrid } from '@astrojs/starlight/components';
-![Jan Browser Extension](/gifs/extension.png)
+![Jan Browser Extension](/gifs/extension.gif)
## Your AI Models, Anywhere on the Web
diff --git a/website/src/content/docs/jan/quickstart.mdx b/website/src/content/docs/jan/quickstart.mdx
index 0e26943f2..25b0cde2e 100644
--- a/website/src/content/docs/jan/quickstart.mdx
+++ b/website/src/content/docs/jan/quickstart.mdx
@@ -15,7 +15,7 @@ keywords:
]
banner:
content: |
- ๐Ÿ‘‹Jan now <a href="./multi-modal">supports image ๐Ÿ–ผ๏ธ attachments</a> ๐ŸŽ‰
+ ๐Ÿ‘‹Jan now <a href="../multi-modal">supports image ๐Ÿ–ผ๏ธ attachments</a> ๐ŸŽ‰
---
import { Aside } from '@astrojs/starlight/components';