5f88f562d3
* a bunch more tests * updated GQL resolvers * project create checks implemented * project update/settings related checks in FE * a bunch of tests * tests fix * disable app schema check
26 lines
771 B
Vue
26 lines
771 B
Vue
<template>
|
|
<div class="flex justify-center flex-col text-center my-12">
|
|
<h2 class="text-heading mt-2 text-foreground">
|
|
{{ !canCreateProject ? '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="canCreateProject"
|
|
color="outline"
|
|
class="shadow-lg"
|
|
@click="$emit('create-project')"
|
|
>
|
|
New project
|
|
</FormButton>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
defineProps<{ canCreateProject: boolean | undefined }>()
|
|
|
|
defineEmits(['create-project'])
|
|
</script>
|