diff --git a/frontend/src/App.js b/frontend/src/App.js index 368ab821..d1554ede 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -6,6 +6,7 @@ import Login from './components/Login/Login'; import Signup from './components/Signup/Signup'; import Chats from './components/Chats/Chats'; import Protected from './components/Protected'; +import Profile from './components/Profile/Profile'; function App() { @@ -16,6 +17,7 @@ function App() { } /> } /> } /> + } /> } /> diff --git a/frontend/src/components/Profile/Profile.js b/frontend/src/components/Profile/Profile.js new file mode 100644 index 00000000..9002887d --- /dev/null +++ b/frontend/src/components/Profile/Profile.js @@ -0,0 +1,57 @@ +import React from 'react' +import styles from './Profile.module.css' + +function Profile() { + return ( +
+
+
+ Profile + + +
+
+

John Doe

+

+ Email: + + sonukumar@gmail.com + +

+

+ Phone: + + + +

+ +

+ Address: + + Darbhanga, Bihar - 846004 + +

+ +

+ City: + + + +

+ +

+ + State: + + + +

+
+
+
+ ) +} + +export default Profile diff --git a/frontend/src/components/Profile/Profile.module.css b/frontend/src/components/Profile/Profile.module.css new file mode 100644 index 00000000..297ad545 --- /dev/null +++ b/frontend/src/components/Profile/Profile.module.css @@ -0,0 +1,40 @@ +.container { + display: flex; + flex-direction: column; + align-items: center; + height: 100vh; + width: 100%; + padding: 20px; + background-color: rgb(243, 248, 248); +} + +.profile { + display: flex; + flex-direction: column; + align-items: center; + width: 100%; + padding: 20px; + background-color: white; + border-radius: 10px; + box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); +} + +.profileImage { + width: 150px; + height: 150px; + border-radius: 50%; + margin-bottom: 20px; +} + +.profileImage img { + width: 100%; + height: 100%; + border-radius: 50%; +} + +.profileDetails { + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 20px; +} \ No newline at end of file