구성 요소 지도 Maps 컴포넌트

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>

관련 구성 요소

Cyberpunk_Gaming_Maps_Component

게임 인터페이스를 위한 단순하고 반응이 빠른 사이버펑크 테마 맵 구성 요소로, 어두운 배경, 네온 액센트 및 유사한 색 구성표를 특징으로 합니다. 다크 모드 지원이 포함됩니다.

열다

Maps 컴포넌트

교육용 플랫폼을 위해 설계된 반응형 지도와 같은 구성 요소로, 인터랙티브 요소와 다크 모드를 지원하는 부드러운 파스텔 색상을 특징으로 합니다. 미묘한 호버 및 활성 상태와 같은 미시적 상호 작용에 중점을 둡니다.

열다

Brutalist Dashboard 맵 컴포넌트

Tailwind CSS를 사용하여 생생한 색상, 고대비, 복잡한 대화형 요소, 반응형 디자인 및 어두운 테마를 지원하는 브루탈리즘 스타일의 대시보드 맵 구성 요소입니다.

열다