mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
* Added album page * Refactor sidebar * Added album assets count info * Added album viewer page * Refactor album sorting * Fixed incorrectly showing selected asset in album selection * Improve fetching speed with prefetch * Refactor to use ImmichThubmnail component for all * Update to the latest version of Svelte * Implement fixed app bar in album viewer * Added shared user avatar * Correctly get all owned albums, including shared
21 lines
565 B
Svelte
21 lines
565 B
Svelte
<script lang="ts">
|
|
import { goto } from '$app/navigation';
|
|
import { fade } from 'svelte/transition';
|
|
|
|
import LoginForm from '$lib/components/forms/login-form.svelte';
|
|
|
|
const onLoginSuccess = async () => {
|
|
goto('/photos');
|
|
};
|
|
</script>
|
|
|
|
<svelte:head>
|
|
<title>Login - Immich</title>
|
|
</svelte:head>
|
|
|
|
<section class="h-screen w-screen flex place-items-center place-content-center">
|
|
<div in:fade={{ duration: 100 }} out:fade={{ duration: 100 }}>
|
|
<LoginForm on:success={onLoginSuccess} on:first-login={() => goto('/auth/change-password')} />
|
|
</div>
|
|
</section>
|