Add service provider icon.

This commit is contained in:
yoan
2024-08-22 11:10:30 +08:00
parent d6c4a65106
commit 1bfd477587
15 changed files with 199 additions and 54 deletions

View File

@@ -1,8 +1,8 @@
import { z } from "zod";
export const accessTypeMap: Map<string, string> = new Map([
["tencent", "腾讯云"],
["aliyun", "阿里云"],
export const accessTypeMap: Map<string, [string, string]> = new Map([
["tencent", ["腾讯云", "/imgs/providers/tencent.svg"]],
["aliyun", ["阿里云", "/imgs/providers/aliyun.svg"]],
]);
export const accessFormType = z.union(