|
@@ -19,6 +19,12 @@ import { CommentEditor } from './PageComment/CommentEditor';
|
|
|
import { CommentEditorLazyRenderer } from './PageComment/CommentEditorLazyRenderer';
|
|
import { CommentEditorLazyRenderer } from './PageComment/CommentEditorLazyRenderer';
|
|
|
import { DeleteCommentModal } from './PageComment/DeleteCommentModal';
|
|
import { DeleteCommentModal } from './PageComment/DeleteCommentModal';
|
|
|
import { ReplyComments } from './PageComment/ReplyComments';
|
|
import { ReplyComments } from './PageComment/ReplyComments';
|
|
|
|
|
+import { Skelton } from './Skelton';
|
|
|
|
|
+
|
|
|
|
|
+import styles from './PageComment.module.scss';
|
|
|
|
|
+import CommentStyles from './PageComment/Comment.module.scss';
|
|
|
|
|
+import CommentEditorStyles from './PageComment/CommentEditor.module.scss';
|
|
|
|
|
+
|
|
|
|
|
|
|
|
type Props = {
|
|
type Props = {
|
|
|
pageId?: Nullable<string>
|
|
pageId?: Nullable<string>
|
|
@@ -131,31 +137,37 @@ export const PageComment: FC<Props> = memo((props:Props): JSX.Element => {
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
{/* TODO: Check the comment.html CSS */}
|
|
{/* TODO: Check the comment.html CSS */}
|
|
|
- <div className="page-comments-row comment-list">
|
|
|
|
|
|
|
+ <div className={`${styles['page-comment-styles']} page-comments-row comment-list`}>
|
|
|
<div className="container-lg">
|
|
<div className="container-lg">
|
|
|
<div className="page-comments">
|
|
<div className="page-comments">
|
|
|
<h2 className={commentTitleClasses}><i className="icon-fw icon-bubbles"></i>Comments</h2>
|
|
<h2 className={commentTitleClasses}><i className="icon-fw icon-bubbles"></i>Comments</h2>
|
|
|
<div className="page-comments-list" id="page-comments-list">
|
|
<div className="page-comments-list" id="page-comments-list">
|
|
|
- <div className='page-comment-thread pb-5 page-comment-thread-no-replies'>
|
|
|
|
|
|
|
+ <div className={`${CommentStyles['comment-styles']} page-comment-thread pb-5 page-comment-thread-no-replies`}>
|
|
|
<div className='page-comment flex-column'>
|
|
<div className='page-comment flex-column'>
|
|
|
<div className='page-commnet-writer'>
|
|
<div className='page-commnet-writer'>
|
|
|
- <Skelton additionalClass='rounded-circle pictur mb-3' />
|
|
|
|
|
|
|
+ <Skelton additionalClass='rounded-circle picture' roundedPill />
|
|
|
</div>
|
|
</div>
|
|
|
- <Skelton additionalClass="page-comment-main mb-3" />
|
|
|
|
|
|
|
+ <Skelton additionalClass={`${styles['page-comment-comment-body-skelton']} grw-skelton`} />
|
|
|
</div>
|
|
</div>
|
|
|
- <div className='page-comment flex-column'>
|
|
|
|
|
- <div className='page-commnet-writer'>
|
|
|
|
|
- <Skelton additionalClass='rounded-circle pictur mb-3' />
|
|
|
|
|
|
|
+ <div className='page-comment flex-column ml-4 ml-sm-5 mr-3'>
|
|
|
|
|
+ <div className='page-commnet-writer mt-3'>
|
|
|
|
|
+ <Skelton additionalClass='rounded-circle picture' roundedPill />
|
|
|
</div>
|
|
</div>
|
|
|
- <Skelton additionalClass="page-comment-main mb-3" />
|
|
|
|
|
|
|
+ <Skelton additionalClass={`${styles['page-comment-comment-body-skelton']} grw-skelton mt-3`} />
|
|
|
</div>
|
|
</div>
|
|
|
<div className="text-right">
|
|
<div className="text-right">
|
|
|
- <Skelton additionalClass={`${styles['page-comment-button-skelton']}`} />
|
|
|
|
|
|
|
+ <Skelton additionalClass={`${styles['page-comment-button-skelton']} btn btn-outline-secondary btn-sm grw-skelton`} />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div className={`${CommentEditorStyles['comment-editor-styles']} form page-comment-form`}>
|
|
|
|
|
+ <div className='comment-form'>
|
|
|
|
|
+ <div className='comment-form-user'>
|
|
|
|
|
+ <Skelton additionalClass='rounded-circle picture' roundedPill />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <Skelton additionalClass={`${styles['page-comment-comment-body-skelton']} grw-skelton`} />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <Skelton additionalClass={`${styles['page-comment-commentlazyeditorrenderer-writer-skelton']}`} />
|
|
|
|
|
- <Skelton additionalClass={`${styles['page-comment-commentlazyeditorrenderer-body-skelton']}`} />
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|