Skip to content

Commit

Permalink
docs: add banner
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Mar 3, 2025
1 parent 4695e0d commit 8f4820c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import './global.css'

import type { PropsWithChildren } from 'react'

// import Link from 'fumadocs-core/link'
// import { Banner } from 'fumadocs-ui/components/banner'
import Link from 'fumadocs-core/link'
import { Banner } from 'fumadocs-ui/components/banner'
import { RootProvider } from 'fumadocs-ui/provider'
import { Inter } from 'next/font/google'

Expand All @@ -20,9 +20,9 @@ export default ({ children }: PropsWithChildren) => (
</head>
<body className="flex flex-col min-h-screen">
<RootProvider search={{ options: { type: 'static' } }}>
{/* <Banner id="xsai-0-1" variant="rainbow">
<Link href="https://blog.moeru.ai/posts/xsai-0.1">xsAI 0.1 is now available!</Link>
</Banner> */}
<Banner id="introducing-xsai" variant="rainbow">
<Link href="https://blog.moeru.ai/introducing-xsai/">xsAI v0.1 is now available! Read Announcement</Link>
</Banner>
{children}
</RootProvider>
</body>
Expand Down

0 comments on commit 8f4820c

Please sign in to comment.