links to docs

pull/3094/head
Rob Stupay 6 years ago
parent 288739a0ac
commit 77d12c7f70
  1. 8
      src/app/components/swap-panel.js
  2. 3
      src/app/panels/file-panel.js

@ -9,6 +9,12 @@ const css = csjs`
}
.swapitTitle {
text-transform: uppercase;
white-space: nowrap;
}
.swapitTitle i{
padding-left:4px;
font-size:10px;
}
.swapitHeader {
height: 35px;
@ -60,7 +66,7 @@ export class SwapPanel extends AbstractPanel {
}
return yo`
<header class="${css.swapitHeader}">
<h6 class="${css.swapitTitle}">${name}</h6>
<h6 class="${css.swapitTitle}">${name} <a href="https://remix.readthedocs.io/en/docsnewlayout/file_explorer.html" title="link to documentation" target="_new"><sup><i aria-hidden="true" class="fas fa-asterisk"></i></sup></h6>
</div>
</header>`
}

@ -35,7 +35,8 @@ const profile = {
icon: 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNjk2IDM4NHE0MCAwIDY4IDI4dDI4IDY4djEyMTZxMCA0MC0yOCA2OHQtNjggMjhoLTk2MHEtNDAgMC02OC0yOHQtMjgtNjh2LTI4OGgtNTQ0cS00MCAwLTY4LTI4dC0yOC02OHYtNjcycTAtNDAgMjAtODh0NDgtNzZsNDA4LTQwOHEyOC0yOCA3Ni00OHQ4OC0yMGg0MTZxNDAgMCA2OCAyOHQyOCA2OHYzMjhxNjgtNDAgMTI4LTQwaDQxNnptLTU0NCAyMTNsLTI5OSAyOTloMjk5di0yOTl6bS02NDAtMzg0bC0yOTkgMjk5aDI5OXYtMjk5em0xOTYgNjQ3bDMxNi0zMTZ2LTQxNmgtMzg0djQxNnEwIDQwLTI4IDY4dC02OCAyOGgtNDE2djY0MGg1MTJ2LTI1NnEwLTQwIDIwLTg4dDQ4LTc2em05NTYgODA0di0xMTUyaC0zODR2NDE2cTAgNDAtMjggNjh0LTY4IDI4aC00MTZ2NjQwaDg5NnoiLz48L3N2Zz4=',
description: ' - ',
kind: 'fileexplorer',
location: 'swapPanel'
location: 'swapPanel',
documentation: 'https://remix.readthedocs.io/en/file_explorer.html'
}
module.exports = class Filepanel extends BaseApi {

Loading…
Cancel
Save