data moved outside

pull/5175/head
lianahus 5 months ago committed by Aniket
parent 352ab510a8
commit 5f4d2b8782
  1. 2
      apps/remix-ide/src/app/plugins/templates-selection/templates-selection-plugin.tsx
  2. 1
      apps/remix-ide/src/app/plugins/templates-selection/templates.ts

@ -222,7 +222,7 @@ export class TemplatesSelectionPlugin extends ViewPlugin {
classList='TSCellStyle' classList='TSCellStyle'
> >
<div className='d-flex justify-content-between h-100 flex-column'> <div className='d-flex justify-content-between h-100 flex-column'>
<span className='pt-4 px-1 h6 text-dark'>Discover more templates!</span> <span className='pt-4 px-1 h6 text-dark'>{ template.description }</span>
<span style={{ cursor: 'pointer' }} className='mt-2 btn btn-sm border align-items-left' onClick={() => template.onClick() }>{ template.onClickLabel }</span> <span style={{ cursor: 'pointer' }} className='mt-2 btn btn-sm border align-items-left' onClick={() => template.onClick() }>{ template.onClickLabel }</span>
</div> </div>
</RemixUIGridCell> } </RemixUIGridCell> }

@ -265,6 +265,7 @@ export const templates = (intl, plugin) => {
plugin.call('menuicons', 'showContent', 'cookbookdev') plugin.call('menuicons', 'showContent', 'cookbookdev')
}, },
onClickLabel: 'Open Cookbook Plugin', onClickLabel: 'Open Cookbook Plugin',
description: 'Discover more templates!',
items: [ items: [
{ value: "token-sale", displayName: 'Token Sale' }, { value: "token-sale", displayName: 'Token Sale' },
{ value: "simple-nft-sale", displayName: 'Simple Nft Sale' }, { value: "simple-nft-sale", displayName: 'Simple Nft Sale' },

Loading…
Cancel
Save