swarmlancer-cli 0.3.0 → 0.3.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.
- package/dist/screens/banner.js +10 -6
- package/package.json +1 -1
package/dist/screens/banner.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { Container, Text, Spacer } from "@mariozechner/pi-tui";
|
|
2
2
|
import { colors } from "../theme.js";
|
|
3
3
|
const BANNER_ART = [
|
|
4
|
-
`
|
|
5
|
-
`
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
` █████████ ███`,
|
|
5
|
+
` ███░░░░░███ ███░ `,
|
|
6
|
+
`░███ ░░░ ███░ `,
|
|
7
|
+
`░░█████████ ███░ `,
|
|
8
|
+
` ░░░░░░░░███░░░███ `,
|
|
9
|
+
` ███ ░███ ░░░███ `,
|
|
10
|
+
`░░█████████ ░░░███`,
|
|
11
|
+
` ░░░░░░░░░ ░░░ `,
|
|
8
12
|
];
|
|
9
13
|
export class BannerComponent extends Container {
|
|
10
14
|
constructor() {
|
|
@@ -15,10 +19,10 @@ export class BannerComponent extends Container {
|
|
|
15
19
|
this.clear();
|
|
16
20
|
this.addChild(new Spacer(1));
|
|
17
21
|
for (const line of BANNER_ART) {
|
|
18
|
-
this.addChild(new Text(colors.limeBold(line), 1, 0));
|
|
22
|
+
this.addChild(new Text(colors.limeBold(` ${line}`), 1, 0));
|
|
19
23
|
}
|
|
20
24
|
this.addChild(new Spacer(0));
|
|
21
|
-
this.addChild(new Text(colors.gray("
|
|
25
|
+
this.addChild(new Text(colors.gray(" LET THE SWARM BEGIN"), 1, 0));
|
|
22
26
|
this.addChild(new Spacer(1));
|
|
23
27
|
}
|
|
24
28
|
invalidate() {
|