UsersHomePageFooter.tsx 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import React from 'react';
  2. import { RecentlyCreatedIcon } from '~/components/Icons/RecentlyCreatedIcon';
  3. import { BookmarkList } from '~/components/PageList/BookmarkList';
  4. import { RecentCreated } from '~/components/RecentCreated/RecentCreated';
  5. import styles from '~/components/UsersHomePageFooter.module.scss';
  6. type UsersHomePageFooterProps = {
  7. creatorId: string,
  8. }
  9. export const UsersHomePageFooter = (props: UsersHomePageFooterProps) => {
  10. const { creatorId } = props;
  11. // TODO: Check CSS module
  12. return (
  13. <div className={`container-lg user-page-footer py-5 ${styles['user-page-footer']}`}>
  14. <div className="grw-user-page-list-m d-edit-none">
  15. <h2 id="bookmarks-list" className="grw-user-page-header border-bottom pb-2 mb-3">
  16. <i style={{ fontSize: '1.3em' }} className="fa fa-fw fa-bookmark-o"></i>
  17. Bookmarks
  18. </h2>
  19. <div id="user-bookmark-list" className="page-list">
  20. <div className="page-list-container">
  21. {/* <BookmarkList userId={creatorId} /> */}
  22. </div>
  23. </div>
  24. </div>
  25. <div className="grw-user-page-list-m mt-5 d-edit-none">
  26. <h2 id="recently-created-list" className="grw-user-page-header border-bottom pb-2 mb-3">
  27. <i id="recent-created-icon" className="mr-1"><RecentlyCreatedIcon /></i>
  28. Recently Created
  29. </h2>
  30. <div id="user-created-list" className="page-list">
  31. <div className="page-list-container">
  32. {/* <RecentCreated userId={creatorId} /> */}
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. );
  38. };