Skip to content

Commit 3fac46e

Browse files
Yushin-Lclaude
andcommitted
Improve comment section visibility with translucent background
- Replace border-t separator with rounded translucent card (bg-white/40) - Add backdrop-blur and subtle ring for depth against gradient background - Adjust divider opacity for better readability Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5e54621 commit 3fac46e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/comments/CommentSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function CommentSection({ postSlug }: CommentSectionProps) {
5151
}
5252

5353
return (
54-
<section className="mt-12 border-t border-zinc-200 pt-8 dark:border-zinc-800">
54+
<section className="mt-12 rounded-xl bg-white/40 p-6 ring-1 ring-stone-200/40 backdrop-blur-sm">
5555
<h2 className="mb-6 text-xl font-semibold">
5656
댓글 {comments.filter((c) => c.status === "published").length > 0 &&
5757
`(${comments.filter((c) => c.status === "published").length})`}
@@ -66,7 +66,7 @@ export default function CommentSection({ postSlug }: CommentSectionProps) {
6666
)}
6767

6868
{!loading && (
69-
<div className="divide-y divide-zinc-100 dark:divide-zinc-800">
69+
<div className="divide-y divide-stone-200/60">
7070
{topLevel.map((comment) => (
7171
<div key={comment.id}>
7272
<CommentItem

0 commit comments

Comments
 (0)