From 5ec612d74f3514e0aa7ed0253390ca21cfcbcf9e Mon Sep 17 00:00:00 2001 From: Ramon Perez Date: Thu, 28 Aug 2025 22:48:23 +1000 Subject: [PATCH 1/2] fixed home page hyperlink and extension gif --- website/astro.config.mjs | 14 +++++++++++++- website/src/content/docs/browser/index.mdx | 2 +- website/src/content/docs/jan/quickstart.mdx | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) 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 supports image πŸ–ΌοΈ attachments πŸŽ‰ + πŸ‘‹Jan now supports image πŸ–ΌοΈ attachments πŸŽ‰ --- import { Aside } from '@astrojs/starlight/components'; From 9665e6e765e04ffebdc34e6db97f94a386fbbf14 Mon Sep 17 00:00:00 2001 From: Ramon Perez Date: Thu, 28 Aug 2025 22:52:37 +1000 Subject: [PATCH 2/2] fixed home page hyperlink and extension gif --- docs/src/pages/_meta.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/pages/_meta.json b/docs/src/pages/_meta.json index 3652eada1..66d0fff38 100644 --- a/docs/src/pages/_meta.json +++ b/docs/src/pages/_meta.json @@ -7,6 +7,11 @@ "layout": "raw" } }, + "docs": { + "type": "page", + "title": "Docs", + "display": "hidden" + }, "Documentation": { "type": "page", "title": "Documentation",