Merge develop

This commit is contained in:
Pieter Vander Vennet 2024-05-23 11:38:29 +02:00
commit d9a64dc3a8
157 changed files with 3657 additions and 1552 deletions

View file

@ -50,13 +50,13 @@
<div>
{#each parts as part, i}
{#if part.subs}
{#if part["subs"]}
<!-- This is a field! -->
<span class="mx-1">
<ValidatedInput value={fieldValues[part.subs]} type={fieldTypes[part.subs]} />
<ValidatedInput value={fieldValues[part["subs"]]} type={fieldTypes[part["subs"]]} />
</span>
{:else}
{part.message}
{@html part["message"]}
{/if}
{/each}
</div>

View file

@ -85,7 +85,7 @@
</script>
{#if theme.id !== personal.id || $unlockedPersonal}
<a class={"button w-full text-ellipsis"} href={$href}>
<a class={"button theme-button w-full text-ellipsis"} href={$href}>
<img src={theme.icon} class="m-1 mr-2 block h-11 w-11 sm:m-2 sm:mr-4" alt="" />
<span class="flex flex-col overflow-hidden text-ellipsis">
<Tr t={title} />

View file

@ -24,7 +24,7 @@
<section class="w-full">
<slot name="title" />
<div class="gap-4 md:grid md:grid-flow-row md:grid-cols-2 lg:grid-cols-3">
<div class="theme-list my-2 gap-4 md:grid md:grid-flow-row md:grid-cols-2 lg:grid-cols-3">
{#each filteredThemes as theme (theme.id)}
{#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)}
<!-- TODO: doesn't work if first theme is hidden -->