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 */}
);