Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Add badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Jun 29, 2024
1 parent 6654012 commit 94a5455
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: { src: '/logo.png', width: 24, height: 24 },
externalLinkIcon: true,
externalLinkIcon: false,

editLink: {
pattern: 'https://github.com/constellation-mc/commander/edit/documentation/docs/:path'
Expand Down
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,7 @@
--docsearch-primary-color: var(--vp-c-brand-1) !important;
}

.badge-holder img {
margin: 3px;
display: inline-block;
}
7 changes: 7 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ comment: false
---
# Commander <Badge type="warning" text="beta" />

<div class="badge-holder">

[![Available on Modrinth](https://raw.githubusercontent.com/melontini/mini-badges/main/minecraft/modrinth.svg)](https://modrinth.com/mod/recipe-book-delight)
[![Available on CurseForge](https://raw.githubusercontent.com/melontini/mini-badges/main/minecraft/curseforge.svg)](https://www.curseforge.com/minecraft/mc-mods/cmd-project)

</div>

Commander is an extension of the vanilla data pack system.

It adds a new event system, flexible json commands, new `/` commands, support for advanced expressions with data access and more!
Expand Down

0 comments on commit 94a5455

Please sign in to comment.