trypost/resources/js/layouts/auth/AuthSimpleLayout.vue
Paulo Castellano 6964cc8e6e fix: update frontend route/action imports for new subdomain structure
Update all Vue components and TypeScript files to import from the new
Wayfinder-generated paths under @/routes/app/ and @/actions/App/Http/Controllers/App/.
2026-03-29 19:43:15 -03:00

33 lines
No EOL
1.2 KiB
Vue

<script setup lang="ts">
import { Link } from '@inertiajs/vue3';
import { home } from '@/routes/app';
defineProps<{
title?: string;
description?: string;
}>();
</script>
<template>
<div class="flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10">
<div class="w-full max-w-sm">
<div class="flex flex-col gap-8">
<div class="flex flex-col items-center gap-4">
<Link :href="home()" class="flex flex-col items-center gap-2 font-medium">
<img src="/images/trypost/logo-light.png" alt="TryPost" class="dark:hidden h-8 w-auto" />
<img src="/images/trypost/logo-dark.png" alt="TryPost" class="hidden dark:block h-8 w-auto" />
<span class="sr-only">{{ 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>
</template>