- Add data-testid to 18 Vue components (Pages, Blocks, Features, Layouts, Primitives)
- Naming convention: {component-kebab}-{element-description}
- 98 total data-testid attributes added
- Target elements: buttons, links, inputs, modals, navigation
- No logic/styling changes - attributes only
23 lines
636 B
Vue
23 lines
636 B
Vue
<script setup>
|
|
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
|
|
import { Link } from '@inertiajs/vue3';
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0"
|
|
>
|
|
<div>
|
|
<Link data-testid="guest-layout-logo-link" href="/">
|
|
<ApplicationLogo class="h-20 w-20 fill-current text-gray-500" />
|
|
</Link>
|
|
</div>
|
|
|
|
<div
|
|
class="mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</template>
|