mirror of
https://github.com/r-freeman/portfolio.git
synced 2025-04-19 12:24:46 +00:00
Update comment style
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m10s
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 3m10s
This commit is contained in:
parent
ad82326eb9
commit
907da404b2
@ -26,6 +26,8 @@ type CommentsListProps = {
|
|||||||
|
|
||||||
Comments.List = function List({comments}: CommentsListProps) {
|
Comments.List = function List({comments}: CommentsListProps) {
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
|
{comments.length > 0 &&
|
||||||
<section>
|
<section>
|
||||||
<h3 className="text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100 mb-4">
|
<h3 className="text-base font-semibold tracking-tight text-zinc-800 dark:text-zinc-100 mb-4">
|
||||||
Comments
|
Comments
|
||||||
@ -43,11 +45,13 @@ Comments.List = function List({comments}: CommentsListProps) {
|
|||||||
</time>
|
</time>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400">{comment.content}</p>
|
<p className="mt-1 text-sm text-zinc-600 dark:text-zinc-400 max-w-xl">{comment.content}</p>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
))}
|
))}
|
||||||
</section>
|
</section>
|
||||||
|
}
|
||||||
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user