Componente del forum di finanza Art Deco
Un componente semplice e reattivo del forum della community, progettato in uno stile Art Déco tenue, adatto per interfacce finanziarie e bancarie, con supporto per la modalità oscura.
Codice HTML
<div class="font-sans bg-gray-100 dark:bg-zinc-900 min-h-screen p-4 sm:p-6 lg:p-8 flex items-center justify-center">
<div class="w-full max-w-4xl bg-gradient-to-br from-amber-50 to-emerald-50 dark:from-zinc-800 dark:to-zinc-950 rounded-lg shadow-xl overflow-hidden border-2 border-amber-200 dark:border-zinc-700
transform skew-y-1 scale-95 md:skew-y-0 md:scale-100 transition-all duration-500 ease-in-out">
<div class="transform -skew-y-1 md:skew-y-0">
<div class="p-6 sm:p-8 border-b-2 border-amber-200 dark:border-zinc-700">
<h2 class="text-2xl sm:text-3xl font-bold text-gray-800 dark:text-gray-100 mb-2 tracking-wide">
<span class="text-amber-700 dark:text-amber-300">Forum:</span> Investment Insights
</h2>
<p class="text-gray-600 dark:text-gray-400 text-sm sm:text-base">Discuss market trends, strategies, and financial news.</p>
</div>
<div class="p-6 sm:p-8 space-y-6">
<!-- Forum Post 1 -->
<div class="bg-white dark:bg-zinc-800 rounded-md p-4 sm:p-5 shadow-md border border-amber-100 dark:border-zinc-700">
<div class="flex items-center mb-3">
<img class="w-10 h-10 rounded-full mr-3 border-2 border-amber-300 dark:border-amber-500" src="https://randomuser.me/api/portraits/men/5.jpg" alt="User Avatar">
<div>
<p class="font-semibold text-gray-800 dark:text-gray-200">John Doe</p>
<p class="text-xs text-gray-500 dark:text-gray-400">2 hours ago</p>
</div>
</div>
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-100 mb-2">The Future of Digital Banking</h3>
<p class="text-gray-700 dark:text-gray-300 text-sm leading-relaxed">
"What are your thoughts on blockchain integration in traditional banking systems? Is it a threat or an opportunity for growth?"
</p>
<div class="mt-4 flex justify-between items-center text-gray-600 dark:text-gray-400 text-sm">
<div class="flex items-center space-x-4">
<span class="flex items-center"><svg class="w-4 h-4 mr-1 text-amber-600 dark:text-amber-400" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M18 10c0 3.866-3.582 7-8 7a8.841 8.841 0 01-4 1.135V18l-2 1v-2L1 15V5c0-2.209 4.03-4 9-4s9 1.791 9 4v5zm-5 0h2v2h-2v-2z" clip-rule="evenodd"></path></svg> 12 Comments</span>
</div>
<span class="px-3 py-1 bg-amber-100 dark:bg-zinc-700 text-amber-700 dark:text-amber-300 rounded-full text-xs font-medium">FinTech</span>
</div>
</div>
<!-- Forum Post 2 -->
<div class="bg-white dark:bg-zinc-800 rounded-md p-4 sm:p-5 shadow-md border border-amber-100 dark:border-zinc-700">
<div class="flex items-center mb-3">
<img class="w-10 h-10 rounded-full mr-3 border-2 border-amber-300 dark:border-amber-500" src="https://randomuser.me/api/portraits/women/8.jpg" alt="User Avatar">
<div>
<p class="font-semibold text-gray-800 dark:text-gray-200">Jane Smith</p>
<p class="text-xs text-gray-500 dark:text-gray-400">4 hours ago</p>
</div>
</div>
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-100 mb-2">Understanding ESG Investing</h3>
<p class="text-gray-700 dark:text-gray-300 text-sm leading-relaxed">
"I'm looking into ESG (Environmental, Social, and Governance) funds. Any recommendations or pitfalls to be aware of?"
</p>
<div class="mt-4 flex justify-between items-center text-gray-600 dark:text-gray-400 text-sm">
<div class="flex items-center space-x-4">
<span class="flex items-center"><svg class="w-4 h-4 mr-1 text-amber-600 dark:text-amber-400" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M18 10c0 3.866-3.582 7-8 7a8.841 8.841 0 01-4 1.135V18l-2 1v-2L1 15V5c0-2.209 4.03-4 9-4s9 1.791 9 4v5zm-5 0h2v2h-2v-2z" clip-rule="evenodd"></path></svg> 8 Comments</span>
</div>
<span class="px-3 py-1 bg-amber-100 dark:bg-zinc-700 text-amber-700 dark:text-amber-300 rounded-full text-xs font-medium">Sustainability</span>
</div>
</div>
</div>
<div class="p-6 sm:p-8 border-t-2 border-amber-200 dark:border-zinc-700 flex justify-center">
<button class="px-6 py-2 bg-amber-600 hover:bg-amber-700 dark:bg-amber-700 dark:hover:bg-amber-600 text-white font-semibold rounded-md shadow-lg transition duration-300 ease-in-out
transform hover:scale-105 active:scale-95 border-2 border-amber-700 dark:border-amber-800">
View All Discussions
</button>
</div>
</div>
</div>
</div>
Componenti correlati
Componente del forum della community
Un componente del forum della community semplice, pulito e reattivo progettato con uno stile tipografico svizzero/internazionale, caratterizzato da una sottile sfumatura multicolore e dal supporto della modalità scura, adatto per siti Web aziendali/aziendali.
Componente del forum della comunità (E-commerce Bauhaus)
Un componente semplice e reattivo del forum della community progettato per l'e-commerce, caratterizzato da forme geometriche ispirate al Bauhaus e una tavolozza di colori tenui. Include il supporto per la modalità oscura.
Componente del forum della community
Un componente reattivo del forum della comunità progettato in stile Glassmorphism con toni della Terra, adatto per le piattaforme di social media. Presenta un effetto vetro smerigliato ed è compatibile con la modalità scura.