diff --git a/src/pages/components/UserInformation/UserInfo.js b/src/pages/components/UserInformation/UserInfo.js index 44bd1bae..04a80908 100644 --- a/src/pages/components/UserInformation/UserInfo.js +++ b/src/pages/components/UserInformation/UserInfo.js @@ -1,16 +1,13 @@ import { Heading } from '@chakra-ui/react'; import React from 'react'; -import Card from '../Card'; const UserInfo = () => ( - - Profile - +
+ User Information +

Name: David Ndubuisi

+

Email: davydocsurg@gmail.com

+

Total Daily Usage: 54

+
); export default UserInfo; diff --git a/src/pages/dashboard.js b/src/pages/dashboard.js index 98cf1363..60711740 100644 --- a/src/pages/dashboard.js +++ b/src/pages/dashboard.js @@ -1,21 +1,25 @@ -import { Heading } from '@chakra-ui/react'; import React from 'react'; +import { useTranslation } from 'react-i18next'; import UserInfo from './components/UserInformation'; +import Navbar from './components/Navbar'; -const Dashboard = () => ( -
- Dashboard - -
-); +const Dashboard = () => { + const { t } = useTranslation('dashboard'); + + return ( +
+ +
+
+

{t('Dashboard')}

+ +
+
+
+ ); +}; export default Dashboard;