pull/1/head
LianaHus 6 years ago
parent 812cc09ea7
commit a39a5b8304
  1. 8
      src/app/ui/landing-page/landing-page.js

@ -63,6 +63,7 @@ export class LandingPage extends ApiFactory {
constructor (appManager, appStore) { constructor (appManager, appStore) {
super() super()
this.appStore = appStore
this.sections = [] this.sections = []
let load = function (item) { let load = function (item) {
let compilerImport = new CompilerImport() let compilerImport = new CompilerImport()
@ -204,6 +205,13 @@ export class LandingPage extends ApiFactory {
</span> </span>
`) `)
} }
let icon = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xNzU1IDQ1M3EzNyAzOCAzNyA5MC41dC0zNyA5MC41bC00MDEgNDAwIDE1MCAxNTAtMTYwIDE2MHEtMTYzIDE2My0zODkuNSAxODYuNXQtNDExLjUtMTAwLjVsLTM2MiAzNjJoLTE4MXYtMTgxbDM2Mi0zNjJxLTEyNC0xODUtMTAwLjUtNDExLjV0MTg2LjUtMzg5LjVsMTYwLTE2MCAxNTAgMTUwIDQwMC00MDFxMzgtMzcgOTEtMzd0OTAgMzcgMzcgOTAuNS0zNyA5MC41bC00MDAgNDAxIDIzNCAyMzQgNDAxLTQwMHEzOC0zNyA5MS0zN3Q5MCAzN3oiLz48L3N2Zz4='
main.appendChild(yo`
<span onclick="${()=>{ globalRegistry.get("verticalicon").api.select("pluginManager") }}">
<img class="btn btn-secondary btn-lg m-2" style="max-width: 53px; max-height: 53px" src="${icon}" />
</span>
`)
/* let others = yo`<div class="container m-4"></div>` /* let others = yo`<div class="container m-4"></div>`
for (let i = 0; i < this.sectionWorkspaceOthers.length; i++) { for (let i = 0; i < this.sectionWorkspaceOthers.length; i++) {

Loading…
Cancel
Save