feat: some fixes to the ui, imlemented user and guest user, ans used the dahboard

This commit is contained in:
2026-08-16 16:24:25 +02:00
parent 4639baa9ae
commit 50e9fbd0b0
37 changed files with 1657 additions and 194 deletions
+20 -19
View File
@@ -1,35 +1,36 @@
<script setup lang="ts">
import { create, join } from '@/routes/room';
import { Link } from '@inertiajs/vue3';
import { create, join } from '@/routes/room';
</script>
<template>
<main class="p-6">
<div class="flex flex-col gap-6 justify-start items-center min-h-screen">
<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>
<h1 class="text-4xl font-extrabold mt-10"> Welcome to ScrumPoker</h1>
<div class="h-full mt-[6%] space-y-8 flex justify-center flex-col items-center">
<p class="font-bold"> Create or Join a Room? </p>
<div class=" flex justify-between gap-6 font-extrabold mt-6">
<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="bg-gray-600 rounded-2xl min-w-30 px-4 py-2 text-center"> Join</p>
<p
class="min-w-30 rounded-2xl bg-gray-600 px-4 py-2 text-center"
>
Join
</p>
</Link>
<Link :href="create()">
<p class="bg-gray-600 rounded-2xl min-w-30 px-4 py-2 text-center"> Create</p>
<p
class="min-w-30 rounded-2xl bg-gray-600 px-4 py-2 text-center"
>
Create
</p>
</Link>
</div>
</div>
</div>
</main>
</template>