mirror of
https://github.com/LucasVbr/LucasVbr.git
synced 2026-07-09 14:27:46 +00:00
Deno is better ✨
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
type BadgeModel = {
|
||||
label?: string,
|
||||
message?: string,
|
||||
color?: string,
|
||||
logo?: string,
|
||||
style: "plastic" | "flat" | "flat-square" | "for-the-badge" | "social",
|
||||
logoColor?: string,
|
||||
logoWidth?: number,
|
||||
link?: string,
|
||||
labelColor?: string,
|
||||
cacheSeconds?: number,
|
||||
}
|
||||
export default BadgeModel;
|
||||
@@ -0,0 +1,9 @@
|
||||
type BannerModel = {
|
||||
text1: string,
|
||||
text2?: string,
|
||||
type: "origin" | "textBox" | "glitch" | "luminance" | "typeWriter" | "rainbow",
|
||||
width: number,
|
||||
height: number,
|
||||
}
|
||||
|
||||
export default BannerModel;
|
||||
@@ -0,0 +1,20 @@
|
||||
import type BannerModel from './BannerModel.ts';
|
||||
import type LinkModel from './LinkModel.ts';
|
||||
import type BadgeModel from './BadgeModel.ts';
|
||||
|
||||
type ConfigModel = {
|
||||
file: {
|
||||
template: string,
|
||||
output: string
|
||||
},
|
||||
view: {
|
||||
userName: string,
|
||||
banner: BannerModel,
|
||||
about: string,
|
||||
links: LinkModel[],
|
||||
skills: BadgeModel[],
|
||||
footer: string[]
|
||||
}
|
||||
}
|
||||
|
||||
export default ConfigModel;
|
||||
@@ -0,0 +1,8 @@
|
||||
import BadgeModel from './BadgeModel.ts';
|
||||
|
||||
type LinkModel = {
|
||||
label: BadgeModel,
|
||||
url: string
|
||||
}
|
||||
|
||||
export default LinkModel
|
||||
Reference in New Issue
Block a user