chore: Remove extra tiny Comfy UI label

This commit is contained in:
DrJKL
2026-04-15 15:30:26 -07:00
parent 15fec60f49
commit b8c80cbd14
3 changed files with 3 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ type Product = 'local' | 'cloud' | 'api' | 'enterprise'
const {
locale = 'en',
excludeProduct,
labelKey = 'products.label'
labelKey = ''
} = defineProps<{
locale?: Locale
excludeProduct?: Product
@@ -47,6 +47,7 @@ const cards = excludeProduct
<!-- Header -->
<div class="flex flex-col items-center text-center">
<p
v-if="labelKey"
class="text-primary-comfy-yellow text-xs font-bold tracking-widest uppercase"
>
{{ t(labelKey, locale) }}

View File

@@ -7,9 +7,5 @@ const { locale = 'en' } = defineProps<{ locale?: Locale }>()
</script>
<template>
<ProductCardsSection
:locale="locale"
exclude-product="cloud"
label-key="products.labelProducts"
/>
<ProductCardsSection :locale="locale" exclude-product="cloud" />
</template>

View File

@@ -130,10 +130,6 @@ const translations = {
},
// ProductCardsSection
'products.label': {
en: 'Comfy UI',
'zh-CN': 'Comfy UI'
},
'products.labelProducts': {
en: 'Products',
'zh-CN': '产品'