chore: do new design mockup

This commit is contained in:
2025-06-26 23:37:56 +02:00
parent 0365a0fb9a
commit e4441c98e3
44 changed files with 2145 additions and 2627 deletions

17
src/lib/api/ezpp.ts Normal file
View File

@@ -0,0 +1,17 @@
import ky from 'ky';
const BANCHO_ENDPOINT = 'https://c.ez-pp.farm/';
export const ezppfarm = {
ping: async (): Promise<number | undefined> => {
try {
const start = Date.now();
const request = await ky(BANCHO_ENDPOINT);
if (!request.ok) return undefined;
const ping = Date.now() - start;
return ping;
} catch {
return undefined;
}
},
};