mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-13 19:12:10 +00:00
37 lines
1.2 KiB
Vue
37 lines
1.2 KiB
Vue
<script setup lang="ts">
|
|
import { Link } from '@inertiajs/vue3';
|
|
import { create, join } from '@/routes/room';
|
|
</script>
|
|
|
|
<template>
|
|
<main class="p-6">
|
|
<div
|
|
class="flex min-h-screen flex-col items-center justify-start gap-6"
|
|
>
|
|
<h1 class="mt-10 text-4xl font-extrabold">Welcome to ScrumPoker</h1>
|
|
|
|
<div
|
|
class="mt-[6%] flex h-full flex-col items-center justify-center space-y-8"
|
|
>
|
|
<p class="font-bold">Create or Join a Room?</p>
|
|
<div class="mt-6 flex justify-between gap-6 font-extrabold">
|
|
<Link :href="join()">
|
|
<p
|
|
class="min-w-30 rounded-2xl bg-gray-600 px-4 py-2 text-center"
|
|
>
|
|
Join
|
|
</p>
|
|
</Link>
|
|
<Link :href="create()">
|
|
<p
|
|
class="min-w-30 rounded-2xl bg-gray-600 px-4 py-2 text-center"
|
|
>
|
|
Create
|
|
</p>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</template>
|