feat(web): immich-ui components (#14263)
* feat: add immich-ui to auth pages * fix: welcome icon * styling * fix: mobile padding --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
<script lang="ts">
|
||||
import Button from '$lib/components/elements/buttons/button.svelte';
|
||||
import ImmichLogo from '$lib/components/shared-components/immich-logo.svelte';
|
||||
import { AppRoute } from '$lib/constants';
|
||||
import { Heading, Button, Logo } from '@immich/ui';
|
||||
import { t } from 'svelte-i18n';
|
||||
</script>
|
||||
|
||||
<section class="flex h-screen w-screen place-content-center place-items-center">
|
||||
<div class="flex max-w-[350px] flex-col place-items-center gap-8 text-center">
|
||||
<div class="flex max-w-[350px] flex-col place-items-center gap-10 text-center">
|
||||
<div class="flex place-content-center place-items-center">
|
||||
<ImmichLogo noText class="text-center" height="200" width="200" />
|
||||
<Logo variant="icon" class="text-center" size="landing" />
|
||||
</div>
|
||||
<h1 class="text-4xl font-bold text-immich-primary dark:text-immich-dark-primary">{$t('welcome_to_immich')}</h1>
|
||||
<Button href={AppRoute.AUTH_REGISTER} size="lg" rounded="lg">
|
||||
<Heading size="giant" color="primary">{$t('welcome_to_immich')}</Heading>
|
||||
<Button href={AppRoute.AUTH_REGISTER} size="giant" shape="round">
|
||||
<span class="px-2 font-bold">{$t('getting_started')}</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user