This commit is contained in:
2023-10-15 18:24:43 +02:00
parent 78f3961b11
commit 5bee1b6382
5 changed files with 94 additions and 43 deletions

View File

@@ -1,39 +1,10 @@
<script>
import { page } from '$app/stores';
import { tagList } from '$lib/stores.js';
export let original;
let tagList = [];
let tagMap = new Map();
tagList = [
'acoustic',
'electronic',
'orchestral',
'rock',
'pop',
'metal',
'aggressive',
'folk',
'jazzy',
'dance.music',
'untz',
'breakbeats',
'electronica',
'chiptune',
'left.field',
'denpa',
'vocaloid',
'funky',
'lush',
'noisy',
'psychedelic',
'dark',
'calm',
'moody',
'uplifting'
];
// Create a mapping of tags and their checked status
let reloadTags = (original) => {
tagList.forEach((tag) => {