High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
<script lang="ts">
import PurchaseActivationSuccess from '#lib/components/shared-components/purchasing/PurchaseActivationSuccess.svelte';
import PurchaseContent from '#lib/components/shared-components/purchasing/PurchaseContent.svelte';
import { Modal, ModalBody } from '@immich/ui';
interface Props {
onClose: () => void;
}
let { onClose }: Props = $props();
let showProductActivated = $state(false);
</script>
<Modal title=" " {onClose} size="large">
<ModalBody>
{#if showProductActivated}
<PurchaseActivationSuccess onDone={onClose} />
{:else}
<PurchaseContent
onActivate={() => {
showProductActivated = true;
}}
showMessage={false}
/>
{/if}
</ModalBody>
</Modal>