@abtnode/router-templates 1.16.47-beta-20250730-070104-87a128a5 → 1.16.47-beta-20250801-094129-1ba43aaa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ const getCommonTemplate = require('./common');
2
+ const getIcon = require('./util/get-icon');
3
+
4
+ module.exports = (blocklet, nodeInfo, adminURL) => {
5
+ let content = '<p style="color: #121212">We\'re getting everything ready for you. This won\'t take long!</p>';
6
+ if (adminURL) {
7
+ content = `${content} <p style="color: #121212">Site owner? <a href="${
8
+ adminURL || '#'
9
+ }" alt="sign in">Sign in to get started</a> and launch your application.</p>`;
10
+ }
11
+
12
+ return getCommonTemplate({
13
+ title: 'Your Application is Coming Soon!',
14
+ icon: getIcon(blocklet),
15
+ appName: blocklet?.meta?.title,
16
+ pageTitle: `${blocklet?.meta?.title}`,
17
+ content,
18
+ extra: `<p style="color:#999;font-size:0.875rem;font-family: Arial;text-align:center">
19
+ Powered by <a href="https://www.arcblock.io" target="_blank">ArcBlock</a>'s <a href="https://www.blocklet.io" target="_blank">Blocklet Technology</a>, the decentralized web engine.
20
+ </p>`,
21
+ nodeInfo,
22
+ });
23
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.47-beta-20250730-070104-87a128a5",
6
+ "version": "1.16.47-beta-20250801-094129-1ba43aaa",
7
7
  "description": "Provide page templates for ABT Node router",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,11 +19,11 @@
19
19
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@arcblock/result-html-pages": "^3.0.35",
23
- "@blocklet/meta": "1.16.47-beta-20250730-070104-87a128a5"
22
+ "@arcblock/result-html-pages": "^3.0.37",
23
+ "@blocklet/meta": "1.16.47-beta-20250801-094129-1ba43aaa"
24
24
  },
25
25
  "devDependencies": {
26
26
  "jest": "^29.7.0"
27
27
  },
28
- "gitHead": "a202f415488de553a2534d1a3d2a489dda27936c"
28
+ "gitHead": "0c90ec548e798d7ca264c37189b3887769591047"
29
29
  }