Files
real-estate-app/resources/js/layouts/AuthLayout.vue
Kurtis Holsapple ee37c6de85
Some checks failed
linter / quality (push) Failing after 3m48s
tests / ci (push) Failing after 4m13s
initial commit
2025-07-12 15:01:28 -07:00

41 lines
1010 B
Vue

<template>
<div class="container pt-5">
<div class="row">
<div class="col">
<div class="auth-box">
<div class="d-flex flex-col items-center gap-4">
<Link :href="route('home')" class="flex flex-col items-center gap-2 font-medium">
<span class="visually-hidden">{{ title }}</span>
</Link>
<div class="space-y-2 text-center">
<h1 class="text-xl font-medium">{{ title }}</h1>
<p class="text-center text-sm text-muted-foreground">{{ description }}</p>
</div>
</div>
<slot />
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
defineProps<{
title?: string;
description?: string;
}>();
</script>
<style lang="scss" scoped>
.auth-box {
width: 100%;
max-width: 500px;
margin: 0 auto;
}
</style>