Polarcraft/web/components/team/None.vue

32 lines
989 B
Vue
Raw Normal View History

2023-04-30 15:28:10 +02:00
<template>
2023-05-06 13:14:01 +02:00
<p class="my-10 text-center text-gray-300">
2023-04-30 15:28:10 +02:00
Je zit momenteel niet in een team. Maak een team aan of wacht tot dat je geinvite wordt
</p>
2023-05-06 13:14:01 +02:00
<div class="mb-5 flex w-full justify-center gap-10">
2023-05-06 13:09:46 +02:00
<span
2023-05-06 13:14:01 +02:00
class="font-bold text-primary hover:cursor-pointer" :class="{ 'underline underline-offset-4': !createTeam }"
2023-05-06 13:09:46 +02:00
@click="createTeam = false"
>
Team Invites
</span>
2023-05-06 13:14:01 +02:00
<span
class="font-bold text-primary hover:cursor-pointer" :class="{ 'underline underline-offset-4': createTeam }"
2023-05-06 13:09:46 +02:00
@click="createTeam = true"
>
Create Team
</span>
2023-04-30 15:28:10 +02:00
</div>
<div v-if="!createTeam" class="text-center text-gray-300">
You don't have any team invites
</div>
2023-05-06 13:14:01 +02:00
<div v-else class="flex w-full flex-col items-center gap-5">
2023-04-30 15:28:10 +02:00
<Input class="w-full max-w-sm">Naam / Prefix</Input>
<Colorpicker class="w-full max-w-sm" />
2023-05-06 13:09:46 +02:00
<Button>Create Team</Button>
2023-04-30 15:28:10 +02:00
</div>
</template>
<script setup>
const createTeam = ref(false)
</script>