Rewrite page in Svelte 5 #49
1 changed files with 16 additions and 7 deletions
|
@ -1,9 +1,18 @@
|
||||||
export type Service = {
|
export type Service = {
|
||||||
name: string;
|
readonly name: string;
|
||||||
icon: string;
|
readonly icon: string;
|
||||||
href: string;
|
readonly iconType: IconType;
|
||||||
desc: string;
|
readonly href: string;
|
||||||
warn: string;
|
readonly desc: string;
|
||||||
extLink?: string;
|
readonly warn: string;
|
||||||
id: number;
|
readonly extLink?: string;
|
||||||
|
readonly id: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum IconType {
|
||||||
|
SVG = "svg",
|
||||||
|
AVIF = "avif",
|
||||||
|
PNG = "png",
|
||||||
|
WEBP = "webp",
|
||||||
|
JPG = "jpg",
|
||||||
|
}
|
Loading…
Reference in a new issue