1
0

feat: compress media files (#818)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/818
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen
2021-10-03 18:48:02 +00:00
committed by konrad
parent 3f9917dfab
commit b59b5def57
71 changed files with 330 additions and 28 deletions

View File

@ -35,4 +35,14 @@ export const getMigratorFromSlug = (slug: string): Migrator => {
default:
throw Error('Unknown migrator slug ' + slug)
}
}
// NOTE: we list the imports individually for better build time optimisation
export const SERVICE_ICONS = {
'vikunja-file': () => import('@/assets/migration/vikunja-file.png'),
'microsoft-todo': () => import('@/assets/migration/microsoft-todo.svg'),
'todoist': () => import('@/assets/migration/todoist.svg'),
'trello': () => import('@/assets/migration/trello.svg'),
'wunderlist': () => import('@/assets/migration/wunderlist.jpg'),
}

View File

@ -6,6 +6,6 @@ export const playPop = () => {
return
}
const popSound = new Audio('/audio/pop.wav')
const popSound = new Audio('/audio/pop.mp3')
popSound.play()
}