diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml index b69eaa0..d30d690 100644 --- a/src/assets/defaults.yml +++ b/src/assets/defaults.yml @@ -23,5 +23,4 @@ message: ~ links: [] services: [] - -proxy: ~ \ No newline at end of file +proxy: ~ diff --git a/src/assets/themes/classic.scss b/src/assets/themes/classic.scss index 7d7865b..35833db 100644 --- a/src/assets/themes/classic.scss +++ b/src/assets/themes/classic.scss @@ -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; diff --git a/src/assets/webfonts/webfonts.scss b/src/assets/webfonts/webfonts.scss index 3eccf00..3a8e9b1 100644 --- a/src/assets/webfonts/webfonts.scss +++ b/src/assets/webfonts/webfonts.scss @@ -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; } - diff --git a/src/components/services/UptimeKuma.vue b/src/components/services/UptimeKuma.vue index 626f3ed..0440a73 100644 --- a/src/components/services/UptimeKuma.vue +++ b/src/components/services/UptimeKuma.vue @@ -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));