cabinet.js 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. import React from "react";
  2. import { connect } from "react-redux";
  3. import ConnectNickName from "../components/nick";
  4. import AvaLogo from "../images/ava";
  5. import ImgProfile from "../images/profile";
  6. import ConUpload from "./upload";
  7. import { imgFind } from "../actions";
  8. import { actionFindUser } from "../actions";
  9. const Cabinet = () => {
  10. return (
  11. <>
  12. <div class="container d-flex justify-content-center align-items-center mt-5">
  13. <div class="card">
  14. <div class="upper"> <ImgProfile px ={'300px'}/> </div>
  15. <div class="user text-center">
  16. <div class="profile mt-3" > <ConUpload width = {'100px'}/> </div>
  17. </div>
  18. <div class="mt-5 text-center">
  19. <h4 class="mb-0"><ConnectNickName/></h4>
  20. <a href="/projects" className = 'text-decoration-none'><h6 >Your projects</h6></a>
  21. {/* <span class="text-muted d-block mb-2">Los Angles</span> */}
  22. <div class="d-flex justify-content-center align-items-center mt-4 px-4">
  23. <a href="/"><button class="btn btn-primary btn-sm mb-3 " onClick = {console.log('aaa')} >Main Page</button></a>
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. </>
  29. )
  30. }
  31. export default Cabinet