diff --git a/src/[locale]/libraries/[libId]/playground/index.tsx b/src/[locale]/libraries/[libId]/playground/index.tsx index 047303bfa370..ab0a181ccf4d 100644 --- a/src/[locale]/libraries/[libId]/playground/index.tsx +++ b/src/[locale]/libraries/[libId]/playground/index.tsx @@ -48,9 +48,7 @@ export const getStaticProps: GetStaticProps = async (context) => { }; }; -// TODO: open with article -// export const availablePlaygrounds = ['markdown-editor']; -export const availablePlaygrounds = [] as string[]; +export const availablePlaygrounds = ['markdown-editor']; export const PlaygroundPage = ({libId}: {libId: string}) => { const hasPlayground = availablePlaygrounds.includes(libId); diff --git a/src/content/landing.ts b/src/content/landing.ts index 150a1c4704db..29095e4be552 100644 --- a/src/content/landing.ts +++ b/src/content/landing.ts @@ -81,17 +81,16 @@ export const getLanding = (t: TFunction): CustomPageContent => ({ }, ], }, - // TODO: open with article - // banner: { - // image: { - // src: './static/images/markdown-editor/banner.png', - // href: '/libraries/markdown-editor/playground', - // alt: 'markdown-editor', - // title: 'markdown-editor', - // }, - // title: t('home:banner_title'), - // content: t('home:banner_content'), - // }, + banner: { + image: { + src: './static/images/markdown-editor/banner.png', + href: '/libraries/markdown-editor/playground', + alt: 'markdown-editor', + title: 'markdown-editor', + }, + title: t('home:banner_title'), + content: t('home:banner_content'), + }, }, { type: CustomBlock.CustomExtendedFeatures,