diff --git a/src/assets/mixi2.png b/src/assets/mixi2.png new file mode 100644 index 00000000..73579667 Binary files /dev/null and b/src/assets/mixi2.png differ diff --git a/src/consts/services.ts b/src/consts/services.ts index 9a1a5e17..1a428547 100644 --- a/src/consts/services.ts +++ b/src/consts/services.ts @@ -1,6 +1,7 @@ import { deepFreeze } from '/@/lib/deepFreeze' import { AccountType } from '/@/lib/apis' import AtCoder from '/@/assets/AtCoder.png' +import mixi2 from '/@/assets/mixi2.png' export interface Service { icon: string @@ -25,7 +26,9 @@ export const serviceTypeToNameMap = Object.freeze({ [AccountType.atcoder]: 'AtCoder', [AccountType.soundcloud]: 'SoundCloud', [AccountType.hackthebox]: 'HackTheBox', - [AccountType.ctftime]: 'CTFtime' + [AccountType.ctftime]: 'CTFtime', + [AccountType.bluesky]: 'Bluesky', + [AccountType.mixi2]: 'mixi2' }) satisfies Record type ServiceTypeToName = typeof serviceTypeToNameMap @@ -83,6 +86,15 @@ export const services = deepFreeze({ CTFtime: { icon: 'ctftime', //アイコンは保留 type: AccountType.ctftime + }, + Bluesky: { + icon: 'simple-icons:bluesky', + type: AccountType.bluesky + }, + mixi2: { + icon: mixi2, + type: AccountType.mixi2, + notIcon: true } }) satisfies ServiceRecord @@ -107,7 +119,9 @@ export const hasAtmarkService = (type: AccountType) => { AccountType.facebook, AccountType.pixiv, AccountType.qiita, - AccountType.github + AccountType.github, + AccountType.bluesky, + AccountType.mixi2 ] return array.includes(type) }