feat: add system info card to admin dashboard

Shows cabinet version, bot version, Python version, uptime, users and
active subscriptions at the bottom of the dashboard page.
This commit is contained in:
Fringg
2026-02-08 22:52:14 +03:00
parent 5678dfd558
commit ab0270ac58
9 changed files with 107 additions and 1 deletions

View File

@@ -1,10 +1,14 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
import packageJson from './package.json';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
define: {
__APP_VERSION__: JSON.stringify(packageJson.version),
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),