docs: add banner
This commit is contained in:
1 file changed
+5
-5
+5
-5
@@ -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'
|
||||
|
||||
@@ -19,9 +19,9 @@ export default ({ children }: PropsWithChildren) => (
|
||||
<link href="https://github.com/moeru-ai.png" rel="icon" type="image/png" />
|
||||
</head>
|
||||
<body className="flex flex-col min-h-screen">
|
||||
{/* <Banner id="xsai-0.2" variant="rainbow">
|
||||
<Link href="https://blog.moeru.ai/xsai-0.2/">xsAI v0.2 is now available! Read Announcement</Link>
|
||||
</Banner> */}
|
||||
<Banner id="xsai-0.3">
|
||||
<Link href="https://blog.moeru.ai/xsai-0.3/">xsAI v0.3 "future base" is now available! Read Announcement</Link>
|
||||
</Banner>
|
||||
<RootProvider search={{ options: { type: 'static' } }}>
|
||||
{children}
|
||||
</RootProvider>
|
||||
|
||||
Reference in new issue
Block a user