shulkerscript-webpage/src/pages/playground.astro

39 lines
992 B
Plaintext
Raw Normal View History

2024-06-20 15:43:14 +02:00
---
import PlaygroundComponent from "@components/Playground";
import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro";
import type { PlaygroundLang } from "@utils/playground";
const lang: PlaygroundLang = {
header: {
title: "Playground",
buttons: {
build: "Build",
zip: "Download zip",
save: "Save",
reset: "Reset",
},
},
explorer: {
title: "Explorer",
2024-06-23 20:28:12 +02:00
menu: {
delete: "Delete",
rename: "Rename",
renamePrompt: {
label: "New file path",
message: "Enter the path you want the file to be renamed/moved to."
},
cancel: "Cancel",
}
},
};
2024-06-20 15:43:14 +02:00
---
<StarlightPage frontmatter={{ title: "Playground", template: "splash" }}>
<PlaygroundComponent client:only="react" {lang} />
2024-06-20 15:43:14 +02:00
</StarlightPage>
<style is:global>
.pagination-links {
display: none;
}
</style>