-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.schema.ts
72 lines (71 loc) · 1.8 KB
/
nuxt.schema.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import { field, group } from '@nuxthq/studio/theme'
export default defineNuxtSchema({
appConfig: {
links: group({
title: 'Links',
description: 'Links configuration',
icon: 'i-mdi-link',
fields: {
header: field({
type: 'array',
title: 'Header links',
description: 'Links in the header',
icon: 'i-mdi-page-layout-header',
items: [
{
type: 'Link',
},
],
}),
footer: field({
type: 'array',
title: 'Footer links',
description: 'Links in the footer',
icon: 'i-mdi-page-layout-footer',
items: [
{
type: 'Link',
},
],
}),
},
}),
newsletter: group({
title: 'Newsletter',
description: 'Newsletter configuration',
icon: 'i-mdi-email',
fields: {
visible: field({
type: 'boolean',
title: 'Visible',
description: 'Newsletter visible',
icon: 'i-mdi-eye',
}),
label: field({
type: 'string',
title: 'Label',
description: 'Newsletter label',
icon: 'i-mdi-text-short',
}),
description: field({
type: 'string',
title: 'Description',
description: 'Newsletter description',
icon: 'i-mdi-text',
}),
placeholder: field({
type: 'string',
title: 'Placeholder',
description: 'Newsletter placeholder',
icon: 'i-mdi-comment-text',
}),
buttonText: field({
type: 'string',
title: 'Button text',
description: 'Newsletter button text',
icon: 'i-mdi-cursor-default-click',
}),
},
}),
},
})