svrjs-nextjs-website/theme.config.tsx

52 lines
800 B
TypeScript
Raw Normal View History

2024-06-24 10:02:18 +02:00
import { useRouter } from "next/router";
export default {
editLink: {
component: null,
},
feedback: {
content: null,
},
logo: (
<>
<img
src="/plainlogo.svg"
alt={`logo`}
width={25}
height={25}
className="dark:block hidden"
/>
<h1
style={{
fontWeight: 700,
fontSize: "30px",
marginLeft: "8px",
}}
>
SVRJS
</h1>
</>
),
project: {
title: "SVRJS",
link: "https://svrjs.org",
},
footer: {
component: null,
},
useNextSeoProps() {
const { asPath } = useRouter();
if (asPath !== "/") {
return {
titleTemplate: "%s SVRJS",
};
}
},
2024-06-24 10:56:10 +02:00
primaryHue: 136,
primarySaturation: 75,
2024-06-24 10:02:18 +02:00
// banner: {
// key: "svrjs",
// text: <a href="https://svrjs.org">🎉 Check out SVRJS Now. Read more →</a>,
// },
};