mevebu 1.8.0 → 1.8.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/README.md +1 -5
- package/mevebu/app/mevebu.js +0 -27
- package/mevebu/libs/js/core.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,11 +205,7 @@ Every tool page has a small **Report a problem** link at the bottom. It opens a
|
|
|
205
205
|
|
|
206
206
|
You can also [open an issue](https://github.com/mevebu/mevebu/issues) directly, or send a pull request.
|
|
207
207
|
|
|
208
|
-
##
|
|
209
|
-
|
|
210
|
-
If a tool here saved you time, you can help keep the next one coming:
|
|
211
|
-
|
|
212
|
-
[](https://buymeacoffee.com/fastro)
|
|
208
|
+
## Follow
|
|
213
209
|
|
|
214
210
|
Star the repo if you like it, and follow mevebu for updates:
|
|
215
211
|
|
package/mevebu/app/mevebu.js
CHANGED
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
textInput, textArea, panel,
|
|
11
11
|
} from "../libs/js/core.js";
|
|
12
12
|
|
|
13
|
-
const DONATE_URL = "https://buymeacoffee.com/fastro";
|
|
14
13
|
const REPO_URL = "https://github.com/mevebu/mevebu";
|
|
15
14
|
|
|
16
15
|
const NAV = [
|
|
@@ -161,22 +160,6 @@ function openHelp(tool) {
|
|
|
161
160
|
});
|
|
162
161
|
}
|
|
163
162
|
|
|
164
|
-
function openDonate() {
|
|
165
|
-
const close = modal({
|
|
166
|
-
label: "Support mevebu",
|
|
167
|
-
body: [
|
|
168
|
-
modalHead("coffee", "Keep mevebu flying"),
|
|
169
|
-
el("p", {}, "mevebu is free and runs entirely in your browser. No accounts, no ads, nothing to sell."),
|
|
170
|
-
el("p", {}, "If a tool here saved you time, a coffee keeps the next one coming."),
|
|
171
|
-
],
|
|
172
|
-
actions: [
|
|
173
|
-
button("Not now", { onclick: () => close() }),
|
|
174
|
-
el("a", { class: LINK_FILL, href: DONATE_URL, target: "_blank", rel: "noopener" },
|
|
175
|
-
icon("coffee"), el("span", {}, "Buy me a coffee")),
|
|
176
|
-
],
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
|
|
180
163
|
// The footer chip opens this. `latest` is the published version, or null when the
|
|
181
164
|
// check has not answered; opening the modal retries it, so a registry hiccup on
|
|
182
165
|
// the first load is not a dead end. The body and the actions repaint in place
|
|
@@ -294,15 +277,6 @@ async function startVersionChip() {
|
|
|
294
277
|
}
|
|
295
278
|
|
|
296
279
|
function footer() {
|
|
297
|
-
const donate = button("Donate", {
|
|
298
|
-
icon: "coffee",
|
|
299
|
-
kind: "quiet",
|
|
300
|
-
onclick: (event) => {
|
|
301
|
-
event.preventDefault();
|
|
302
|
-
openDonate();
|
|
303
|
-
},
|
|
304
|
-
});
|
|
305
|
-
|
|
306
280
|
// A finger needs 44px on a phone, so the whole list is a comfortable target
|
|
307
281
|
// there. The desktop row stays as it was, at text height.
|
|
308
282
|
const FOOT_LINK = "inline-flex items-center text-sm text-ink-2 no-underline hover:text-jade max-[45rem]:min-h-11";
|
|
@@ -341,7 +315,6 @@ function footer() {
|
|
|
341
315
|
group("Project", [
|
|
342
316
|
el("a", { class: FOOT_LINK, href: "#/about" }, "About"),
|
|
343
317
|
el("a", { class: FOOT_LINK, href: REPO_URL, target: "_blank", rel: "noopener" }, "GitHub"),
|
|
344
|
-
donate,
|
|
345
318
|
])
|
|
346
319
|
)
|
|
347
320
|
),
|
package/mevebu/libs/js/core.js
CHANGED
|
@@ -750,7 +750,7 @@ export function blank(iconName, text) {
|
|
|
750
750
|
// ---------- version ----------
|
|
751
751
|
|
|
752
752
|
// Kept in one place. The CLI reads the same value from package.json.
|
|
753
|
-
export const VERSION = "1.8.
|
|
753
|
+
export const VERSION = "1.8.1";
|
|
754
754
|
export const PACKAGE_NAME = "mevebu";
|
|
755
755
|
export const REPO_SLUG = "mevebu/mevebu";
|
|
756
756
|
|