feat: initial commit

(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
This commit is contained in:
saicaca
2023-09-26 14:27:38 +08:00
parent 02b0a65314
commit 124843848f
58 changed files with 13083 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
import _config from '../../vivia.config.yml';
interface ViviaConfig {
menu: {
[key: string]: string;
};
appearance: {
hue: number;
};
favicon: string;
banner: {
enable: boolean;
url: string;
position: string;
onAllPages: boolean;
};
sidebar: {
widgets: {
normal: string | string[];
sticky: string | string[];
};
};
profile: {
avatar: string;
author: string;
subtitle: string;
links: {
name: string;
icon: string;
url: string;
}[];
}
}
const config: ViviaConfig = _config;
export const getConfig = () => config;