chore: lint updates

This commit is contained in:
Bastien Wirtz
2026-04-05 15:16:57 +02:00
parent 0d5151118c
commit 5f84381e34
4 changed files with 11 additions and 10 deletions

View File

@@ -23,5 +23,4 @@ message: ~
links: []
services: []
proxy: ~
proxy: ~

View File

@@ -26,7 +26,7 @@
--text: #eaeaea;
--text-header: #ffffff;
--text-title: #fafafa;
--text-subtitle: #b6b6b6;
--text-subtitle: #b6b6b6;
--card-shadow: rgba(0, 0, 0, 0.4);
--link: #3273dc;
--link-hover: #144aa2;

View File

@@ -1,11 +1,13 @@
/* latin */
@font-face {
font-family: 'Noto Sans';
font-family: "Noto Sans";
font-style: normal;
font-weight: 100 900;
font-stretch: 100%;
font-display: swap;
src: url("./noto/noto-latin-normal.woff2") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
src: url("./noto/noto-latin-normal.woff2") format("woff2");
unicode-range:
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
U+2212, U+2215, U+FEFF, U+FFFD;
}

View File

@@ -82,7 +82,7 @@ export default {
return this.incident.incident.title;
}
let message = "";
let message;
switch (this.pageStatus) {
case "good":
message = "All Systems Operational";
@@ -114,13 +114,13 @@ export default {
},
methods: {
fetchStatus: function () {
const now = Date.now()
const now = Date.now();
this.fetch(`/api/status-page/${this.dashboard}?cachebust=${now}`)
.catch((e) => console.error(e))
.then((resp) => (this.incident = resp));
this.fetch(
`/api/status-page/heartbeat/${this.dashboard}?cachebust=${now}`
`/api/status-page/heartbeat/${this.dashboard}?cachebust=${now}`,
)
.catch((e) => console.error(e))
.then((resp) => (this.heartbeat = resp));