23 lines
684 B
Vue
23 lines
684 B
Vue
<template>
|
|
<div class="flex justify-center flex-col text-center my-12">
|
|
<h2 class="text-heading mt-2 text-foreground">
|
|
{{ isGuest ? 'No projects found' : 'Create your first project' }}
|
|
</h2>
|
|
<h4 class="text-body-xs mb-4 mt-2 max-w-xs mx-auto text-foreground-2">
|
|
Projects are the place where your models and their versions live.
|
|
</h4>
|
|
<div class="flex flex-col items-center gap-2">
|
|
<FormButton v-if="!isGuest" class="shadow-lg" @click="$emit('create-project')">
|
|
Create a project
|
|
</FormButton>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
defineProps<{
|
|
isGuest: boolean
|
|
}>()
|
|
|
|
defineEmits(['create-project'])
|
|
</script>
|