svrjs-nextjs-website/theme.config.tsx
Cypro Freelance ba26969e5a seos
2024-06-24 14:30:02 +05:30

61 lines
1 KiB
TypeScript
Raw 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 { useRouter } from "next/router";
export default {
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="SVRJS" />
<meta
property="og:description"
content="the open source node running server"
/>
</>
),
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",
};
}
},
primaryHue: 136,
primarySaturation: 75,
// banner: {
// key: "svrjs",
// text: <a href="https://svrjs.org">🎉 Check out SVRJS Now. Read more →</a>,
// },
};