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>({
5454 buttonUrl : '' ,
5555 } ,
5656
57+ // Navigation
58+ navigation : {
59+ primary : [ ] ,
60+ secondary : [ ] ,
61+ altPrimary : [ ] ,
62+ altSecondary : [ ] ,
63+ } ,
64+
5765 // Credits
5866 credits : {
5967 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+
114interface BrandOptions {
215 /**
316 * The name of the brand.
@@ -79,6 +92,16 @@ export interface ModuleOptions {
7992 buttonUrl ?: string
8093 }
8194
95+ /**
96+ * Navigation options
97+ */
98+ navigation ?: {
99+ primary ?: Link [ ]
100+ secondary ?: Link [ ]
101+ altPrimary ?: TitledLinks [ ]
102+ altSecondary ?: Link [ ]
103+ }
104+
82105 /**
83106 * Credits options
84107 */
You can’t perform that action at this time.
0 commit comments