| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import React from 'react';
- import { RecentlyCreatedIcon } from '~/components/Icons/RecentlyCreatedIcon';
- import { BookmarkList } from '~/components/PageList/BookmarkList';
- import { RecentCreated } from '~/components/RecentCreated/RecentCreated';
- import styles from '~/components/UsersHomePageFooter.module.scss';
- type UsersHomePageFooterProps = {
- creatorId: string,
- }
- export const UsersHomePageFooter = (props: UsersHomePageFooterProps) => {
- const { creatorId } = props;
- // TODO: Check CSS module
- return (
- <div className={`container-lg user-page-footer py-5 ${styles['user-page-footer']}`}>
- <div className="grw-user-page-list-m d-edit-none">
- <h2 id="bookmarks-list" className="grw-user-page-header border-bottom pb-2 mb-3">
- <i style={{ fontSize: '1.3em' }} className="fa fa-fw fa-bookmark-o"></i>
- Bookmarks
- </h2>
- <div id="user-bookmark-list" className="page-list">
- <div className="page-list-container">
- {/* <BookmarkList userId={creatorId} /> */}
- </div>
- </div>
- </div>
- <div className="grw-user-page-list-m mt-5 d-edit-none">
- <h2 id="recently-created-list" className="grw-user-page-header border-bottom pb-2 mb-3">
- <i id="recent-created-icon" className="mr-1"><RecentlyCreatedIcon /></i>
- Recently Created
- </h2>
- <div id="user-created-list" className="page-list">
- <div className="page-list-container">
- {/* <RecentCreated userId={creatorId} /> */}
- </div>
- </div>
- </div>
- </div>
- );
- };
|