Community Forum 구성 요소
다크 모드를 지원하는 미니멀리스트 커뮤니티 포럼 구성 요소입니다. 이 구성 요소는 포트폴리오용으로 설계되었으며 흙색 색상의 간단한 레이아웃을 특징으로 합니다.
HTML 코드
<div class="min-h-screen bg-stone-100 dark:bg-stone-900 p-4 flex flex-col items-center justify-center">
<div class="w-full max-w-2xl bg-white dark:bg-stone-800 rounded-lg shadow-md p-6">
<h1 class="text-2xl font-semibold text-stone-800 dark:text-stone-200 mb-6 text-center">Community Forum</h1>
<!-- New Post Section -->
<div class="mb-6">
<textarea class="w-full p-3 rounded-md bg-stone-50 dark:bg-stone-700 text-stone-700 dark:text-stone-300 border border-stone-300 dark:border-stone-600 focus:outline-none focus:ring-2 focus:ring-stone-400" rows="3" placeholder="Write a new post..."></textarea>
<div class="flex justify-end mt-2">
<button class="px-4 py-2 bg-stone-600 text-white rounded-md hover:bg-stone-700 focus:outline-none focus:ring-2 focus:ring-stone-500">Post</button>
</div>
</div>
<!-- Forum Posts -->
<div class="space-y-4">
<!-- Post 1 -->
<div class="bg-stone-50 dark:bg-stone-700 p-4 rounded-lg shadow-sm">
<div class="flex items-center mb-3">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-3 border-2 border-stone-300 dark:border-stone-600">
<div>
<p class="font-semibold text-stone-800 dark:text-stone-200">John Doe</p>
<p class="text-sm text-stone-500 dark:text-stone-400">2 hours ago</p>
</div>
</div>
<p class="text-stone-700 dark:text-stone-300 mb-3">This is a great community! I just wanted to share my latest project. Feedback is welcome!</p>
<div class="flex justify-between text-stone-500 dark:text-stone-400 text-sm">
<span>5 Likes</span>
<span>3 Comments</span>
</div>
</div>
<!-- Post 2 -->
<div class="bg-stone-50 dark:bg-stone-700 p-4 rounded-lg shadow-sm">
<div class="flex items-center mb-3">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-3 border-2 border-stone-300 dark:border-stone-600">
<div>
<p class="font-semibold text-stone-800 dark:text-stone-200">Jane Smith</p>
<p class="text-sm text-stone-500 dark:text-stone-400">Yesterday</p>
</div>
</div>
<p class="text-stone-700 dark:text-stone-300 mb-3">Looking for collaborators on an exciting new open-source project. Anyone interested in web development?</p>
<div class="flex justify-between text-stone-500 dark:text-stone-400 text-sm">
<span>12 Likes</span>
<span>7 Comments</span>
</div>
</div>
<!-- Post 3 -->
<div class="bg-stone-50 dark:bg-stone-700 p-4 rounded-lg shadow-sm">
<div class="flex items-center mb-3">
<img src="https://randomuser.me/api/portraits/men/19.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-3 border-2 border-stone-300 dark:border-stone-600">
<div>
<p class="font-semibold text-stone-800 dark:text-stone-200">Peter Jones</p>
<p class="text-sm text-stone-500 dark:text-stone-400">3 days ago</p>
</div>
</div>
<p class="text-stone-700 dark:text-stone-300 mb-3">Just launched my new portfolio! Check it out and let me know what you think. [Link to portfolio]</p>
<div class="flex justify-between text-stone-500 dark:text-stone-400 text-sm">
<span>8 Likes</span>
<span>2 Comments</span>
</div>
</div>
</div>
</div>
</div>
관련 구성 요소
커뮤니티 포럼 구성 요소 - 레트로 오션 블루
80년대/90년대 복고풍 분위기의 단순하고 반응이 빠른 커뮤니티 포럼 구성 요소로, 직업 및 경력 플랫폼을 위해 설계되었습니다. 오션 블루 색 구성표와 다크 모드 지원이 특징입니다.
Community Forum 구성 요소
Brutalism 스타일로 디자인된 커뮤니티 포럼 구성 요소로, 생생한 색 구성표가 있어 전자 상거래 경험에 적합합니다. 여기에는 게시물, 댓글 및 사용자 프로필과 같은 다양한 대화형 요소가 포함되어 있으며, 모두 어두운 테마를 지원하는 반응형 디자인을 위해 Tailwind CSS로 스타일이 지정되었습니다.
Community Forum 구성 요소
금융/뱅킹을 위한 반응형 커뮤니티 포럼 구성 요소로, 머티리얼 디자인 스타일과 캔디/스위트 색상 구성표, 풍선껌 핑크 및 민트 그린과 같은 밝은 색상, 다크 모드 지원 및 시맨틱 HTML을 특징으로 합니다.