aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx/sites/www/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-16 00:08:53 +0800
committercrupest <crupest@outlook.com>2024-08-17 00:11:21 +0800
commitc4cd1e9b386c0098b4f74fb45be81ef82986b0f2 (patch)
tree1f2639ebfed6be3e2ee69f4ea2a3c728a592f39b /docker/crupest-nginx/sites/www/src
parent790a3bc0f9d71ca1b8effe4508046275c999ab2f (diff)
downloadcrupest-c4cd1e9b386c0098b4f74fb45be81ef82986b0f2.tar.gz
crupest-c4cd1e9b386c0098b4f74fb45be81ef82986b0f2.tar.bz2
crupest-c4cd1e9b386c0098b4f74fb45be81ef82986b0f2.zip
feat(www): upgrade dependencies.
Diffstat (limited to 'docker/crupest-nginx/sites/www/src')
-rw-r--r--docker/crupest-nginx/sites/www/src/main.ts2
-rw-r--r--docker/crupest-nginx/sites/www/src/style.css3
-rw-r--r--docker/crupest-nginx/sites/www/src/todos.ts4
3 files changed, 4 insertions, 5 deletions
diff --git a/docker/crupest-nginx/sites/www/src/main.ts b/docker/crupest-nginx/sites/www/src/main.ts
index 13553ed..2f09deb 100644
--- a/docker/crupest-nginx/sites/www/src/main.ts
+++ b/docker/crupest-nginx/sites/www/src/main.ts
@@ -41,7 +41,7 @@ setTimeout(() => {
});
const sloganContainer = document.querySelector(
- ".slogan-container"
+ ".slogan-container",
) as HTMLDivElement;
setTimeout(() => {
diff --git a/docker/crupest-nginx/sites/www/src/style.css b/docker/crupest-nginx/sites/www/src/style.css
index 079f7b9..1f9c9ed 100644
--- a/docker/crupest-nginx/sites/www/src/style.css
+++ b/docker/crupest-nginx/sites/www/src/style.css
@@ -93,7 +93,6 @@ a.mono {
animation: avatar-enter 0.5s 1s forwards;
}
-
.slogan-container {
width: 100%;
position: fixed;
@@ -183,4 +182,4 @@ a.mono {
display: block;
text-align: center;
font-size: 1.2em;
-} \ No newline at end of file
+}
diff --git a/docker/crupest-nginx/sites/www/src/todos.ts b/docker/crupest-nginx/sites/www/src/todos.ts
index 5e36875..b69f524 100644
--- a/docker/crupest-nginx/sites/www/src/todos.ts
+++ b/docker/crupest-nginx/sites/www/src/todos.ts
@@ -18,10 +18,10 @@ export async function fetchTodos(): Promise<Todo[]> {
if (res.status !== 200) {
console.error(
- `Failed to get TODOs. Status: ${res.status}. Body: ${body}`
+ `Failed to get TODOs. Status: ${res.status}. Body: ${body}`,
);
throw new Error(
- "Failed to fetch TODOs. (Maybe due to rate limit. Please try later.)"
+ "Failed to fetch TODOs. (Maybe due to rate limit. Please try later.)",
);
}
return body;