Maps 컴포넌트
반응형 효과와 어두운 테마를 지원하는 glassmorphism 디자인을 특징으로 하는 Maps 구성 요소로, Tailwind CSS를 활용합니다.
HTML 코드
<div class="flex justify-center items-center h-screen bg-gray-100 dark:bg-gray-900">
<div class="bg-white dark:bg-gray-800 bg-opacity-30 backdrop-blur-md rounded-lg shadow-lg p-6 max-w-lg w-full">
<h2 class="text-2xl font-bold text-center text-gray-800 dark:text-gray-100 mb-4">Our Locations</h2>
<div class="relative">
<img src="https://picsum.photos/600/400?random=1" alt="Map Image" class="rounded-lg" />
<div class="absolute top-0 left-0 w-full h-full flex flex-col justify-center items-center">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-16 h-16 rounded-full border-4 border-white shadow-lg" />
<p class="text-sm text-gray-800 dark:text-gray-200 mt-2">Location A</p>
</div>
<div class="absolute top-1/4 right-1/4 w-full h-full flex flex-col justify-center items-center">
<img src="https://randomuser.me/api/portraits/women/1.jpg" alt="Avatar" class="w-16 h-16 rounded-full border-4 border-white shadow-lg" />
<p class="text-sm text-gray-800 dark:text-gray-200 mt-2">Location B</p>
</div>
<div class="absolute bottom-0 left-1/4 w-full h-full flex flex-col justify-center items-center">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="Avatar" class="w-16 h-16 rounded-full border-4 border-white shadow-lg" />
<p class="text-sm text-gray-800 dark:text-gray-200 mt-2">Location C</p>
</div>
</div>
<div class="flex justify-between mt-4">
<button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">View More</button>
<button class="bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Contact Us</button>
</div>
</div>
</div>
관련 구성 요소
Gradient_Forest_Maps_Component
교육용 플랫폼을 위한 간단하고 반응이 빠른 지도 구성 요소로, 포레스트 그린 그라디언트 팔레트와 부드러운 전환을 특징으로 하며 다크 모드를 지원합니다.
3D_Neon_Maps_Component
네온/일렉트릭 색상 구성표가 있는 복잡한 3D 스타일 지도 구성 요소로, 위치 또는 프로젝트를 보여주는 포트폴리오에 적합합니다. 빛나는 요소, 풍부한 인터랙티브와 같은 UI, 다크 모드 지원을 통한 완전한 응답성을 특징으로 합니다.