2023-09-17 19:25:38 +01:00
|
|
|
|
import React from "react"
|
|
|
|
|
|
|
|
|
|
import { useRouter } from "next/router"
|
|
|
|
|
|
2023-09-17 19:36:39 +01:00
|
|
|
|
export default {
|
2023-09-17 19:25:38 +01:00
|
|
|
|
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",
|
2023-09-17 19:25:38 +01:00
|
|
|
|
},
|
|
|
|
|
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">
|
2023-09-17 19:25:38 +01:00
|
|
|
|
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"
|
2023-09-17 19:25:38 +01:00
|
|
|
|
/>
|
|
|
|
|
</>
|
|
|
|
|
),
|
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" />
|
|
|
|
|
</>
|
|
|
|
|
)
|
2023-09-17 19:25:38 +01:00
|
|
|
|
}
|