forked from FOSSBilling/fossbilling.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.tsx
84 lines (82 loc) · 3.68 KB
/
theme.config.tsx
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faDiscord, faGithub, faTwitter, faMastodon } from '@fortawesome/free-brands-svg-icons'
import { faMessage } from "@fortawesome/free-solid-svg-icons";
import { useRouter } from "next/router";
import React from "react";
import { ContributedBy } from "@components/ContributedBy";
export default {
docsRepositoryBase: 'https://github.com/FOSSBilling/FOSSBilling.org/blob/main',
primaryHue: { dark: 200, light: 200 },
logo: (
<>
<span className="logo"></span>
</>
),
project: {
link: 'https://github.com/FOSSBilling/FOSSBilling',
icon: <FontAwesomeIcon icon={faGithub} size="xl" />,
},
chat: {
link: 'https://fossbilling.org/discord',
icon: <FontAwesomeIcon icon={faDiscord} size="xl" />,
},
banner: {
key: 'mollie',
text: <a href="https://github.com/FOSSBilling/Mollie" target="_blank">
⭐️ We have just released an extension for Mollie. Check it out →
</a>,
},
feedback: {
content: undefined
},
sidebar: {
defaultMenuCollapseLevel: 1
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta
name="description"
content="Empower your hosting business with FOSSBilling, the free and open-source solution for efficient billing and client management."
/>
<meta
name="og:description"
content="Empower your hosting business with FOSSBilling, the free and open-source solution for efficient billing and client management."
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="" />
<meta name="twitter:site:domain" content="fossbilling.org" />
<meta name="twitter:url" content="https://fossbilling.org" />
<meta name="og:title" content="FOSSBilling" />
<meta name="og:image" content="" />
<meta name="apple-mobile-web-app-title" content="FOSSBilling" />
</>
),
footer: {
text: () => {
return (
<div>
<div className="mb-2">
<a href="mailto:[email protected]" className="hover:text-gray-500 dark:hover:text-gray-300">[email protected]</a>
</div>
<div className="mb-6">
<a href="/discord" className="hover:text-gray-500 dark:hover:text-gray-300" target="_blank"><FontAwesomeIcon icon={faDiscord} size="xl" className="mr-4" /></a>
<a href="https://fosstodon.org/@fossbilling" className="hover:text-gray-500 dark:hover:text-gray-300" target="_blank"><FontAwesomeIcon icon={faMastodon} size="xl" className="mr-4" /></a>
<a href="https://twitter.com/FOSSBilling" className="hover:text-gray-500 dark:hover:text-gray-300" target="_blank"><FontAwesomeIcon icon={faTwitter} size="xl" className="mr-4" /></a>
<a href="https://forum.fossbilling.org" className="hover:text-gray-500 dark:hover:text-gray-300" target="_blank"><FontAwesomeIcon icon={faMessage} size="xl" className="mr-4" /></a>
</div>
<p className="mt-6 text-xs">© {new Date().getFullYear()}, The FOSSBilling project. Content licensed under the <a href="https://github.com/FOSSBilling/fossbilling.org/blob/main/LICENSE" target="_blank">Apache 2.0 license</a>.</p>
</div>
)
}
},
useNextSeoProps() {
const { route } = useRouter()
if (route !== '/') {
return {
titleTemplate: '%s | FOSSBilling'
}
}
},
}