27 lines
953 B
Vue
27 lines
953 B
Vue
<script setup lang="ts">
|
|
defineProps<{ title: string }>()
|
|
</script>
|
|
|
|
<!-- Centred card for the login and register forms. -->
|
|
<template>
|
|
<div class="flex min-h-[calc(100dvh-3.5rem)] items-center justify-center px-4 py-10">
|
|
<div class="w-full max-w-sm">
|
|
<div class="mb-6 flex flex-col items-center gap-3 text-center">
|
|
<span class="grid size-14 place-items-center rounded-sm border-2 border-gold-600 bg-blood-700 text-gold-400 shadow-hard">
|
|
<IconBuilding type="headquarters" class="size-8" />
|
|
</span>
|
|
<div>
|
|
<h1 class="font-display text-2xl font-semibold text-wood-900" style="font-variant: small-caps">{{ title }}</h1>
|
|
<p class="mt-1 text-sm text-ink-500">{{ $t('auth.tagline') }}</p>
|
|
</div>
|
|
</div>
|
|
<div class="panel p-6">
|
|
<slot />
|
|
</div>
|
|
<p class="mt-4 text-center text-sm">
|
|
<slot name="footer" />
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</template>
|