Componente Mapas
Un componente de mapas responsivo diseñado con un estilo skeuomórfico, con suaves colores pastel y una interfaz rica adecuada para las redes sociales. El componente admite los modos claro y oscuro e incluye varios elementos interactivos.
Código HTML
<div class="flex flex-col items-center justify-center bg-white dark:bg-gray-800 rounded-lg shadow-lg w-full max-w-xl p-6">
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-4">Explore the Map</h2>
<div class="relative w-full h-64 rounded-lg overflow-hidden shadow-md transition-transform transform hover:scale-105">
<img src="https://picsum.photos/400/300?random=1" alt="Map" class="w-full h-full object-cover">
<div class="absolute inset-0 flex items-center justify-center">
<span class="bg-white dark:bg-gray-700 text-gray-800 dark:text-gray-200 font-semibold px-2 py-1 rounded-full shadow-md">Current Location</span>
</div>
</div>
<div class="mt-4 w-full">
<h3 class="text-xl font-semibold text-gray-700 dark:text-gray-300 mb-2">Connect with Friends</h3>
<div class="flex flex-wrap justify-between">
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg p-3 flex items-center mb-2 w-1/2 shadow-md">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full mr-3">
<div>
<p class="text-gray-800 dark:text-gray-200 font-bold">John Doe</p>
<p class="text-gray-600 dark:text-gray-400">@johndoe</p>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg p-3 flex items-center mb-2 w-1/2 shadow-md">
<img src="https://randomuser.me/api/portraits/men/2.jpg" alt="User Avatar" class="w-12 h-12 rounded-full mr-3">
<div>
<p class="text-gray-800 dark:text-gray-200 font-bold">Jane Smith</p>
<p class="text-gray-600 dark:text-gray-400">@janesmith</p>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg p-3 flex items-center mb-2 w-1/2 shadow-md">
<img src="https://randomuser.me/api/portraits/women/1.jpg" alt="User Avatar" class="w-12 h-12 rounded-full mr-3">
<div>
<p class="text-gray-800 dark:text-gray-200 font-bold">Alice Johnson</p>
<p class="text-gray-600 dark:text-gray-400">@alicejohnson</p>
</div>
</div>
</div>
</div>
</div>
Componentes relacionados
Componente Mapas
Un componente web diseñado para interfaces de redes sociales, con un diseño brutalista con un esquema de color en escala de grises, adecuado para mostrar mapas con ubicaciones marcadas.
Neon_Glow_Maps_Component
Un componente de mapa simple y receptivo con un efecto de neón/resplandor, diseñado para portafolios de fotografía. Cuenta con colores neutros fríos, compatibilidad con el modo oscuro e imagen de mapa de marcador de posición.