refactor: side bar modals (#18134)

This commit is contained in:
Daniel Dietzler 2025-05-07 16:01:51 +02:00 committed by GitHub
parent 867f6e64f9
commit bbd8de177b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 41 additions and 47 deletions

View file

@ -1,11 +1,11 @@
<script lang="ts">
import Button from '$lib/components/elements/buttons/button.svelte';
import Icon from '$lib/components/elements/icon.svelte';
import { t } from 'svelte-i18n';
import { mdiPartyPopper } from '@mdi/js';
import SettingSwitch from '$lib/components/shared-components/settings/setting-switch.svelte';
import { preferences } from '$lib/stores/user.store';
import { setSupportBadgeVisibility } from '$lib/utils/purchase-utils';
import { mdiPartyPopper } from '@mdi/js';
import { t } from 'svelte-i18n';
interface Props {
onDone: () => void;
@ -14,7 +14,7 @@
let { onDone }: Props = $props();
</script>
<div class="m-auto w-3/4 text-center flex flex-col place-content-center place-items-center dark:text-white my-6">
<div class="m-auto w-3/4 text-center flex flex-col place-content-center place-items-center my-6">
<Icon path={mdiPartyPopper} class="text-immich-primary dark:text-immich-dark-primary" size="96" />
<p class="text-4xl mt-8 font-bold">{$t('purchase_activated_title')}</p>
<p class="text-lg mt-6">{$t('purchase_activated_subtitle')}</p>