2018-07-12 17:21:42 +02:00
|
|
|
"use strict";
|
|
|
|
|
2018-09-26 18:42:41 +02:00
|
|
|
|
|
|
|
|
2018-10-10 19:56:35 +02:00
|
|
|
// P A C K A G E
|
2018-07-12 17:21:42 +02:00
|
|
|
|
2018-10-10 19:56:35 +02:00
|
|
|
const local = require("app-root-path").require;
|
|
|
|
|
|
|
|
// U T I L S
|
|
|
|
|
|
|
|
const applications = local("/app/components/ecosystem/module-applications");
|
|
|
|
const chainquery = local("/app/components/ecosystem/submodule-chainquery");
|
|
|
|
const lbry = local("/app/components/ecosystem/module-lbry");
|
|
|
|
const lbrycrd = local("/app/components/ecosystem/module-lbrycrd");
|
|
|
|
const lighthouse = local("/app/components/ecosystem/submodule-lighthouse");
|
|
|
|
const reflector = local("/app/components/ecosystem/submodule-reflector");
|
|
|
|
const wallet = local("/app/components/ecosystem/submodule-wallet");
|
2018-07-12 17:21:42 +02:00
|
|
|
|
2018-09-26 18:42:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
// E X P O R T
|
|
|
|
|
2018-10-03 22:27:13 +02:00
|
|
|
export default () => {
|
2018-08-25 00:30:58 +02:00
|
|
|
return `
|
2018-08-24 23:58:04 +02:00
|
|
|
<section class="ecosystem">
|
|
|
|
<aside class="ecosystem__submodules">
|
2018-10-10 19:56:35 +02:00
|
|
|
${chainquery()}
|
|
|
|
${wallet()}
|
2018-08-24 23:58:04 +02:00
|
|
|
</aside>
|
2018-07-12 17:21:42 +02:00
|
|
|
|
2018-08-24 23:58:04 +02:00
|
|
|
<section class="ecosystem__modules">
|
2018-10-10 19:56:35 +02:00
|
|
|
${lbrycrd()}
|
|
|
|
${lbry()}
|
|
|
|
${applications()}
|
2018-08-24 23:58:04 +02:00
|
|
|
</section>
|
2018-07-12 17:21:42 +02:00
|
|
|
|
2018-08-24 23:58:04 +02:00
|
|
|
<aside class="ecosystem__submodules">
|
2018-10-10 19:56:35 +02:00
|
|
|
${lighthouse()}
|
|
|
|
${reflector()}
|
2018-08-24 23:58:04 +02:00
|
|
|
</aside>
|
|
|
|
</section>
|
|
|
|
`;
|
2018-10-03 22:27:13 +02:00
|
|
|
};
|