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

@ -2,89 +2,103 @@ import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config // https://vitepress.dev/reference/site-config
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
search: { search: {
provider: "local", provider: "local",
}, },
nav: [ nav: [
{ {
text: "Documentation", text: "Documentation",
link: '/about/introduction' link: "/about/introduction",
} },
],
sidebar: [
{
text: "About",
items: [
{ text: "Introduction", link: "/about/introduction" },
{ text: "Quick Start", link: "/about/quick-start" },
{ text: "Benchmarks", link: "/about/benchmarks" },
], ],
}, sidebar: [
{ {
text: "Configuration", text: "About",
items: [ items: [
{ text: "Introduction", link: "/config/introduction" }, { text: "Introduction", link: "/about/introduction" },
{ text: "Basic", link: "/config/basic" }, { text: "Quick Start", link: "/about/quick-start" },
{ text: "Proxy", link: "/config/proxy"}, { text: "Benchmarks", link: "/about/benchmarks" },
{ text: "Authentication", link: "/config/authentication"}, ],
{ text: "Compression", link: "/config/compression"}, },
{ text: "Resource Pack", link: "/config/resource-pack"}, {
{ text: "Commands", link: "/config/commands"}, text: "Configuration",
{ text: "RCON", link: "/config/rcon"}, items: [
{ text: "PVP", link: "/config/pvp"}, { text: "Introduction", link: "/config/introduction" },
{ text: "Logging", link: "/config/logging"}, { text: "Basic", link: "/config/basic" },
{ text: "Query", link: "/config/query"}, { text: "Proxy", link: "/config/proxy" },
{ text: "LAN Broadcast", link: "/config/lan-broadcast"}, { text: "Authentication", link: "/config/authentication" },
{ text: "Compression", link: "/config/compression" },
{ text: "Resource Pack", link: "/config/resource-pack" },
{ text: "Commands", link: "/config/commands" },
{ text: "RCON", link: "/config/rcon" },
{ text: "PVP", link: "/config/pvp" },
{ text: "Logging", link: "/config/logging" },
{ text: "Query", link: "/config/query" },
{ text: "LAN Broadcast", link: "/config/lan-broadcast" },
],
},
{
text: "Developers",
items: [
{ text: "Contributing", link: "/developer/contributing" },
{ text: "Introduction", link: "/developer/introduction" },
{ text: "Networking", link: "/developer/networking" },
{
text: "Authentication",
link: "/developer/authentication",
},
{ text: "RCON", link: "/developer/rcon" },
{ text: "World", link: "developer/world" },
],
},
{
text: "Troubleshooting",
items: [
{
text: "Common Issues",
link: "/troubleshooting/common_issues.md",
},
],
},
], ],
},
{
text: "Developers",
items: [
{ text: "Contributing", link: "/developer/contributing", },
{ text: "Introduction", link: "/developer/introduction" },
{ text: "Networking", link: "/developer/networking" },
{ text: "Authentication", link: "/developer/authentication" },
{ text: "RCON", link: "/developer/rcon" },
{ text: "World", link: "developer/world"},
],
},
{
text: "Troubleshooting",
items: [
{ 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" },
], ],
logo: "/Pumpkin/assets/favicon.ico", logo: "/Pumpkin/assets/favicon.ico",
footer: { footer: {
message: "Released under the MIT License.", message: "Released under the MIT License.",
copyright: "Copyright © 2024-present Aleksandr Medvedev", copyright: "Copyright © 2024-present Aleksandr Medvedev",
},
editLink: {
pattern:
"https://github.com/Pumpkin-MC/Pumpkin-Website/blob/master/docs/:path",
text: "Edit this page on GitHub",
},
lastUpdated: {
text: "Updated at",
formatOptions: {
dateStyle: "medium",
timeStyle: "medium",
},
},
outline: "deep",
}, },
editLink: { head: [
pattern: "https://github.com/Pumpkin-MC/Pumpkin-Website/blob/master/docs/:path", ["link", { rel: "shortcut icon", href: "/assets/favicon.ico" }],
text: "Edit this page on GitHub", ["link", { rel: "icon", href: "/assets/icon_32x32.png", sizes: "32x32" }],
}, ["link", { rel: "icon", href: "/assets/icon_48x48.png", sizes: "48x48" }],
lastUpdated: { ["link", { rel: "icon", href: "/assets/icon_96x96.png", sizes: "96x96" }],
text: "Updated at", ["link", { rel: "icon", href: "/assets/icon_144x144.png", sizes: "144x144" }],
formatOptions: {
dateStyle: "medium", ["meta", { name: "keywords", content: "minecraft, performance, pumpkin, rust, server" }],
timeStyle: "medium", ],
},
},
outline: "deep"
},
head: [["link", { rel: "icon", href: "/assets/favicon.ico" }]],
}); });

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