Skip to content

Commit 87225d5

Browse files
committed
update /ai route
1 parent fedb903 commit 87225d5

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

apps/docs/app/(home)/layout.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from "@icons-pack/react-simple-icons";
1717
import { Banner } from 'fumadocs-ui/components/banner';
1818
import { LargeSearchToggle, SearchToggle } from 'fumadocs-ui/components/layout/search-toggle';
19-
import { Sparkles } from 'lucide-react';
19+
import { Sparkles, Wand2Icon } from 'lucide-react';
2020
import { AISearchTrigger } from '@/components/ai';
2121
import { cn } from '@/lib/cn';
2222
import { buttonVariants } from '@/components/ui/button';
@@ -149,17 +149,6 @@ const navbarLinks: LinkItemType[] = [
149149
</span>
150150
</div>
151151
</NavbarMenuLink>
152-
<NavbarMenuLink href="https://polkadot.meshjs.dev/en">
153-
<div className="mr-3 h-5 w-5">
154-
{iconResolver("icons/polkadot.svg")}
155-
</div>
156-
<div className="flex flex-col">
157-
<span className="font-medium">Polkadot</span>
158-
<span className="text-sm text-fd-muted-foreground">
159-
Tools and resources for developers to build on Polkadot
160-
</span>
161-
</div>
162-
</NavbarMenuLink>
163152
<NavbarMenuLink href="https://utxos.dev/">
164153
<div className="mr-3 h-5 w-5">
165154
{iconResolver("icons/mesh.svg")}
@@ -192,6 +181,15 @@ const navbarLinks: LinkItemType[] = [
192181
</span>
193182
</div>
194183
</NavbarMenuLink>
184+
<NavbarMenuLink href="/ai">
185+
<Wand2Icon className="mr-3 h-5 w-5 text-amber-400" />
186+
<div className="flex flex-col">
187+
<span className="font-medium">AI Features</span>
188+
<span className="text-sm text-fd-muted-foreground">
189+
AI tools to help you ship faster
190+
</span>
191+
</div>
192+
</NavbarMenuLink>
195193
<NavbarMenuLink href="https://docs.meshjs.dev/">
196194
<DocumentTextIcon className="mr-3 h-5 w-5 text-blue-500" />
197195
<div className="flex flex-col">

apps/docs/app/(home)/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import {
4747

4848
<div className="inline-flex items-center mb-4 px-3 py-1 rounded-full border border-border text-sm font-medium">
4949
<span className="size-1 rounded-full mr-2 animate-[ping_2s_ease-out_infinite] bg-green-500"></span>
50-
<Link href="/llms.txt">Mesh provides llms.txt integration</Link>
50+
<Link href="/ai">Mesh AI features help you ship faster</Link>
5151
</div>
5252

5353
<h1 className="font-heading font-extrabold text-5xl sm:text-6xl lg:text-7xl mb-6 leading-tight">

apps/docs/components/ui/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export default function Footer() {
151151
<div className='flex flex-col gap-3 [&>a]:hover:underline'>
152152
<Link href="/resources" className='font-bold'>RESOURCES</Link>
153153
<Link href="/guides">Guides</Link>
154+
<Link href="/ai">AI Features</Link>
154155
<Link href="https://docs.meshjs.dev/">Documentation</Link>
155156
<Link href="https://github.com/MeshJS/examples">Examples</Link>
156157
<Link href="https://pbl.meshjs.dev">Project Based Learning</Link>

0 commit comments

Comments
 (0)