Skip to content

Commit

Permalink
Add footer links
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Castle <[email protected]>
  • Loading branch information
Kas-tle committed Jul 15, 2024
1 parent 31d0d35 commit 9b58df1
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 4 deletions.
92 changes: 89 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -195,7 +281,7 @@ const config: Config = {
searchPagePath: 'search',
},
metadata: [
{name: 'theme-color', content: '#25c2a0'},
{ name: 'theme-color', content: '#25c2a0' },
],
} satisfies Preset.ThemeConfig,
};
Expand Down
2 changes: 1 addition & 1 deletion i18n/en/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"copyright": {
"message": "© 2024 GeyserMC | Built with Docusaurus",
"message": "Copyright © 2024 GeyserMC. Built with Docusaurus.",
"description": "The footer copyright"
}
}
4 changes: 4 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
16 changes: 16 additions & 0 deletions static/img/site/geyser-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9b58df1

Please sign in to comment.