From b1e170adc70735f43d6976eaa6b10667821336c4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 9 Mar 2022 23:00:28 +0900 Subject: [PATCH] feat: use instance icon for splash screen --- CHANGELOG.md | 1 + packages/backend/assets/splash.png | 3 +++ packages/backend/src/server/web/views/base.pug | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/backend/assets/splash.png diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a5e5ffb8..9f1603f14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ You should also include the user name that made the change. - 連合チャートにActiveを追加 @syuilo - デフォルトで10秒以上時間がかかるデータベースへのクエリは中断されるように @syuilo - 設定ファイルの`db.extra`に`statement_timeout`を設定することでタイムアウト時間を変更できます +- Client: スプラッシュスクリーンにインスタンスのアイコンを表示するように @syuilo ### Bugfixes - Client: リアクションピッカーの高さが低くなったまま戻らないことがあるのを修正 @syuilo diff --git a/packages/backend/assets/splash.png b/packages/backend/assets/splash.png new file mode 100644 index 000000000..04c56bd46 --- /dev/null +++ b/packages/backend/assets/splash.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7be0070c9293c00375343b7ba9fb04fcd6a0f93a028a56fc74bf63bad162fab +size 23205 diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index bd56e6703..abacb1ccf 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -59,5 +59,5 @@ html br | Please turn on your JavaScript div#splash - img(src='/static-assets/icons/512.png') + img(src= icon || '/static-assets/splash.png') block content