From a1ab1dc161de3e90439b098c8e7a3b994e7e7a2e Mon Sep 17 00:00:00 2001 From: Terry Finn Date: Mon, 22 Apr 2024 15:19:14 -0400 Subject: [PATCH 1/2] Disable Playground --- playbook-website/config/routes.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/playbook-website/config/routes.rb b/playbook-website/config/routes.rb index 48b5470724..301bdba2ad 100644 --- a/playbook-website/config/routes.rb +++ b/playbook-website/config/routes.rb @@ -34,8 +34,6 @@ get "kits/:name/sandpack", to: "pages#kit_show_new", as: "kit_show_new" get "kits/:name/rails_in_react", to: "pages#rails_in_react", as: "rails_in_react" get "kits/:name/rails_raw", to: "pages#rails_raw", as: "rails_raw" - get "kit_playground_rails", to: "pages#kit_playground_rails", as: "kit_playground_rails" - post "rails_pg_render", to: "pages#rails_pg_render", as: "rails_pg_render" # Docs get "guides/:parent", to: "guides#md_doc", as: "guides_parent" From 6b67c16b725ae2802cd9e54e96141bbe59ddfec3 Mon Sep 17 00:00:00 2001 From: Stephen Marshall Date: Mon, 22 Apr 2024 15:35:38 -0400 Subject: [PATCH 2/2] Remove playground link --- .../MainSidebar/MenuData/SidebarNavItems.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/playbook-website/app/javascript/components/MainSidebar/MenuData/SidebarNavItems.ts b/playbook-website/app/javascript/components/MainSidebar/MenuData/SidebarNavItems.ts index 44fb360dd9..da681f987c 100644 --- a/playbook-website/app/javascript/components/MainSidebar/MenuData/SidebarNavItems.ts +++ b/playbook-website/app/javascript/components/MainSidebar/MenuData/SidebarNavItems.ts @@ -34,11 +34,11 @@ export const SideBarNavItems = [ children: true, leftIcon:"vial" }, - { - name: "Playground", - key: "top-nav-item-6", - link: "/kit_playground_rails", - children: false, - leftIcon:"laptop-code" - } + // { + // name: "Playground", + // key: "top-nav-item-6", + // link: "/kit_playground_rails", + // children: false, + // leftIcon:"laptop-code" + // } ] \ No newline at end of file