2024-01-03 23:28:32 -06:00
|
|
|
<script lang="ts">
|
|
|
|
|
import OnboardingCard from './onboarding-card.svelte';
|
|
|
|
|
import Button from '$lib/components/elements/buttons/button.svelte';
|
|
|
|
|
import { mdiArrowRight } from '@mdi/js';
|
|
|
|
|
import Icon from '$lib/components/elements/icon.svelte';
|
2024-08-13 19:01:30 +02:00
|
|
|
import ImmichLogo from '$lib/components/shared-components/immich-logo.svelte';
|
2024-01-03 23:28:32 -06:00
|
|
|
import { user } from '$lib/stores/user.store';
|
2024-06-04 21:53:00 +02:00
|
|
|
import { t } from 'svelte-i18n';
|
2024-01-03 23:28:32 -06:00
|
|
|
|
2024-11-14 08:43:25 -06:00
|
|
|
interface Props {
|
|
|
|
|
onDone: () => void;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let { onDone }: Props = $props();
|
2024-01-03 23:28:32 -06:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<OnboardingCard>
|
2024-03-13 12:14:45 -05:00
|
|
|
<ImmichLogo noText width="75" />
|
2024-01-03 23:28:32 -06:00
|
|
|
<p class="font-medium text-6xl my-6 text-immich-primary dark:text-immich-dark-primary">
|
2024-06-24 15:50:01 +02:00
|
|
|
{$t('onboarding_welcome_user', { values: { user: $user.name } })}
|
2024-01-03 23:28:32 -06:00
|
|
|
</p>
|
2024-06-24 15:50:01 +02:00
|
|
|
<p class="text-3xl pb-6 font-light">{$t('onboarding_welcome_description')}</p>
|
2024-01-03 23:28:32 -06:00
|
|
|
|
|
|
|
|
<div class="w-full flex place-content-end">
|
2024-11-14 08:43:25 -06:00
|
|
|
<Button class="flex gap-2 place-content-center" onclick={() => onDone()}>
|
2024-06-04 21:53:00 +02:00
|
|
|
<p>{$t('theme')}</p>
|
2024-01-03 23:28:32 -06:00
|
|
|
<Icon path={mdiArrowRight} size="18" />
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</OnboardingCard>
|