<script setup>
import Layout from "@/layout/Layout.vue";
import { Head, Link } from "@inertiajs/vue3";

defineProps({ thread_id: Number, counter: Number });
</script>

<template>
  <Layout>
    <h1>Home</h1>
    <Head title="Welcome" />
    <h1 class="">Welcome</h1>
    <p>The thread id is '{{ thread_id }}'.</p>
    <p>The counter is at '{{ counter }}'.</p>
    <Link href="/test" class="p-button mt-4">To Test</Link>
  </Layout>
</template>
