2023-03-15 22:38:29 +01:00
|
|
|
<script lang="ts">
|
2025-01-24 12:17:04 -05:00
|
|
|
import { Card, CardBody, CardHeader, Heading, immichLogo, Logo, VStack } from '@immich/ui';
|
2024-11-14 08:43:25 -06:00
|
|
|
import type { Snippet } from 'svelte';
|
|
|
|
|
interface Props {
|
|
|
|
|
title: string;
|
|
|
|
|
children?: Snippet;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-14 14:53:33 -05:00
|
|
|
let { title, children }: Props = $props();
|
2023-03-15 22:38:29 +01:00
|
|
|
</script>
|
|
|
|
|
|
2025-01-23 16:23:23 -06:00
|
|
|
<section class="min-w-screen flex min-h-dvh items-center justify-center relative">
|
2025-01-24 12:17:04 -05:00
|
|
|
<div class="absolute -z-10 w-full h-full flex place-items-center place-content-center">
|
|
|
|
|
<img src={immichLogo} class="max-w-screen-md mx-auto h-full mb-2 antialiased -z-10" alt="Immich logo" />
|
|
|
|
|
<div
|
|
|
|
|
class="w-full h-[99%] absolute left-0 top-0 backdrop-blur-[200px] bg-transparent dark:bg-immich-dark-bg/20"
|
|
|
|
|
></div>
|
2025-01-23 16:23:23 -06:00
|
|
|
</div>
|
|
|
|
|
|
2025-01-15 15:09:19 -05:00
|
|
|
<Card color="secondary" class="w-full max-w-lg border m-2">
|
2025-01-14 14:53:33 -05:00
|
|
|
<CardHeader class="mt-6">
|
|
|
|
|
<VStack>
|
|
|
|
|
<Logo variant="icon" size="giant" />
|
|
|
|
|
<Heading size="large" class="font-semibold" color="primary">{title}</Heading>
|
|
|
|
|
</VStack>
|
|
|
|
|
</CardHeader>
|
2025-01-23 09:45:07 -06:00
|
|
|
|
2025-01-23 16:38:34 -05:00
|
|
|
<CardBody class="p-8">
|
|
|
|
|
{@render children?.()}
|
|
|
|
|
</CardBody>
|
2025-01-14 14:53:33 -05:00
|
|
|
</Card>
|
2023-03-15 22:38:29 +01:00
|
|
|
</section>
|