기능 컴포넌트 컴포넌트 - 다크 모드 UI
다크 모드와 어스 톤으로 설계된 반응형 소셜 미디어 구성 요소로, 소셜 네트워킹 인터페이스에 적합합니다. 사용자 아바타, 게시물 콘텐츠 및 상호 작용 버튼을 제공합니다.
HTML 코드
<div class="bg-gray-800 text-white p-4 rounded-lg shadow-md max-w-lg mx-auto dark:bg-gray-900">
<div class="flex items-center mb-4">
<img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<div class="ml-3">
<h2 class="text-lg font-semibold">John Doe</h2>
<p class="text-gray-400">@john_doe</p>
</div>
</div>
<div class="mb-4">
<p class="text-gray-300">Just had a great day exploring the mountains! 🌄</p>
<img class="mt-2 rounded-lg" src="https://picsum.photos/600/300?random=1" alt="Nature Image">
</div>
<div class="flex justify-between text-gray-400">
<button class="flex items-center hover:text-white">
<svg class="w-5 h-5 mr-1" fill="currentColor" viewBox="0 0 20 20"><path d="M..."/></svg>
<span class="text-sm">Like</span>
</button>
<button class="flex items-center hover:text-white">
<svg class="w-5 h-5 mr-1" fill="currentColor" viewBox="0 0 20 20"><path d="M..."/></svg>
<span class="text-sm">Comment</span>
</button>
<button class="flex items-center hover:text-white">
<svg class="w-5 h-5 mr-1" fill="currentColor" viewBox="0 0 20 20"><path d="M..."/></svg>
<span class="text-sm">Share</span>
</button>
</div>
</div>
관련 구성 요소
Microinteractions_Triadic_Dashboard_Component
트라이어딕 색 구성표가 있는 반응형 대시보드 구성 요소로, 사용자 참여를 위한 마이크로 인터랙션을 통합합니다. 데이터 시각화 요소와 컨트롤이 있으며 완전한 다크 모드를 지원합니다.
Functional Components 구성 요소
브루탈리즘(Brutalism) 스타일과 파스텔 색상으로 디자인된 소셜 미디어 구성 요소로, 다크 모드를 지원하는 상호 작용을 위한 복잡한 인터페이스를 갖추고 있습니다.