zerobyte/apps/docs/src/lib/layout.shared.tsx
Nico 5b728b8144
chore: move docs to monorepo apps (#801)
* chore: move docs to monorepo apps

* chore(docs): bump vite
2026-04-16 19:03:00 +02:00

30 lines
1.4 KiB
XML

import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: (
<>
<img src="/zerobyte.png" alt="" className="h-6 w-6 object-contain" />
<span>Zerobyte</span>
</>
),
},
links: [
{
type: "icon",
url: "https://discord.gg/MzBXz5v5XB",
text: "Discord",
label: "Discord",
icon: (
<svg aria-hidden="true" viewBox="0 0 24 24" fill="currentColor">
<path d="M20.317 4.369A19.791 19.791 0 0 0 15.44 3a13.967 13.967 0 0 0-.599 1.233 18.27 18.27 0 0 0-5.682 0A13.966 13.966 0 0 0 8.56 3a19.736 19.736 0 0 0-4.878 1.37C.598 9.04-.323 13.58.138 18.057A19.943 19.943 0 0 0 6.13 21a14.31 14.31 0 0 0 1.282-2.11 12.874 12.874 0 0 1-2.02-.964c.17-.123.336-.252.497-.385 3.897 1.78 8.148 1.78 12 0 .162.133.328.262.498.385a12.916 12.916 0 0 1-2.024.965A14.223 14.223 0 0 0 17.645 21a19.874 19.874 0 0 0 5.994-2.943c.541-5.19-.92-9.689-3.322-13.688ZM8.02 15.331c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.418 2.157-2.418 1.211 0 2.176 1.094 2.157 2.418 0 1.334-.955 2.419-2.157 2.419Zm7.96 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.418 2.157-2.418 1.211 0 2.176 1.094 2.157 2.418 0 1.334-.946 2.419-2.157 2.419Z" />
</svg>
),
external: true,
},
],
githubUrl: "https://github.com/nicotsx/zerobyte",
themeSwitch: { enabled: false },
};
}