@xcpcio/board-app 0.3.3 → 0.4.1

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.
Files changed (2) hide show
  1. package/dist/index.html +58 -0
  2. package/package.json +2 -2
package/dist/index.html CHANGED
@@ -2,6 +2,50 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
+
6
+ <style>
7
+ .top-banner {
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ gap: 2rem;
12
+
13
+ width: 100%;
14
+
15
+ padding-top: 1rem;
16
+ padding-bottom: 0.5rem;
17
+ padding-left: 1rem;
18
+ padding-right: 1rem;
19
+
20
+ --un-bg-opacity: 1;
21
+ background-color: rgba(249, 250, 251, var(--un-bg-opacity));
22
+
23
+ border-width: 1px;
24
+ border-bottom-width: 1px;
25
+ border-color: rgba(229, 231, 235, var(--un-bg-opacity));
26
+ }
27
+
28
+ .top-banner-text {
29
+ font-size: 1rem;
30
+ line-height: 1.25rem;
31
+ font-weight: 300;
32
+
33
+ --un-bg-opacity: 1;
34
+ color: rgba(107, 114, 128, var(--un-bg-opacity));
35
+ }
36
+
37
+ .top-banner-link {
38
+ font-weight: 500;
39
+ text-decoration-line: underline;
40
+
41
+ color: #2563eb;
42
+ }
43
+
44
+ .hover\:top-banner-link:hover {
45
+ text-decoration-line: none;
46
+ }
47
+ </style>
48
+
5
49
  <script>
6
50
  function normalizePath(path) {
7
51
  while (path.endsWith("/")) path = path.slice(0, -1);
@@ -104,6 +148,20 @@
104
148
  })();
105
149
  } catch (e) {}
106
150
  </script>
151
+
152
+ <div class="top-banner">
153
+ <p class="top-banner-text">
154
+ 欢迎预览
155
+ <a
156
+ class="top-banner-link"
157
+ href="https://board-ng.xcpcio.com"
158
+ target="_blank"
159
+ >
160
+ Board NG
161
+ </a>
162
+ </p>
163
+ </div>
164
+
107
165
  <center>
108
166
  <div id="root"></div>
109
167
  </center>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xcpcio/board-app",
3
3
  "description": "XCPCIO Board App",
4
- "version": "0.3.3",
4
+ "version": "0.4.1",
5
5
  "license": "MIT",
6
6
  "author": "Dup4 <lyuzhi.pan@gmail.com>",
7
7
  "keywords": [
@@ -17,7 +17,7 @@
17
17
  "url": "https://github.com/xcpcio/xcpcio/issues"
18
18
  },
19
19
  "engines": {
20
- "node": "^16.19.0"
20
+ "node": "^16.16.0"
21
21
  },
22
22
  "files": [
23
23
  "dist"