GraphQL Playground
++ Enter an endpoint to open the full Tailcall playground. The interactive editor loads only after an endpoint + is provided. +
+ + + + Open without endpoint + +diff --git a/src/pages/playground.tsx b/src/pages/playground/app.tsx similarity index 80% rename from src/pages/playground.tsx rename to src/pages/playground/app.tsx index e38dbc11c..fd9f6ccd5 100644 --- a/src/pages/playground.tsx +++ b/src/pages/playground/app.tsx @@ -1,9 +1,9 @@ import React, {useEffect} from "react" import ReactGA from "react-ga4" import Layout from "@theme/Layout" -import PlaygroundPage from "../components/playground" +import PlaygroundPage from "../../components/playground" import {useLocation} from "@docusaurus/router" -import {PageDescription, PageTitle} from "../constants/titles" +import {PageDescription, PageTitle} from "../../constants/titles" const Playground = () => { const location = useLocation() diff --git a/static/playground/index.html b/static/playground/index.html new file mode 100644 index 000000000..ba8c6e275 --- /dev/null +++ b/static/playground/index.html @@ -0,0 +1,257 @@ + + +
+ + + + + + ++ Enter an endpoint to open the full Tailcall playground. The interactive editor loads only after an endpoint + is provided. +
+ + + + Open without endpoint + +