-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.jsx
64 lines (63 loc) · 1.89 KB
/
theme.config.jsx
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
import { useRouter } from 'next/router'
import { NavbarExtraContent } from './components/navbar-extra-content'
import { MainLogo } from './components/main-logo'
export default {
head: () => {
return (
<>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
</>
)
},
logo: (<MainLogo width={250} title={'The Regulated AI Movement'} />),
primaryHue: 345,
navbar: {
extraContent: (<NavbarExtraContent />),
},
search: {
placeholder: 'Search here...',
},
footer: {
text: (
<span style={{ fontSize: '12px', display: 'flex', flexDirection: 'column', flex: 1, alignItems: 'center' }}>
<span>
{new Date().getFullYear()} ©{' '}
<a href="/licenses/ai-restrictions-for-creatives">
{'Under AIR-C License'}
</a>
{' - '}
<a href="https://nextra.site/" target="_blank" rel="noreferrer">
{'Built with Nextra ❤️'}
</a>
</span>
<span>
<a href="/cookie-consent">
{'Cookie Consent'}
</a>
{' | '}
<a href="/privacy-policy">
{'Privacy Policy'}
</a>
</span>
</span>
)
},
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s – The Regulated AI Movement',
}
} else {
return {
titleTemplate: 'The Regulated AI Movement',
}
}
}
}