feat: switch language from profile
This commit is contained in:
@@ -30,9 +30,17 @@
|
||||
</CodeEditor>
|
||||
</div>
|
||||
|
||||
<div v-else-if="field.type == 'Upload'" class="space-y-2">
|
||||
<div class="text-sm text-ink-gray-5 mb-1">
|
||||
{{ __(field.label) }}
|
||||
<div
|
||||
v-else-if="field.type == 'Upload'"
|
||||
class="grid grid-cols-2 gap-10"
|
||||
>
|
||||
<div class="space-y-2">
|
||||
<div class="text-sm text-ink-gray-8 font-medium mb-1">
|
||||
{{ __(field.label) }}
|
||||
</div>
|
||||
<div class="text-sm text-ink-gray-5 leading-5">
|
||||
{{ __(field.description) }}
|
||||
</div>
|
||||
</div>
|
||||
<FileUploader
|
||||
v-if="!data[field.name]"
|
||||
|
||||
@@ -267,11 +267,15 @@ const tabsStructure = computed(() => {
|
||||
label: 'Logo',
|
||||
name: 'banner_image',
|
||||
type: 'Upload',
|
||||
description:
|
||||
'Appears in the top left corner of the application to represent your brand.',
|
||||
},
|
||||
{
|
||||
label: 'Favicon',
|
||||
name: 'favicon',
|
||||
type: 'Upload',
|
||||
description:
|
||||
'Appears in the browser tab next to the page title, bookmarks, and shortcuts to help users quickly identify the application.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user