added functionality for pixiv and deviantart
This commit is contained in:
@@ -235,6 +235,8 @@ function getPlatformIcon(platform) {
|
||||
subscribestar: 'mdi-star',
|
||||
hentaifoundry: 'mdi-palette',
|
||||
discord: 'mdi-discord',
|
||||
pixiv: 'mdi-alpha-p-box',
|
||||
deviantart: 'mdi-deviantart',
|
||||
}
|
||||
return icons[platform] || 'mdi-web'
|
||||
}
|
||||
@@ -245,6 +247,8 @@ function getPlatformColor(platform) {
|
||||
subscribestar: '#FFD700',
|
||||
hentaifoundry: '#9C27B0',
|
||||
discord: '#5865F2',
|
||||
pixiv: '#0096FA',
|
||||
deviantart: '#05CC47',
|
||||
}
|
||||
return colors[platform] || 'grey'
|
||||
}
|
||||
|
||||
@@ -520,6 +520,8 @@ function getPlatformIcon(platform) {
|
||||
subscribestar: 'mdi-star',
|
||||
hentaifoundry: 'mdi-palette',
|
||||
discord: 'mdi-discord',
|
||||
pixiv: 'mdi-alpha-p-box',
|
||||
deviantart: 'mdi-deviantart',
|
||||
}
|
||||
return icons[platform] || 'mdi-web'
|
||||
}
|
||||
|
||||
@@ -539,6 +539,8 @@ function getPlatformIcon(platform) {
|
||||
subscribestar: 'mdi-star',
|
||||
hentaifoundry: 'mdi-palette',
|
||||
discord: 'mdi-discord',
|
||||
pixiv: 'mdi-alpha-p-box',
|
||||
deviantart: 'mdi-deviantart',
|
||||
}
|
||||
return icons[platform] || 'mdi-web'
|
||||
}
|
||||
@@ -549,6 +551,8 @@ function getPlatformColor(platform) {
|
||||
subscribestar: '#FFD700',
|
||||
hentaifoundry: '#9C27B0',
|
||||
discord: '#5865F2',
|
||||
pixiv: '#0096FA',
|
||||
deviantart: '#05CC47',
|
||||
}
|
||||
return colors[platform] || 'grey'
|
||||
}
|
||||
|
||||
@@ -199,6 +199,8 @@ const platformOptions = [
|
||||
{ title: 'SubscribeStar', value: 'subscribestar' },
|
||||
{ title: 'Hentai Foundry', value: 'hentaifoundry' },
|
||||
{ title: 'Discord', value: 'discord' },
|
||||
{ title: 'Pixiv', value: 'pixiv' },
|
||||
{ title: 'DeviantArt', value: 'deviantart' },
|
||||
]
|
||||
|
||||
const urlHint = computed(() => {
|
||||
|
||||
@@ -150,6 +150,8 @@ const platformOptions = [
|
||||
{ title: 'SubscribeStar', value: 'subscribestar' },
|
||||
{ title: 'Hentai Foundry', value: 'hentaifoundry' },
|
||||
{ title: 'Discord', value: 'discord' },
|
||||
{ title: 'Pixiv', value: 'pixiv' },
|
||||
{ title: 'DeviantArt', value: 'deviantart' },
|
||||
]
|
||||
|
||||
const enabledOptions = [
|
||||
@@ -189,6 +191,8 @@ function getPlatformIcon(platform) {
|
||||
subscribestar: 'mdi-star',
|
||||
hentaifoundry: 'mdi-palette',
|
||||
discord: 'mdi-discord',
|
||||
pixiv: 'mdi-alpha-p-box',
|
||||
deviantart: 'mdi-deviantart',
|
||||
}
|
||||
return icons[platform] || 'mdi-web'
|
||||
}
|
||||
@@ -199,6 +203,8 @@ function getPlatformColor(platform) {
|
||||
subscribestar: 'amber',
|
||||
hentaifoundry: 'purple',
|
||||
discord: 'indigo',
|
||||
pixiv: 'blue',
|
||||
deviantart: 'green',
|
||||
}
|
||||
return colors[platform] || 'grey'
|
||||
}
|
||||
|
||||
@@ -381,6 +381,8 @@ const platformOptions = [
|
||||
{ title: 'SubscribeStar', value: 'subscribestar' },
|
||||
{ title: 'Hentai Foundry', value: 'hentaifoundry' },
|
||||
{ title: 'Discord', value: 'discord' },
|
||||
{ title: 'Pixiv', value: 'pixiv' },
|
||||
{ title: 'DeviantArt', value: 'deviantart' },
|
||||
]
|
||||
|
||||
const headers = [
|
||||
@@ -423,6 +425,8 @@ function getPlatformIcon(platform) {
|
||||
subscribestar: 'mdi-star',
|
||||
hentaifoundry: 'mdi-palette',
|
||||
discord: 'mdi-discord',
|
||||
pixiv: 'mdi-alpha-p-box',
|
||||
deviantart: 'mdi-deviantart',
|
||||
}
|
||||
return icons[platform] || 'mdi-web'
|
||||
}
|
||||
@@ -433,6 +437,8 @@ function getPlatformColor(platform) {
|
||||
subscribestar: 'amber',
|
||||
hentaifoundry: 'purple',
|
||||
discord: 'indigo',
|
||||
pixiv: 'blue',
|
||||
deviantart: 'green',
|
||||
}
|
||||
return colors[platform] || 'grey'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user