Skip to content

Commit

Permalink
Merge pull request #105 from EarthMaker-MC/feat/add-sponsors
Browse files Browse the repository at this point in the history
feat: Add Sponsors button
  • Loading branch information
Ellinikor authored Jan 23, 2025
2 parents 0180149 + 0d2f8b6 commit 00a010d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ const config: Config = {
},
sitemap: {
lastmod: "datetime",

}
} satisfies Preset.Options,
],
],
plugins: [require.resolve("docusaurus-plugin-image-zoom"), [
require.resolve("docusaurus-plugin-search-local"),{}
require.resolve("docusaurus-plugin-search-local"), {}
],
[
require.resolve("@docusaurus/plugin-content-docs"), {
Expand All @@ -67,7 +67,7 @@ const config: Config = {
showLastUpdateTime: true
}
]
],
],
themeConfig: {
zoom: {
selector: '.markdown > img',
Expand All @@ -94,6 +94,8 @@ const config: Config = {
docsPluginId: "maps"
},
{ to: '/blog', label: 'Blog', position: 'left' },
{ href: "https://download.earthmaker.world", label: "Discord (downloads)", position: "right" },
{ type: "html", value: "<div style=\"width: 100%; height: 100%;\"><div style=\"display: flex; align-items:center;justify-content:center;\"><iframe src=\"https://github.com/sponsors/EarthMaker-MC/button\" title=\"Sponsor EarthMaker-MC\" height=\"32\" width=\"114\" style=\"border: 0; border-radius: 6px;vertical-align: inline-block\"></iframe></div></div>", position: "right" }
],
},
footer: {
Expand Down

0 comments on commit 00a010d

Please sign in to comment.