-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.config.jsx
More file actions
28 lines (26 loc) · 928 Bytes
/
theme.config.jsx
File metadata and controls
28 lines (26 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { useRouter } from 'next/router'
export default {
logo: <span>Hayya</span>,
project: {
link: 'https://hayya.vatsim.me',
icon: (
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5}
stroke="currentColor" width="24" height="24">
<path strokeLinecap="round" strokeLinejoin="round"
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/>
</svg>
)
},
chat: {
link: 'https://discord.com/invite/Hvxm5Ky'
},
docsRepositoryBase: 'https://github.com/VATMENA/hayya_docs',
useNextSeoProps() {
const {asPath} = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s – Hayya Documentation'
}
}
}
}