style: use Pretendard for default
style: apply some assets
This commit is contained in:
parent
a2f0dc46ce
commit
c34f13c24b
17 changed files with 45 additions and 35 deletions
|
@ -11,8 +11,8 @@ export const defaultTemplate = '昨日のMisskeyの活動は\n\nノート: {note
|
|||
export const currentTokenVersion = 2;
|
||||
|
||||
export const misskeyAppInfo = {
|
||||
name: 'Misskey Tools on phater.live',
|
||||
description: 'Misskey Tools의 포크를 통한 유지 버전',
|
||||
name: 'Misskey Tools with LycheeBridge',
|
||||
description: 'LycheeBridge에서 관리하는 Misskey Tools의 포크 버전',
|
||||
permission: [
|
||||
'read:account',
|
||||
'write:account',
|
||||
|
|
|
@ -14,7 +14,7 @@ export default (): void => {
|
|||
const app = new Koa();
|
||||
|
||||
console.log(`** Misskey Tools ${meta.version} **`);
|
||||
console.log('(C) Shrimpia Network');
|
||||
console.log('(C) Shrimpia Network, Powered by LycheeBridge');
|
||||
|
||||
app.use(render);
|
||||
app.use(bodyParser());
|
||||
|
|
|
@ -51,8 +51,8 @@ export const sendNoteAlert = async (text: string, user: User) => {
|
|||
*/
|
||||
export const sendNotificationAlert = async (text: string, user: User) => {
|
||||
const res = await api(user.host, 'notifications/create', {
|
||||
header: 'Misskey Tools on phater.live',
|
||||
icon: 'https://on.phater.live/logo.png',
|
||||
header: 'Misskey Tools with LycheeBridge',
|
||||
icon: 'https://in.gozou.moe/lcb.png',
|
||||
body: text,
|
||||
}, user.token);
|
||||
|
||||
|
|
|
@ -41,9 +41,9 @@ export const work = async () => {
|
|||
printLog(`${users.length}개의 계정 레이팅 계산 완료, 알림을 전송하고 있습니다.`);
|
||||
await sendAllAlerts(groupedUsers);
|
||||
|
||||
printLog('Misskey Tools on phater.live 알림 전송이 완료되었습니다.');
|
||||
printLog('Misskey Tools with LycheeBridge 알림 전송이 완료되었습니다.');
|
||||
} catch (e) {
|
||||
printLog('Misskey Tools on phater.live 알림 전송에 실패했습니다.', 'error');
|
||||
printLog('Misskey Tools with LycheeBridge 알림 전송에 실패했습니다.', 'error');
|
||||
printLog(e instanceof Error ? errorToString(e) : JSON.stringify(e, null, ' '), 'error');
|
||||
} finally {
|
||||
Store.dispatch({ nowCalculating: false });
|
||||
|
|
|
@ -5,20 +5,21 @@ html
|
|||
meta(name="viewport", content="width=device-width, initial-scale=1.0")
|
||||
block meta
|
||||
- const title = t ? `${t} | Misskey Tools`: 'Misskey Tools';
|
||||
- const desc = d || '✨Misskey での1日のノート数、フォロー数、フォロワー数をカウントし、深夜0時にお知らせする便利サービスです。';
|
||||
- const desc = d || '🌠 연합우주의 모든 Misskey 사용자를 위한 다양한 도구 모음집 🚀';
|
||||
title= title
|
||||
meta(name='description' content=desc)
|
||||
meta(property='og:title' content=title)
|
||||
meta(property='og:site_name' content='Misskey Tools on LycheeBridge')
|
||||
meta(property='og:description' content=desc)
|
||||
meta(property='og:type' content='website')
|
||||
link(rel="preload" href="https://koruri.chillout.chat/koruri.css")
|
||||
meta(property='og:image' content='assets/misskey.png')
|
||||
link(rel="icon", href="/assets/lcb.png", type="image/png")
|
||||
link(rel="preload", href="/assets/otadesign_rounded.woff")
|
||||
link(rel="preload", href="/assets/otadesign_rounded.woff2")
|
||||
link(rel="stylesheet" href="https://koruri.chillout.chat/koruri.css")
|
||||
script(src='https://kit.fontawesome.com/c7ab6eba70.js' crossorigin='anonymous')
|
||||
link(rel="preload", href="/assets/PretendardJPVariable.woff2")
|
||||
link(rel="stylesheet", href="/assets/style.css")
|
||||
body
|
||||
#app: .loading Loading...
|
||||
#app: .loading 불러오는 중입니다...
|
||||
|
||||
if token
|
||||
script.
|
||||
|
|
|
@ -3,11 +3,11 @@ html
|
|||
head
|
||||
meta(charset="UTF-8")
|
||||
body
|
||||
p 問題を修正するため、端末に残ったデータを削除しました。
|
||||
p 5秒後にトップページに移動します。
|
||||
p 클라이언트에 문제가 발생했습니다. 해결을 위해 브라우저에 있는 데이터를 제거했습니다.
|
||||
p 3초 뒤에 메인 페이지로 자동으로 돌아갑니다...
|
||||
hr
|
||||
p To solve the problem, deleted data remaining on the device.
|
||||
p After 5 seconds, you will be redirected to the top page.
|
||||
p There's a problem in client and deleted data on device to solve it.
|
||||
p You will be redirected to the top in 3 seconds.
|
||||
script.
|
||||
localStorage.clear();
|
||||
setTimeout(() => location.href = '/', 5000);
|
||||
setTimeout(() => location.href = '/', 3000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue