ledgerrz/resources/js/layouts/auth/AuthSimpleLayout.vue
Daan Meijer 4e9e6dce2a
Some checks failed
linter / quality (push) Failing after 1m1s
tests / ci (8.3) (push) Failing after 49s
tests / ci (8.4) (push) Failing after 1m4s
tests / ci (8.5) (push) Failing after 1m4s
front-end restructuring, chat shows message ownership
2026-06-16 14:13:08 +02:00

35 lines
1.1 KiB
Vue

<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
import AppLogoIcon from '@/components/AppLogoIcon.vue';
import { home } from '@/routes';
defineProps<{
title?: string;
description?: string;
}>();
</script>
<template>
<div class="auth-layout">
<div class="auth-layout__container">
<div class="auth-layout__inner">
<div class="auth-layout__header">
<Link :href="home()" class="auth-layout__logo-link">
<div class="auth-layout__logo-box">
<AppLogoIcon class="auth-layout__logo" />
</div>
<span class="sr-only">{{ title }}</span>
</Link>
<div class="auth-layout__title-box">
<h1 class="auth-layout__title">{{ title }}</h1>
<p class="auth-layout__description">
{{ description }}
</p>
</div>
</div>
<slot />
</div>
</div>
</div>
</template>