Interactive Components 구성 요소
다크 모드와 단색 색 구성표로 설계된 소셜 미디어 인터랙티브 구성 요소입니다.
HTML 코드
<div class="bg-gray-900 text-gray-100 min-h-screen p-6">
<div class="max-w-md mx-auto bg-gray-800 rounded-lg shadow-lg">
<div class="p-4 border-b border-gray-700">
<h2 class="text-xl font-bold">Interactive Components</h2>
<p class="text-gray-400">Engage with your network in style.</p>
</div>
<div class="flex items-center p-4">
<img class="w-12 h-12 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" />
<div class="ml-4">
<h3 class="font-semibold">John Doe</h3>
<p class="text-gray-500 text-sm">@johndoe</p>
</div>
</div>
<div class="p-4">
<img class="w-full h-48 object-cover rounded-lg" src="https://picsum.photos/500/300" alt="Interactive Image" />
<p class="mt-2 text-gray-300">This is an example of an interactive post with an image. Feel free to comment and like!</p>
</div>
<div class="flex justify-between p-4 border-t border-gray-700">
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Like</button>
<button class="bg-gray-700 hover:bg-gray-600 rounded-lg px-4 py-2 text-white transition duration-150 ease-in-out">Comment</button>
</div>
</div>
</div>
관련 구성 요소
Interactive Components 구성 요소
브루탈리즘에서 영감을 받은 블로그용 인터랙티브 컴포넌트로, 고대비 어스 톤, 반응형 디자인, 다크 모드 지원을 특징으로 합니다.
Interactive Components 구성 요소
Skeuomorphism 디자인, 아날로그 색 구성표 및 블로그/콘텐츠 목적을 위한 중간 수준의 복잡성을 가진 대화형 구성 요소 구성 요소. 어두운 테마를 지원하는 반응형 디자인. 자바스크립트 코드가 없습니다.