fixed home page hyperlink and extension gif

This commit is contained in:
Ramon Perez 2025-08-28 22:48:23 +10:00
parent 478902633f
commit 5ec612d74f
3 changed files with 15 additions and 3 deletions

View File

@ -22,8 +22,20 @@ export default defineConfig({
}), }),
starlight({ starlight({
title: '👋 Jan', title: '👋 Jan',
favicon: 'jan2.png', 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: [ plugins: [
// starlightThemeRapide(), // starlightThemeRapide(),
starlightThemeNext(), starlightThemeNext(),

View File

@ -17,7 +17,7 @@ banner:
import { Aside, Card, CardGrid } from '@astrojs/starlight/components'; 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 ## Your AI Models, Anywhere on the Web

View File

@ -15,7 +15,7 @@ keywords:
] ]
banner: banner:
content: | 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'; import { Aside } from '@astrojs/starlight/components';