chore: 移除 github star

This commit is contained in:
xiaojunnuo
2026-02-06 23:04:39 +08:00
parent 74400aacc6
commit cbd8699801
2 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export function resetLogConfigure() {
}); });
} }
resetLogConfigure(); resetLogConfigure();
export const logger = log4js.getLogger("default"); export const logger: ILogger = log4js.getLogger("default") as any;
export function resetLogFilePath(filePath: string) { export function resetLogFilePath(filePath: string) {
logFilePath = filePath; logFilePath = filePath;
@@ -161,27 +161,30 @@ function openStarModal(vipType: string) {
return; return;
} }
Modal.destroyAll(); Modal.destroyAll();
const goGithub = () => {
window.open("https://github.com/certd/certd/");
};
modal.confirm({ openTrialModal(vipType);
title: t("vip.get_7_day_pro_trial"),
okText: t("vip.star_now"), // const goGithub = () => {
onOk() { // window.open("https://github.com/certd/certd/");
goGithub(); // };
openTrialModal(vipType);
}, // modal.confirm({
width: 600, // title: t("vip.get_7_day_pro_trial"),
content: () => { // okText: t("vip.star_now"),
return ( // onOk() {
<div class="flex mt-10 mb-10"> // goGithub();
<div>{t("vip.please_help_star")}</div> // openTrialModal(vipType);
<img class="ml-5" src="https://img.shields.io/github/stars/certd/certd?logo=github" /> // },
</div> // width: 600,
); // content: () => {
}, // return (
}); // <div class="flex mt-10 mb-10">
// <div>{t("vip.please_help_star")}</div>
// <img class="ml-5" src="https://img.shields.io/github/stars/certd/certd?logo=github" />
// </div>
// );
// },
// });
} }
function openUpgrade() { function openUpgrade() {