diff --git a/docusaurus.config.ts b/docusaurus.config.ts index ab95f0b..3cd41fb 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -166,8 +166,94 @@ const config: Config = { ], }, footer: { - style: 'dark', - copyright: `© ${new Date().getFullYear()} GeyserMC | Built with Docusaurus`, + logo: { + alt: 'GeyserMC logo', + src: 'img/site/geyser-text.svg', + href: '/', + width: 430, + }, + links: [ + { + title: 'Wiki', + items: [ + { + label: 'Geyser', + to: 'geyser/setup', + }, + { + label: 'Floodgate', + to: 'floodgate/setup', + }, + { + label: 'REST APIs', + to: 'api/api.geysermc.org/global-api', + }, + { + label: 'Other', + to: 'other/geyseroptionalpack', + }, + ], + }, + { + title: 'Downloads', + items: [ + { + label: 'Geyser', + to: 'download?project=geyser', + }, + { + label: 'Floodgate', + to: 'download?project=floodgate', + }, + { + label: 'Other', + to: 'download?project=other-projects', + } + ], + }, + { + title: 'Community', + items: [ + { + label: 'Crowdin', + href: 'https://translate.geysermc.org/', + }, + { + label: 'Discord', + href: 'https://discord.gg/geysermc', + }, + { + label: 'GitHub', + href: 'https://github.com/GeyserMC/Geyser', + }, + { + label: 'Reddit', + href: 'https://www.reddit.com/r/GeyserMC/', + }, + { + label: 'Twitter', + href: 'https://twitter.com/GeyserMC', + }, + ], + }, + { + title: 'More', + items: [ + { + label: 'Blog', + to: 'blog', + }, + { + label: 'Donate', + href: 'https://opencollective.com/geysermc', + }, + { + label: 'Global Linking', + to: 'https://link.geysermc.org/', + }, + ], + }, + ] }, prism: { theme: prismThemes.github, @@ -195,7 +281,7 @@ const config: Config = { searchPagePath: 'search', }, metadata: [ - {name: 'theme-color', content: '#25c2a0'}, + { name: 'theme-color', content: '#25c2a0' }, ], } satisfies Preset.ThemeConfig, }; diff --git a/i18n/en/docusaurus-theme-classic/footer.json b/i18n/en/docusaurus-theme-classic/footer.json index ab1729c..d854b8a 100644 --- a/i18n/en/docusaurus-theme-classic/footer.json +++ b/i18n/en/docusaurus-theme-classic/footer.json @@ -1,6 +1,6 @@ { "copyright": { - "message": "© 2024 GeyserMC | Built with Docusaurus", + "message": "Copyright © 2024 GeyserMC. Built with Docusaurus.", "description": "The footer copyright" } } diff --git a/src/css/custom.css b/src/css/custom.css index 90ca886..1927014 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -17,6 +17,9 @@ --ifm-color-primary-lighter: #359962; --ifm-color-primary-lightest: #3cad6e; --ifm-code-font-size: 95%; + --ifm-footer-color: rgb(238, 249, 253); + --ifm-footer-background-color: #303846; + --ifm-footer-link-color: #dadde1; --ifm-horizontal-line-color: rgba(28, 30, 33, 0.2); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); --ifm-font-family-base: 'Montserrat', sans-serif; @@ -34,6 +37,7 @@ --ifm-color-primary-light: #29d5b0; --ifm-color-primary-lighter: #32d8b4; --ifm-color-primary-lightest: #4fddbf; + --ifm-footer-color: rgb(238, 249, 253); --ifm-navbar-background-color: #0f1b23; --ifm-dropdown-background-color: #0f1b23; --ifm-background-color: #0f1b23; diff --git a/static/img/site/geyser-text.svg b/static/img/site/geyser-text.svg new file mode 100644 index 0000000..7261b23 --- /dev/null +++ b/static/img/site/geyser-text.svg @@ -0,0 +1,16 @@ + + + + + + + GeyserMC + \ No newline at end of file