docs/theme.config.jsx

43 lines
807 B
React
Raw Permalink Normal View History

import React from "react"
import { useRouter } from "next/router"
2023-09-17 19:36:39 +01:00
export default {
docsRepositoryBase: "https://github.com/lune-org/docs/blob/main",
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== "/") {
return {
titleTemplate: "%s Lune",
}
}
},
project: {
2024-01-14 18:11:55 +00:00
link: "https://github.com/lune-org/lune",
},
footer: {
text: (
<span>
MPL-2.0 {new Date().getFullYear()} ©{" "}
2024-01-14 18:11:55 +00:00
<a href="https://github.com/lune-org/lune" target="_blank">
Lune
</a>
</span>
),
},
logo: (
<>
<img
width="40"
height="40"
2024-01-14 18:11:55 +00:00
src="https://github.com/lune-org/lune/raw/main/assets/logo/tilt.png"
/>
</>
),
2024-07-24 12:36:15 +01:00
head: (
<>
<link rel="icon" href="https://github.com/lune-org/lune/raw/main/assets/logo/tilt.png" type="image/png" />
</>
)
}