2024-07-18 10:56:27 -05:00
|
|
|
<script lang="ts">
|
|
|
|
|
import Button from '$lib/components/elements/buttons/button.svelte';
|
|
|
|
|
import Icon from '$lib/components/elements/icon.svelte';
|
2024-07-26 10:34:35 -05:00
|
|
|
import { ImmichProduct } from '$lib/constants';
|
|
|
|
|
import { getLicenseLink as getProductLink } from '$lib/utils/license-utils';
|
|
|
|
|
import { mdiAccount, mdiCheckCircleOutline } from '@mdi/js';
|
2024-07-18 10:56:27 -05:00
|
|
|
import { t } from 'svelte-i18n';
|
|
|
|
|
</script>
|
|
|
|
|
|
2025-03-01 17:51:50 -05:00
|
|
|
<!-- Individual Purchase Option -->
|
2025-04-01 22:12:04 -04:00
|
|
|
<div
|
|
|
|
|
class="border border-gray-300 dark:border-gray-800 w-[min(375px,100%)] p-8 rounded-3xl bg-gray-100 dark:bg-gray-900"
|
|
|
|
|
>
|
2024-07-18 10:56:27 -05:00
|
|
|
<div class="text-immich-primary dark:text-immich-dark-primary">
|
2024-07-26 10:34:35 -05:00
|
|
|
<Icon path={mdiAccount} size="56" />
|
|
|
|
|
<p class="font-semibold text-lg mt-1">{$t('purchase_individual_title')}</p>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mt-4 dark:text-immich-gray">
|
2024-07-26 10:34:35 -05:00
|
|
|
<p class="text-6xl font-bold">$25</p>
|
|
|
|
|
<p>{$t('purchase_per_user')}</p>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="flex flex-col justify-between h-[200px] dark:text-immich-gray">
|
|
|
|
|
<div class="mt-6 flex flex-col gap-1">
|
|
|
|
|
<div class="grid grid-cols-[36px_auto]">
|
|
|
|
|
<Icon path={mdiCheckCircleOutline} size="24" class="text-green-500 self-center" />
|
2024-07-26 10:34:35 -05:00
|
|
|
<p class="self-center">{$t('purchase_individual_description_1')}</p>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-[36px_auto]">
|
|
|
|
|
<Icon path={mdiCheckCircleOutline} size="24" class="text-green-500 self-center" />
|
2024-07-26 10:34:35 -05:00
|
|
|
<p class="self-center">{$t('purchase_lifetime_description')}</p>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="grid grid-cols-[36px_auto]">
|
|
|
|
|
<Icon path={mdiCheckCircleOutline} size="24" class="text-green-500 self-center" />
|
2024-07-26 10:34:35 -05:00
|
|
|
<p class="self-center">{$t('purchase_individual_description_2')}</p>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-07-29 16:36:10 +02:00
|
|
|
<Button href={getProductLink(ImmichProduct.Client)} fullwidth>{$t('purchase_button_select')}</Button>
|
2024-07-18 10:56:27 -05:00
|
|
|
</div>
|
|
|
|
|
</div>
|