svrjs-nextjs-website/theme.config.tsx

50 lines
758 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",
};
}
},
// banner: {
// key: "svrjs",
// text: <a href="https://svrjs.org">🎉 Check out SVRJS Now. Read more →</a>,
// },
};