mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix: onboarding styling (#18417)
This commit is contained in:
parent
a6c4bd1555
commit
b2ef8ea7dd
@ -1,17 +1,17 @@
|
||||
<script lang="ts">
|
||||
import AuthPageLayout from '$lib/components/layouts/AuthPageLayout.svelte';
|
||||
import { AppRoute } from '$lib/constants';
|
||||
import { Heading, Button, Logo } from '@immich/ui';
|
||||
import { Button, Heading } from '@immich/ui';
|
||||
import { t } from 'svelte-i18n';
|
||||
</script>
|
||||
|
||||
<section class="flex h-dvh w-dvw place-content-center place-items-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">
|
||||
<Logo variant="icon" class="text-center" size="landing" />
|
||||
</div>
|
||||
<Heading size="giant" color="primary" tag="h1">{$t('welcome_to_immich')}</Heading>
|
||||
<Button href={AppRoute.AUTH_REGISTER} size="giant" shape="round">
|
||||
<span class="px-2 font-bold">{$t('getting_started')}</span>
|
||||
<AuthPageLayout>
|
||||
<div class="flex flex-col place-items-center text-center gap-12">
|
||||
<Heading size="large" color="primary" tag="h1">{$t('welcome_to_immich')}</Heading>
|
||||
<div>
|
||||
<Button href={AppRoute.AUTH_REGISTER} size="medium" shape="round">
|
||||
<span class="px-2 font-semibold">{$t('getting_started')}</span>
|
||||
</Button>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</AuthPageLayout>
|
||||
|
@ -58,13 +58,13 @@
|
||||
|
||||
<section id="onboarding-page" class="min-w-dvw flex min-h-dvh p-4">
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="w-full bg-gray-300 dark:bg-gray-600 rounded-md h-2">
|
||||
<div class=" bg-gray-300 dark:bg-gray-600 rounded-md h-2">
|
||||
<div
|
||||
class="progress-bar bg-immich-primary dark:bg-immich-dark-primary h-2 rounded-md transition-all duration-200 ease-out"
|
||||
style="width: {(index / (onboardingSteps.length - 1)) * 100}%"
|
||||
></div>
|
||||
</div>
|
||||
<div class="w-full min-w-dvw py-8 flex h-full place-content-center place-items-center">
|
||||
<div class="py-8 flex place-content-center place-items-center m-auto">
|
||||
<SvelteComponent onDone={handleDoneClicked} onPrevious={handlePrevious} />
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user