Skip to content

Commit da04f61

Browse files
committed
refactor: move navigation config to core
1 parent aa7971f commit da04f61

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

src/module.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ export default defineNuxtModule<ModuleOptions>({
2929
name,
3030
},
3131

32-
// Navigation
33-
navigation: {
34-
primary: [],
35-
secondary: [],
36-
altPrimary: [],
37-
altSecondary: [],
38-
},
39-
4032
// Footer
4133
footer: {
4234
copyright: '',

src/types.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,8 @@ interface Email extends CoreEmailOptions {
88
}
99
}
1010

11-
// Link types
12-
interface Link {
13-
text: string
14-
to?: string
15-
href?: string
16-
icon?: string
17-
openInNew?: boolean
18-
}
19-
interface TitledLinks {
20-
title: string
21-
links: Link[]
22-
}
23-
2411
// Page interface
2512
interface PageModuleOptions {
26-
/**
27-
* Navigation options
28-
*/
29-
navigation?: {
30-
primary?: Link[]
31-
secondary?: Link[]
32-
altPrimary?: TitledLinks[]
33-
altSecondary?: Link[]
34-
}
3513

3614
/**
3715
* Footer options

0 commit comments

Comments
 (0)