chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2025-01-28 15:42:34 +01:00
parent 6bc8760adf
commit 0ad881316b
359 changed files with 2049 additions and 938 deletions

View file

@ -6,17 +6,13 @@
export let stack: string[]
function offerDefinitionForDownload() {
Utils.offerContentsAsDownloadableFile(
customDefinition,
"mapcomplete-theme.json",
{ mimetype: "application/json" }
)
Utils.offerContentsAsDownloadableFile(customDefinition, "mapcomplete-theme.json", {
mimetype: "application/json",
})
}
</script>
<div class="flex flex-col w-full h-full m-8 justify-center items-center">
<div class="m-8 flex h-full w-full flex-col items-center justify-center">
<h1>Something went wrong</h1>
<div class="alert">{stack[0]}</div>
{#each stack.slice(1) as stck}
@ -24,7 +20,7 @@
{/each}
{#if customDefinition}
<button on:click={() => offerDefinitionForDownload()}>
<ArrowDownTray class="w-16 h-16" />
<ArrowDownTray class="h-16 w-16" />
Download the theme definition file
</button>
{/if}