-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- artist value에 따라 자동으로 아이콘을 가져오는 함수 생성 - 이세돌 우선 작업 - 나머지 아티스트 후추
- Loading branch information
1 parent
d9cddf9
commit 860e5e3
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import IneIcon from '@/assets/artists/isd/ine.png'; | ||
import JingBurgerIcon from '@/assets/artists/isd/jingburger.png'; | ||
import LilpaIcon from '@/assets/artists/isd/lilpa.png'; | ||
import JururuIcon from '@/assets/artists/isd/jururu.png'; | ||
import GoseguIcon from '@/assets/artists/isd/gosegu.png'; | ||
import ViichanIcon from '@/assets/artists/isd/viichan.png'; | ||
|
||
export function artistsIcon(value: string) { | ||
switch (value) { | ||
case 'ine': | ||
return { icon: IneIcon.src }; | ||
case 'jingburger': | ||
return { icon: JingBurgerIcon.src }; | ||
case 'lilpa': | ||
return { icon: LilpaIcon.src }; | ||
case 'jururu': | ||
return { icon: JururuIcon.src }; | ||
case 'gosegu': | ||
return { icon: GoseguIcon.src }; | ||
case 'viichan': | ||
return { icon: ViichanIcon.src }; | ||
default: | ||
return { icon: '' }; | ||
} | ||
} |