mirror of
https://github.com/bastienwirtz/homer.git
synced 2026-05-06 19:57:35 +02:00
chore: lint updates
This commit is contained in:
@@ -23,5 +23,4 @@ message: ~
|
||||
links: []
|
||||
services: []
|
||||
|
||||
|
||||
proxy: ~
|
||||
proxy: ~
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user