feat(ui): redesign stats page with gsdistance.org theme
This commit is contained in:
parent
932565b20c
commit
637a3cf255
2 changed files with 889 additions and 445 deletions
|
|
@ -437,7 +437,7 @@ router.get('/stats', (req: Request, res: Response) => {
|
|||
// GET /favicon.ico (Avoid 404 logs from browser favicon requests)
|
||||
router.get('/favicon.ico', (req: Request, res: Response) => {
|
||||
res.setHeader('Content-Type', 'image/svg+xml');
|
||||
res.send(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#38bdf8"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>`);
|
||||
res.send(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none"><circle cx="16" cy="16" r="14" stroke="#bb86fc" stroke-width="2.2"/><circle cx="16" cy="16" r="4" fill="#bb86fc"/><circle cx="16" cy="7" r="2.5" fill="#bb86fc"/><circle cx="23.8" cy="11.5" r="2.5" fill="#bb86fc"/><circle cx="23.8" cy="20.5" r="2.5" fill="#bb86fc"/><circle cx="16" cy="25" r="2.5" fill="#bb86fc"/><circle cx="8.2" cy="20.5" r="2.5" fill="#bb86fc"/><circle cx="8.2" cy="11.5" r="2.5" fill="#bb86fc"/></svg>`);
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
|
|
|||
1300
src/stats.ts
1300
src/stats.ts
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue