From ef0891cdb6bdc8b49bb12a6afbb79b6bdfe25559 Mon Sep 17 00:00:00 2001 From: davydocsurg Date: Sun, 7 May 2023 20:30:48 +0100 Subject: [PATCH] chore: add User info component #619 --- .../components/UserInformation/UserInfo.js | 16 ++++++++++++++++ src/pages/components/UserInformation/index.js | 3 +++ src/pages/dashboard.js | 17 ++++++++++++++++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 src/pages/components/UserInformation/UserInfo.js create mode 100644 src/pages/components/UserInformation/index.js diff --git a/src/pages/components/UserInformation/UserInfo.js b/src/pages/components/UserInformation/UserInfo.js new file mode 100644 index 00000000..44bd1bae --- /dev/null +++ b/src/pages/components/UserInformation/UserInfo.js @@ -0,0 +1,16 @@ +import { Heading } from '@chakra-ui/react'; +import React from 'react'; +import Card from '../Card'; + +const UserInfo = () => ( + + Profile + +); + +export default UserInfo; diff --git a/src/pages/components/UserInformation/index.js b/src/pages/components/UserInformation/index.js new file mode 100644 index 00000000..472091c5 --- /dev/null +++ b/src/pages/components/UserInformation/index.js @@ -0,0 +1,3 @@ +import UserInfo from './UserInfo'; + +export default UserInfo; diff --git a/src/pages/dashboard.js b/src/pages/dashboard.js index 6f0a0932..98cf1363 100644 --- a/src/pages/dashboard.js +++ b/src/pages/dashboard.js @@ -1,6 +1,21 @@ import { Heading } from '@chakra-ui/react'; import React from 'react'; +import UserInfo from './components/UserInformation'; -const Dashboard = () => Dashboard; +const Dashboard = () => ( +
+ Dashboard + +
+); export default Dashboard;