Skip to content

Commit

Permalink
Merge branch 'main' into upgrade-sandbox-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
imsitnikov authored Sep 30, 2024
2 parents e0f55db + 21585c9 commit 80e9e26
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
4 changes: 1 addition & 3 deletions src/[locale]/libraries/[libId]/playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
21 changes: 10 additions & 11 deletions src/content/landing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 80e9e26

Please sign in to comment.