File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ export default defineNuxtModule<ModuleOptions>({
54
54
buttonUrl : '' ,
55
55
} ,
56
56
57
+ // Navigation
58
+ navigation : {
59
+ primary : [ ] ,
60
+ secondary : [ ] ,
61
+ altPrimary : [ ] ,
62
+ altSecondary : [ ] ,
63
+ } ,
64
+
57
65
// Credits
58
66
credits : {
59
67
creator : {
Original file line number Diff line number Diff line change
1
+ interface Link {
2
+ text : string
3
+ to ?: string
4
+ href ?: string
5
+ icon ?: string
6
+ openInNew ?: boolean
7
+ }
8
+
9
+ interface TitledLinks {
10
+ title : string
11
+ links : Link [ ]
12
+ }
13
+
1
14
interface BrandOptions {
2
15
/**
3
16
* The name of the brand.
@@ -79,6 +92,16 @@ export interface ModuleOptions {
79
92
buttonUrl ?: string
80
93
}
81
94
95
+ /**
96
+ * Navigation options
97
+ */
98
+ navigation ?: {
99
+ primary ?: Link [ ]
100
+ secondary ?: Link [ ]
101
+ altPrimary ?: TitledLinks [ ]
102
+ altSecondary ?: Link [ ]
103
+ }
104
+
82
105
/**
83
106
* Credits options
84
107
*/
You can’t perform that action at this time.
0 commit comments