37 lines
912 B
Vue
37 lines
912 B
Vue
<script setup>
|
|
import { Head, router } from '@inertiajs/vue3'
|
|
import AppLayout from '@/Layouts/AppLayout.vue'
|
|
import AppButton from '@/Components/AppButton.vue'
|
|
|
|
defineOptions({ layout: AppLayout })
|
|
|
|
const props = defineProps({
|
|
screening: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
})
|
|
|
|
const handleSubmit = () => {
|
|
router.put(`/screening/${props.screening.id}`)
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<Head title="Pre-Screening Questions" />
|
|
|
|
<div class="max-w-4xl mx-auto px-4 py-8">
|
|
<h1 class="text-3xl font-bold text-white mb-6">Pre-Screening Questions</h1>
|
|
|
|
<div class="bg-surface/50 rounded-lg p-6 mb-8">
|
|
<p class="text-gray-400 text-center">10 Yes/No questions will appear here</p>
|
|
</div>
|
|
|
|
<div class="flex justify-end">
|
|
<AppButton size="lg" @click="handleSubmit">
|
|
Submit
|
|
</AppButton>
|
|
</div>
|
|
</div>
|
|
</template>
|