Skip to content

Commit 1f7e166

Browse files
committed
ArtCreator: Add designer-top-10-alt template
We had this template that was never added to the options in the ArtCreator page. I suspect because the gradient needed to be reworked to use 2 colors instead of 4, but I don't remember if there was another reason
1 parent fb66cbb commit 1f7e166

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed
22.3 KB
Loading

frontend/js/src/explore/art-creator/ArtCreator.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { getBaseUrl } from "../../utils/utils";
2020
export enum TemplateNameEnum {
2121
designerTop5 = "designer-top-5",
2222
designerTop10 = "designer-top-10",
23+
designerTop10Alt = "designer-top-10-alt",
2324
lPsOnTheFloor = "lps-on-the-floor",
2425
gridStats = "grid-stats",
2526
gridStatsSpecial = "grid-stats-special",
@@ -66,6 +67,13 @@ export const TemplateEnum: TemplateEnumType = {
6667
type: "text",
6768
defaultColors: ["#FAFF5B", "#00A2CC", "#FF29A5"],
6869
},
70+
[TemplateNameEnum.designerTop10Alt]: {
71+
name: TemplateNameEnum.designerTop10Alt,
72+
displayName: "Designer top 10 (alt)",
73+
image: "/static/img/explore/stats-art/template-designer-top-10-alt.png",
74+
type: "text",
75+
defaultColors: ["#006D39", "#083B2B", "#111820"],
76+
},
6977
[TemplateNameEnum.lPsOnTheFloor]: {
7078
name: TemplateNameEnum.lPsOnTheFloor,
7179
displayName: "LPs on the floor",

listenbrainz/webserver/templates/art/svg-templates/designer-top-10-alt.svg

Lines changed: 6 additions & 5 deletions
Loading

0 commit comments

Comments
 (0)