2024-06-20 15:43:14 +02:00
|
|
|
---
|
2024-06-22 14:36:30 +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
|
|
|
---
|
|
|
|
|
2024-06-22 14:36:30 +02:00
|
|
|
<StarlightPage frontmatter={{ title: "Playground", template: "splash" }}>
|
|
|
|
<PlaygroundComponent client:only="react" {lang} />
|
2024-06-20 15:43:14 +02:00
|
|
|
</StarlightPage>
|
2024-06-22 14:36:30 +02:00
|
|
|
|
|
|
|
<style is:global>
|
|
|
|
.pagination-links {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|