shulkerscript-webpage/src/pages/playground.astro

30 lines
709 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-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>