links update
This commit is contained in:
13
src/types.ts
13
src/types.ts
@@ -1,3 +1,16 @@
|
||||
import type { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
export const themes = ['dark', 'light'] as const;
|
||||
|
||||
export type Theme = typeof themes[number];
|
||||
|
||||
export type NavLink = {
|
||||
target: {
|
||||
href: string;
|
||||
newTab?: boolean;
|
||||
};
|
||||
content: {
|
||||
text?: string;
|
||||
icon?: IconDefinition;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user