Line data Source code
1 16 : <template>
2 2 : <div
3 : data-testid="publish-profile-prompt"
4 : class="flex min-h-0 flex-1 flex-col gap-4 px-6 py-4"
5 : >
6 : <p class="text-sm text-foreground">
7 : {{ $t('comfyHubPublish.createProfileToPublish') }}
8 : </p>
9 :
10 : <Button
11 : variant="textonly"
12 : size="unset"
13 : class="flex w-64 gap-4 rounded-2xl border border-dashed px-6 py-4"
14 : @click="emit('requestProfile')"
15 : >
16 : <div
17 : class="flex size-12 items-center justify-center rounded-full border border-dashed"
18 : >
19 : <i class="icon-[lucide--user] text-muted-foreground" />
20 : </div>
21 : <span class="inline-flex items-center gap-1 text-sm text-foreground">
22 : <i class="icon-[lucide--plus]" />
23 : {{ $t('comfyHubPublish.createProfileCta') }}
24 : </span>
25 : </Button>
26 : </div>
27 : </template>
28 :
29 : <script setup lang="ts">
30 : import Button from '@comfyorg/design-system/button/Button'
31 :
32 2 : const emit = defineEmits<{
33 : requestProfile: []
34 : }>()
35 : </script>
|