Maps 컴포넌트
머티리얼 디자인(Material Design) 미학과 흙색 배합이 있는 단순하고 반응이 빠른 지도 구성 요소로, 다크 모드를 지원합니다. 위치 기반 콘텐츠를 재미있게 보여주는 엔터테인먼트/미디어 플랫폼에 적합합니다.
HTML 코드
<div class="p-4 md:p-8 lg:p-12 bg-stone-100 dark:bg-stone-900 min-h-screen flex items-center justify-center font-sans">
<div class="w-full max-w-4xl rounded-2xl shadow-xl dark:shadow-2xl overflow-hidden bg-white dark:bg-stone-800 transition-colors duration-300 ease-in-out">
<!-- Map Header -->
<div class="relative h-48 sm:h-64 md:h-80 bg-gradient-to-br from-stone-500 to-stone-700 dark:from-stone-700 dark:to-stone-900 overflow-hidden flex items-center justify-center p-4">
<img src="https://picsum.photos/1000/600?grayscale&blur=5" alt="Abstract Map Background" class="absolute inset-0 w-full h-full object-cover opacity-30">
<div class="relative z-10 text-center">
<h2 class="text-2xl sm:text-3xl lg:text-4xl font-bold text-white mb-2">Explore New Horizons</h2>
<p class="text-stone-200 text-sm sm:text-base">Discover captivating places, near and far.</p>
</div>
<button class="absolute top-4 right-4 bg-white/20 hover:bg-white/30 text-white rounded-full p-2 focus:outline-none focus:ring-2 focus:ring-white focus:ring-opacity-50 transition-colors duration-200">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path></svg>
</button>
</div>
<!-- Map Content Area -->
<div class="p-4 sm:p-6 lg:p-8">
<div class="mb-6">
<h3 class="text-xl sm:text-2xl font-semibold text-stone-800 dark:text-stone-100 mb-2">Popular Destinations</h3>
<p class="text-stone-600 dark:text-stone-300 text-sm">Hand-picked locations entertainment enthusiasts love.</p>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6">
<!-- Location Card 1 -->
<div class="bg-stone-50 dark:bg-stone-700 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-200 overflow-hidden">
<img src="https://picsum.photos/300/200?random=1" alt="Placeholder Image for Location 1" class="w-full h-32 object-cover">
<div class="p-3">
<h4 class="text-lg font-medium text-stone-800 dark:text-stone-100 mb-1">Mystic Lake</h4>
<p class="text-sm text-stone-500 dark:text-stone-400">A serene spot for nature documentaries.</p>
<a href="#" class="mt-2 inline-block text-amber-600 dark:text-amber-400 hover:underline text-sm font-medium">View Map</a>
</div>
</div>
<!-- Location Card 2 -->
<div class="bg-stone-50 dark:bg-stone-700 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-200 overflow-hidden">
<img src="https://picsum.photos/300/200?random=2" alt="Placeholder Image for Location 2" class="w-full h-32 object-cover">
<div class="p-3">
<h4 class="text-lg font-medium text-stone-800 dark:text-stone-100 mb-1">Ancient Ruins</h4>
<p class="text-sm text-stone-500 dark:text-stone-400">Ideal for historical drama series.</p>
<a href="#" class="mt-2 inline-block text-amber-600 dark:text-amber-400 hover:underline text-sm font-medium">View Map</a>
</div>
</div>
</div>
<!-- Call to Action / Footer -->
<div class="mt-8 pt-6 border-t border-stone-200 dark:border-stone-600 text-center">
<p class="text-stone-600 dark:text-stone-300 text-sm mb-4">Can't find what you're looking for?</p>
<button class="px-6 py-3 bg-amber-600 hover:bg-amber-700 text-white font-medium rounded-full shadow-md hover:shadow-lg transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-stone-800">
Suggest a New Place
</button>
</div>
</div>
</div>
</div>
관련 구성 요소
Retro Maps 컴포넌트
Tailwind CSS를 사용하여 레트로/빈티지 디자인, 유사한 색 구성표 및 어두운 테마를 지원하는 간단하고 반응이 빠른 지도 구성 요소입니다. 블로그 또는 콘텐츠 웹사이트에 적합합니다.
Paper_Print_Sepia_Sports_Map_Component
스포츠/피트니스 애플리케이션을 위한 반응형 지도와 같은 구성 요소로, 종이/인쇄에서 영감을 받은 디자인과 세피아/갈색 색 구성표가 있습니다. 여기에는 시뮬레이션된 지도 영역, 위치 핀 및 범례가 포함되며 완전한 다크 모드가 지원됩니다.
Maps 컴포넌트
스큐어모피즘 디자인, 트라이어딕 색 구성표, 중간 정도의 복잡성 및 소셜 미디어 목적이 있는 지도 구성 요소. Tailwind CSS를 사용하여 어두운 테마를 지원하는 반응형 디자인.