360° 뷰어 구성 요소
전자 상거래를 위해 설계된 반응형 360도 뷰어 구성 요소로, 다크 모드를 지원합니다. 스타일링은 파스텔 색상의 레트로/빈티지입니다. HTML 및 Tailwind CSS만 사용합니다.
HTML 코드
<div class="retro-vintage bg-gradient-to-br from-pastel-pink to-pastel-blue text-pastel-gray min-h-screen p-8 dark:from-pastel-gray dark:to-pastel-purple dark:text-pastel-pink">
<!-- Component Container -->
<div class="max-w-4xl mx-auto bg-white bg-opacity-30 rounded-lg shadow-lg overflow-hidden dark:bg-gray-800 dark:bg-opacity-50">
<!-- 360 Viewer Placeholder -->
<div class="relative w-full" style="padding-top: 75%;">
<!-- This is a placeholder for the 360 viewer. In a real application, a 360 viewer library/script would be initialized here. -->
<div class="absolute top-0 left-0 w-full h-full flex items-center justify-center bg-pastel-light-gray dark:bg-pastel-dark-blue">
<p class="text-pastel-dark-gray text-xl font-bold dark:text-pastel-light-gray">360° Viewer Placeholder</p>
</div>
</div>
<!-- Product Info & Controls (placeholder) -->
<div class="p-6">
<h2 class="text-2xl font-bold mb-4 dark:text-pastel-light-gray">Product Name</h2>
<p class="text-pastel-dark-gray mb-4 dark:text-pastel-light-gray">Product description goes here. This is a placeholder.</p>
<!-- Controls Placeholder -->
<div class="flex justify-center space-x-4">
<button class="px-4 py-2 bg-pastel-pink text-white rounded hover:bg-pastel-red transition duration-300 dark:bg-pastel-purple dark:hover:bg-pastel-pink">Rotate Left</button>
<button class="px-4 py-2 bg-pastel-blue text-white rounded hover:bg-pastel-dark-blue transition duration-300 dark:bg-pastel-pink dark:hover:bg-pastel-purple">Rotate Right</button>
</div>
</div>
</div>
</div>
관련 구성 요소
360_viewer_component_sports_grayscale
스포츠/피트니스 애플리케이션을 위한 간단하고 반응이 빠른 360° 뷰어 구성 요소로, 그레이스케일 색 구성표와 다크 모드를 지원하는 수채화/예술적 스타일을 특징으로 합니다.
360DegreeViewer구성 요소
브루탈리즘 디자인, 보색 및 다크 모드를 지원하는 간단한 360 뷰어 구성 요소입니다. HTML 및 Tailwind CSS만 사용합니다.