Skip to content

Commit 8f6f69d

Browse files
authored
Merge pull request #349 from traPtitech/feat/add_mixi2
accountTypeにmixi2を追加
2 parents 75bb9d0 + 996f125 commit 8f6f69d

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/assets/Mixi2.png

16.6 KB
Loading

src/consts/services.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { AccountType } from '/@/lib/apis'
22
import AtCoder from '/@/assets/AtCoder.png'
3+
import Mixi2 from '/@/assets/Mixi2.png'
34

45
export interface Service {
56
name: string
@@ -104,6 +105,14 @@ export const services: ServiceRecord = new Map([
104105
name: 'Bluesky',
105106
icon: 'simple-icons:bluesky'
106107
}
108+
],
109+
[
110+
AccountType.mixi2,
111+
{
112+
name: 'Mixi2',
113+
icon: Mixi2,
114+
notIcon: true
115+
}
107116
]
108117
])
109118

src/mocks/users.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ const sampleAccounts: Account[] = [
8585
displayName: '',
8686
type: AccountType.bluesky,
8787
url: 'https://sample.com'
88+
},
89+
{
90+
id: '',
91+
displayName: '',
92+
type: AccountType.mixi2,
93+
url: 'https://sample.com'
8894
}
8995
]
9096

0 commit comments

Comments
 (0)