update link of docs to master & update icon to book

pull/1/head
Rob Stupay 6 years ago
parent 6fbd8ba40c
commit ba614190f0
  1. 7
      src/app/components/swap-panel.js

@ -11,9 +11,6 @@ const css = csjs`
text-transform: uppercase;
white-space: nowrap;
}
.swapitTitle a{
cursor: help;
}
.swapitTitle i{
padding-left:4px;
font-size:10px;
@ -66,8 +63,8 @@ export class SwapPanel extends AbstractPanel {
if (this.active) {
const { profile } = this.store.getOne(this.active)
name = profile.displayName ? profile.displayName : profile.name
const docsRoot = 'https://remix.readthedocs.io/en/docsnewlayout/'
docLink = profile.documentation ? yo`<a href="${docsRoot}${profile.documentation}" title="link to documentation" target="_blank"><sup><i aria-hidden="true" class="fas fa-asterisk"></i></sup></a>` : ''
const docsRoot = 'https://remix.readthedocs.io/en/latest/'
docLink = profile.documentation ? yo`<a href="${docsRoot}${profile.documentation}" title="link to documentation" target="_blank"><sup><i aria-hidden="true" class="fas fa-book"></i></sup></a>` : ''
}
return yo`

Loading…
Cancel
Save