Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit bf206e3

Browse files
committed
footer
Signed-off-by: Innei <i@innei.in>
1 parent d8bd8a8 commit bf206e3

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

theme.config.tsx

+15-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DocsThemeConfig, useConfig } from 'nextra-theme-docs'
33
import { useRouter } from 'next/router'
44
const logo = (
55
<span>
6-
<img src='/logo.png' />
6+
<img src="/logo.png" />
77
Mix Space
88
<style jsx>{`
99
span {
@@ -74,28 +74,32 @@ const config: DocsThemeConfig = {
7474
footer: {
7575
text: (
7676
<div className="flex w-full flex-col items-center sm:items-start">
77-
<p className="text-xs">
78-
© {new Date().getFullYear()} This project is licensed under AGPLv3 licensed. 2021 Innei
79-
</p>
80-
</div>
81-
)
77+
<p className="text-xs">
78+
© {new Date().getFullYear()} This project is licensed under AGPLv3
79+
with additional terms, and this documentation is licensed under CC BY
80+
4.0. All licensed. 2021-present Mix Space Team
81+
</p>
82+
</div>
83+
),
8284
},
8385
useNextSeoProps() {
8486
const { asPath } = useRouter()
8587
if (asPath !== '/') {
8688
return {
87-
titleTemplate: '%s | Mix Space'
89+
titleTemplate: '%s | Mix Space',
8890
}
8991
}
9092
},
9193
editLink: {
92-
text: 'Edit this page on GitHub →'
94+
text: 'Edit this page on GitHub →',
9395
},
9496
banner: {
9597
key: 'theme-shiro',
96-
text: <a href="https://mx-space.js.org/themes/shiro" target="_blank">
97-
🎨 New Mix Space theme `Shiro` is released. Read more →
98-
</a>,
98+
text: (
99+
<a href="https://mx-space.js.org/themes/shiro" target="_blank">
100+
🎨 New Mix Space theme `Shiro` is released. Read more →
101+
</a>
102+
),
99103
},
100104
}
101105

0 commit comments

Comments
 (0)