improve icons

This commit is contained in:
Alexander Medvedev 2024-12-30 21:47:41 +01:00
parent c923fb03d0
commit e6918017cd
6 changed files with 94 additions and 80 deletions

View File

@ -4,7 +4,7 @@ import { defineConfig } from "vitepress";
export default defineConfig({ export default defineConfig({
title: "Pumpkin", title: "Pumpkin",
description: description:
"Empowering everyone to host fast and efficient Minecraft servers", "A High-performance Minecraft server software written in Rust",
lang: "en-US", lang: "en-US",
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
@ -14,8 +14,8 @@ export default defineConfig({
nav: [ nav: [
{ {
text: "Documentation", text: "Documentation",
link: '/about/introduction' link: "/about/introduction",
} },
], ],
sidebar: [ sidebar: [
{ {
@ -31,38 +31,43 @@ export default defineConfig({
items: [ items: [
{ text: "Introduction", link: "/config/introduction" }, { text: "Introduction", link: "/config/introduction" },
{ text: "Basic", link: "/config/basic" }, { text: "Basic", link: "/config/basic" },
{ text: "Proxy", link: "/config/proxy"}, { text: "Proxy", link: "/config/proxy" },
{ text: "Authentication", link: "/config/authentication"}, { text: "Authentication", link: "/config/authentication" },
{ text: "Compression", link: "/config/compression"}, { text: "Compression", link: "/config/compression" },
{ text: "Resource Pack", link: "/config/resource-pack"}, { text: "Resource Pack", link: "/config/resource-pack" },
{ text: "Commands", link: "/config/commands"}, { text: "Commands", link: "/config/commands" },
{ text: "RCON", link: "/config/rcon"}, { text: "RCON", link: "/config/rcon" },
{ text: "PVP", link: "/config/pvp"}, { text: "PVP", link: "/config/pvp" },
{ text: "Logging", link: "/config/logging"}, { text: "Logging", link: "/config/logging" },
{ text: "Query", link: "/config/query"}, { text: "Query", link: "/config/query" },
{ text: "LAN Broadcast", link: "/config/lan-broadcast"}, { text: "LAN Broadcast", link: "/config/lan-broadcast" },
], ],
}, },
{ {
text: "Developers", text: "Developers",
items: [ items: [
{ text: "Contributing", link: "/developer/contributing", }, { text: "Contributing", link: "/developer/contributing" },
{ text: "Introduction", link: "/developer/introduction" }, { text: "Introduction", link: "/developer/introduction" },
{ text: "Networking", link: "/developer/networking" }, { text: "Networking", link: "/developer/networking" },
{ text: "Authentication", link: "/developer/authentication" }, {
text: "Authentication",
link: "/developer/authentication",
},
{ text: "RCON", link: "/developer/rcon" }, { text: "RCON", link: "/developer/rcon" },
{ text: "World", link: "developer/world"}, { text: "World", link: "developer/world" },
], ],
}, },
{ {
text: "Troubleshooting", text: "Troubleshooting",
items: [ items: [
{ text: "Common Issues", link: "/troubleshooting/common_issues.md" }, {
text: "Common Issues",
link: "/troubleshooting/common_issues.md",
},
], ],
}, },
], ],
socialLinks: [ socialLinks: [
{ icon: "github", link: "https://github.com/Pumpkin-MC/Pumpkin" }, { icon: "github", link: "https://github.com/Pumpkin-MC/Pumpkin" },
{ icon: "discord", link: "https://discord.gg/RNm224ZsDq" }, { icon: "discord", link: "https://discord.gg/RNm224ZsDq" },
@ -74,7 +79,8 @@ export default defineConfig({
copyright: "Copyright © 2024-present Aleksandr Medvedev", copyright: "Copyright © 2024-present Aleksandr Medvedev",
}, },
editLink: { editLink: {
pattern: "https://github.com/Pumpkin-MC/Pumpkin-Website/blob/master/docs/:path", pattern:
"https://github.com/Pumpkin-MC/Pumpkin-Website/blob/master/docs/:path",
text: "Edit this page on GitHub", text: "Edit this page on GitHub",
}, },
lastUpdated: { lastUpdated: {
@ -84,7 +90,15 @@ export default defineConfig({
timeStyle: "medium", timeStyle: "medium",
}, },
}, },
outline: "deep" outline: "deep",
}, },
head: [["link", { rel: "icon", href: "/assets/favicon.ico" }]], head: [
["link", { rel: "shortcut icon", href: "/assets/favicon.ico" }],
["link", { rel: "icon", href: "/assets/icon_32x32.png", sizes: "32x32" }],
["link", { rel: "icon", href: "/assets/icon_48x48.png", sizes: "48x48" }],
["link", { rel: "icon", href: "/assets/icon_96x96.png", sizes: "96x96" }],
["link", { rel: "icon", href: "/assets/icon_144x144.png", sizes: "144x144" }],
["meta", { name: "keywords", content: "minecraft, performance, pumpkin, rust, server" }],
],
}); });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB