added link to the avatar but this will work only after some refactoring

pull/4817/head
lianahus 6 months ago
parent 4d6aa1ac42
commit 3e66dd8710
  1. 3
      apps/remix-ide/src/app.js
  2. 4
      apps/remix-ide/src/app/plugins/remixGuide.tsx
  3. 1
      apps/remix-ide/src/app/plugins/remixGuideData.json
  4. 3
      apps/remix-ide/src/remixAppManager.js

@ -510,9 +510,6 @@ class AppComponent {
)
await this.appManager.activatePlugin(['solidity-script'])
await this.appManager.activatePlugin(['solcoder'])
await this.appManager.activatePlugin(['filePanel'])
// Set workspace after initial activation

@ -97,7 +97,7 @@ export class RemixGuidePlugin extends ViewPlugin {
logo='/assets/img/YouTubeLogo.webp'
enableFilter={true}
showUntagged={true}
showPin={true}
showPin={false}
tagList={[
['beginner', 'danger'],
['advanced', 'warning'],
@ -131,7 +131,9 @@ export class RemixGuidePlugin extends ViewPlugin {
}}
logo={cell.expandViewElement.logo}
>
<a href={"https://www.youtube.com/@" + cell.authorURL} target="__blank">
<img src={"//img.youtube.com/vi/" + this.videoID + "/0.jpg"} style={{ height: '70px', width: '70px' }}></img>
</a>
</RemixUIGridCell>
})}
</RemixUIGridSection>

@ -13,6 +13,7 @@
"L2",
"AI"
],
"authorURL": "EatTheBlocks",
"expandViewElement": {
"videoID": "vH8T3In6ZkE",
"logo": "https://yt3.ggpht.com/9NFZbC9mkA152sSWJJgNBls6GlBdknsF-9gi6ZVk_xsHjmc82j3q1Pd5a--GCnOKUrP-YtNbHls=s48-c-k-c0x00ffffff-no-rj"

@ -128,7 +128,7 @@ export function isNative(name) {
'circuit-compiler',
'compilationDetails',
'vyperCompilationDetails',
//'remixGuide',
'remixGuide',
'walletconnect'
]
return nativePlugins.includes(name) || requiredModules.includes(name) || isInjectedProvider(name) || isVM(name)
@ -157,7 +157,6 @@ export class RemixAppManager extends PluginManager {
if (Registry.getInstance().get('platform').api.isDesktop()) {
requiredModules = [...requiredModules, 'fs', 'electronTemplates', 'isogit', 'remix-templates', 'electronconfig', 'xterm', 'compilerloader', 'ripgrep']
}
}
async canActivatePlugin(from, to) {

Loading…
Cancel
Save