From f698aa4d51b80a5d8777e8d8a96f070722fb2607 Mon Sep 17 00:00:00 2001 From: matteoscrugli Date: Mon, 15 Dec 2025 21:33:11 +0100 Subject: [PATCH] Clean up Dashboard by removing placeholder cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused stat-cards and simplify Dashboard to empty state, ready for future content. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/pages/Dashboard.tsx | 47 +------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index d98c30e..ecf2bfb 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -1,10 +1,7 @@ -import { useAuth } from '../contexts/AuthContext'; import { useTranslation } from '../contexts/LanguageContext'; import { useSidebar } from '../contexts/SidebarContext'; -import '../styles/Dashboard.css'; export default function Dashboard() { - const { user } = useAuth(); const { t } = useTranslation(); const { toggleMobileMenu } = useSidebar(); @@ -23,49 +20,7 @@ export default function Dashboard() {
-
-
-

{t.dashboard.profile}

-

- {t.auth.username}: {user?.username} -

-

- {t.auth.email}: {user?.email} -

-

- {t.dashboard.userId}: {user?.id} -

-

- {t.dashboard.status}:{' '} - - {user?.is_active ? t.dashboard.active : t.dashboard.inactive} - -

-
- -
-

{t.features.feature1}

-

{t.features.comingSoon}

-
- -
-

{t.features.feature2}

-

{t.features.comingSoon}

-
- -
-

{t.features.feature3}

-

{t.features.comingSoon}

-
- - {user?.is_superuser && ( -
-

{t.admin.panel}

-

{t.admin.userManagement} - {t.features.comingSoon}

-

{t.admin.systemSettings} - {t.features.comingSoon}

-
- )} -
+ {/* Dashboard content */}
);