Skip to content

Commit

Permalink
footer
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Mar 25, 2024
1 parent d8bd8a8 commit bf206e3
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DocsThemeConfig, useConfig } from 'nextra-theme-docs'
import { useRouter } from 'next/router'
const logo = (
<span>
<img src='/logo.png' />
<img src="/logo.png" />
Mix Space
<style jsx>{`
span {
Expand Down Expand Up @@ -74,28 +74,32 @@ const config: DocsThemeConfig = {
footer: {
text: (
<div className="flex w-full flex-col items-center sm:items-start">
<p className="text-xs">
© {new Date().getFullYear()} This project is licensed under AGPLv3 licensed. 2021 Innei
</p>
</div>
)
<p className="text-xs">
© {new Date().getFullYear()} This project is licensed under AGPLv3
with additional terms, and this documentation is licensed under CC BY
4.0. All licensed. 2021-present Mix Space Team
</p>
</div>
),
},
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s | Mix Space'
titleTemplate: '%s | Mix Space',
}
}
},
editLink: {
text: 'Edit this page on GitHub →'
text: 'Edit this page on GitHub →',
},
banner: {
key: 'theme-shiro',
text: <a href="https://mx-space.js.org/themes/shiro" target="_blank">
🎨 New Mix Space theme `Shiro` is released. Read more →
</a>,
text: (
<a href="https://mx-space.js.org/themes/shiro" target="_blank">
🎨 New Mix Space theme `Shiro` is released. Read more →
</a>
),
},
}

Expand Down

0 comments on commit bf206e3

Please sign in to comment.