Componenti Lista dei desideri Componente Lista dei desideri

Componente Lista dei desideri

Un componente della lista dei desideri minimalista e reattivo con un tema arcobaleno sfumato multicolore, adatto per siti Web di notizie o giornalismo. Include il supporto per la modalità oscura ed elementi interattivi.

Anteprima

Codice HTML

<div class="p-4 sm:p-6 md:p-8 lg:p-10 bg-gray-50 dark:bg-gray-900 min-h-screen font-sans">

  <h1 class="text-3xl sm:text-4xl lg:text-5xl font-extrabold text-transparent bg-clip-text bg-gradient-to-r from-red-500 via-yellow-500 to-green-500 mb-6 sm:mb-8 lg:mb-10 text-center dark:from-red-400 dark:via-yellow-400 dark:to-green-400">
    Your Reading List
  </h1>

  <div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8">

    <!-- Wishlist Item 1 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-pink-500 dark:border-pink-600">
      <img src="https://picsum.photos/400/250?random=1" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">The Future of AI in Journalism: A Deep Dive into Ethical Considerations</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">Explore the ethical dilemmas and opportunities presented by artificial intelligence in the evolving landscape of news reporting and editorial processes.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/women/1.jpg" alt="Author Avatar">
          <span>Jane Doe</span>
          <span class="mx-2">•</span>
          <span>Mar 10, 2023</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

    <!-- Wishlist Item 2 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-purple-500 dark:border-purple-600">
      <img src="https://picsum.photos/400/250?random=2" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">The Comeback of Investigative Reporting: Why It Matters Now More Than Ever</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">In an era of misinformation, a renewed focus on deep, investigative journalism is crucial for a well-informed public and accountable institutions.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/2.jpg" alt="Author Avatar">
          <span>John Smith</span>
          <span class="mx-2">•</span>
          <span>Feb 28, 2023</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

    <!-- Wishlist Item 3 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-blue-500 dark:border-blue-600">
      <img src="https://picsum.photos/400/250?random=3" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">Interactive Storytelling: Engaging Audiences in the Digital Age</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">How news outlets are using immersive technologies and data visualizations to create compelling, interactive narratives that captivate readers.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/women/3.jpg" alt="Author Avatar">
          <span>Emily White</span>
          <span class="mx-2">•</span>
          <span>Jan 15, 2023</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

    <!-- Wishlist Item 4 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-green-500 dark:border-green-600">
      <img src="https://picsum.photos/400/250?random=4" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">Local News Revival: Strategies for Sustaining Community Journalism</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">Examining successful models and innovative approaches to reinvigorate local news organizations, ensuring vital information reaches communities.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/4.jpg" alt="Author Avatar">
          <span>David Lee</span>
          <span class="mx-2">•</span>
          <span>Jan 01, 2023</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

    <!-- Wishlist Item 5 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-yellow-500 dark:border-yellow-600">
      <img src="https://picsum.photos/400/250?random=5" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">The Psychology of Clickbait: Deconstructing Sensational Headlines</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">An analytical look into the psychological triggers behind clickbait headlines and their impact on journalistic integrity and reader trust.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/women/5.jpg" alt="Author Avatar">
          <span>Sarah Chen</span>
          <span class="mx-2">•</span>
          <span>Dec 18, 2022</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

    <!-- Wishlist Item 6 -->
    <div class="relative bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden group transform hover:scale-105 transition-transform duration-300 ease-in-out border-t-4 border-l-4 border-red-500 dark:border-red-600">
      <img src="https://picsum.photos/400/250?random=6" alt="Article thumbnail" class="w-full h-48 object-cover object-center">
      <div class="p-4">
        <h3 class="text-xl font-semibold text-gray-900 dark:text-white mb-2 line-clamp-2">Fact-Checking in the Digital Age: Tools and Techniques for Journalists</h3>
        <p class="text-sm text-gray-600 dark:text-gray-400 mb-3 line-clamp-3">A guide to essential resources and methodologies for verifying information and combating the spread of disinformation in online environments.</p>
        <div class="flex items-center text-sm text-gray-500 dark:text-gray-400 mb-4">
          <img class="w-7 h-7 rounded-full mr-2" src="https://randomuser.me/api/portraits/men/6.jpg" alt="Author Avatar">
          <span>Michael Brown</span>
          <span class="mx-2">•</span>
          <span>Nov 05, 2022</span>
        </div>
        <div class="flex justify-between items-center">
          <a href="#" class="text-blue-600 dark:text-blue-400 hover:underline text-sm font-medium">Read More</a>
          <button class="p-2 rounded-full text-gray-400 hover:text-red-500 dark:text-gray-500 dark:hover:text-red-400 transition-colors duration-200">
            <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
              <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
            </svg>
          </button>
        </div>
      </div>
    </div>

  </div>
</div>

Componenti correlati

Componente Lista dei desideri

Un componente reattivo per la lista dei desideri per applicazioni sportive/fitness, con microinterazioni, combinazione di colori ad alto contrasto e supporto per la modalità scura. Gli utenti possono aggiungere/rimuovere elementi e visualizzare un feedback visivo.

Aperto

Componente Lista dei desideri

Un componente reattivo della lista dei desideri progettato in modalità oscura utilizzando Tailwind CSS. Presenta un layout di carta per gli oggetti con immagini, descrizioni e avatar utente, che supporta il tema scuro e gli effetti reattivi.

Aperto

Componente Lista dei desideri

Un componente della lista dei desideri reattivo con elementi 3D e colori pastello, che supporta il tema scuro. Include molteplici elementi interattivi adatti all'e-commerce. Niente JavaScript, solo HTML e CSS Tailwind.

Aperto