kontenhumas-fe/theme.config.tsx

49 lines
1.1 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
const config: DocsThemeConfig = {
logo: (
<span className=" inline-flex gap-2.5 items-center">
{/* <DashCodeLogo className=" text-default-900 h-8 w-8 [&>path:nth-child(3)]:text-background [&>path:nth-child(2)]:text-background" /> */}
<span className=" text-lg font-bold text-default ">Dashcode</span>
</span>
),
project: {
link: "https://github.com/shuding/nextra",
},
banner: {
key: "1.0-release",
text: (
<a href="/dashboard" target="_blank">
🎉 Dashcode
</a>
),
},
footer: {
text: (
<span>
{new Date().getFullYear()} ©{" "}
<a href="https://codeshaper.net/" target="_blank">
CodeShaper
</a>
.
</span>
),
},
themeSwitch: {
useOptions() {
return {
light: "Light",
dark: "Dark",
system: "System",
};
},
},
useNextSeoProps() {
return {
titleTemplate: "%s Dashcode",
};
},
};
export default config;