Componente de visualización de contenido Art Deco
Un componente de visualización de contenido complejo y receptivo inspirado en el Art Deco para sitios web comerciales / corporativos, con patrones geométricos, ricos tonos joya y soporte para modo oscuro. Incluye varias secciones para características, testimonios y llamadas a la acción.
Código HTML
<div class="font-sans bg-gray-50 text-gray-900 dark:bg-gray-900 dark:text-gray-50 py-16 px-4 sm:px-6 lg:px-8 overflow-hidden">
<!-- Header Section with Geometric Accent -->
<div class="relative max-w-7xl mx-auto mb-16 text-center">
<div class="absolute inset-x-0 top-0 h-1/2 bg-gradient-to-br from-emerald-600 to-teal-700 dark:from-emerald-800 dark:to-teal-900 opacity-20 transform -skew-y-3 z-0"></div>
<h1 class="relative text-4xl sm:text-5xl lg:text-6xl font-extrabold tracking-tight text-emerald-800 dark:text-emerald-300 mb-4 z-10">
<span class="block">Elevating Your Vision</span>
<span class="text-ruby-700 dark:text-ruby-400">With Unrivaled Precision</span>
</h1>
<p class="relative mt-4 text-xl text-gray-700 dark:text-gray-300 max-w-3xl mx-auto z-10">
Discover the cornerstone of modern enterprise with our bespoke solutions, crafted for the discerning business.
</p>
<div class="relative w-24 h-1 items-center justify-center mx-auto mt-8 mb-4 bg-sapphire-600 dark:bg-sapphire-400 transform skew-x-12 z-10"></div>
</div>
<!-- Main Content Grid -->
<div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-12">
<!-- Feature Card 1 -->
<div class="group relative bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 transform transition duration-500 hover:scale-105 hover:shadow-2xl overflow-hidden animate-fade-in-up">
<div class="absolute inset-0 bg-gradient-to-br from-emerald-500 to-teal-600 dark:from-emerald-700 dark:to-teal-800 opacity-10 group-hover:opacity-20 transition-opacity duration-300"></div>
<div class="relative z-10">
<div class="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-600 dark:bg-emerald-500 text-white shadow-lg mb-6 transform -rotate-12 group-hover:rotate-0 transition-transform duration-300">
<svg class="h-8 w-8" 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="M9.75 17L9.75 12L12 12V17L9.75 17ZM5.75 12L5.75 17L8 17L8 12L5.75 12ZM13.75 12L13.75 17L16 17L16 12L13.75 12ZM19.75 12L19.75 17L22 17L22 12L19.75 12ZM2 10L22 10V4L2 4V10ZM2 2L22 2L22 19L2 19V2Z"></path>
</svg>
</div>
<h3 class="text-2xl font-bold text-emerald-800 dark:text-emerald-300 mb-4">Visionary Strategy</h3>
<p class="text-gray-700 dark:text-gray-300 leading-relaxed">
Harness the power of foresight with our cutting-edge strategic insights, tailored to navigate the complexities of tomorrow's market.
</p>
<a href="#" class="mt-6 inline-flex items-center text-sapphire-700 dark:text-sapphire-400 font-semibold group-hover:text-sapphire-600 dark:group-hover:text-sapphire-300 transition-colors duration-300">
Explore More
<svg class="ml-2 w-4 h-4 transform translate-x-0 group-hover:translate-x-1 transition-transform duration-300" 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="M17 8l4 4m0 0l-4 4m4-4H3"></path></svg>
</a>
</div>
</div>
<!-- Feature Card 2 -->
<div class="group relative bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 transform transition duration-500 hover:scale-105 hover:shadow-2xl overflow-hidden animate-fade-in-up delay-200">
<div class="absolute inset-0 bg-gradient-to-br from-sapphire-500 to-indigo-600 dark:from-sapphire-700 dark:to-indigo-800 opacity-10 group-hover:opacity-20 transition-opacity duration-300"></div>
<div class="relative z-10">
<div class="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-sapphire-600 dark:bg-sapphire-500 text-white shadow-lg mb-6 transform rotate-12 group-hover:rotate-0 transition-transform duration-300">
<svg class="h-8 w-8" 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="M3 6l3 1m0 0l-3 9a5.002 5.002 0 006.007 6.38L21 17l-3-7h4L10 21v-7a5.002 5.002 0 00-6.007-6.38L3 6z"></path>
</svg>
</div>
<h3 class="text-2xl font-bold text-sapphire-800 dark:text-sapphire-300 mb-4">Robust Implementation</h3>
<p class="text-gray-700 dark:text-gray-300 leading-relaxed">
From concept to execution, our meticulous implementation ensures seamless integration and unparalleled performance.
</p>
<a href="#" class="mt-6 inline-flex items-center text-sapphire-700 dark:text-sapphire-400 font-semibold group-hover:text-sapphire-600 dark:group-hover:text-sapphire-300 transition-colors duration-300">
Learn How
<svg class="ml-2 w-4 h-4 transform translate-x-0 group-hover:translate-x-1 transition-transform duration-300" 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="M17 8l4 4m0 0l-4 4m4-4H3"></path></svg>
</a>
</div>
</div>
<!-- Feature Card 3 -->
<div class="group relative bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 transform transition duration-500 hover:scale-105 hover:shadow-2xl overflow-hidden animate-fade-in-up delay-400">
<div class="absolute inset-0 bg-gradient-to-br from-ruby-500 to-rose-600 dark:from-ruby-700 dark:to-rose-800 opacity-10 group-hover:opacity-20 transition-opacity duration-300"></div>
<div class="relative z-10">
<div class="mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-ruby-600 dark:bg-ruby-500 text-white shadow-lg mb-6 transform -rotate-12 group-hover:rotate-0 transition-transform duration-300">
<svg class="h-8 w-8" 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="M9 12l2 2 4-4m5.618-4.504A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.552M12 2.944V3m0 0V19.944m0-16.992a1.5 1.5 0 00-1.5 1.5V11.25a1.5 1.5 0 001.5 1.5 1.5 1.5 0 001.5-1.5V4.444A1.5 1.5 0 0012 2.944zm0 0L21 12M3 12l9 9"></path>
</svg>
</div>
<h3 class="text-2xl font-bold text-ruby-800 dark:text-ruby-300 mb-4">Sustainable Growth</h3>
<p class="text-gray-700 dark:text-gray-300 leading-relaxed">
Cultivate lasting success with our growth-oriented strategies, designed for long-term prosperity and market leadership.
</p>
<a href="#" class="mt-6 inline-flex items-center text-sapphire-700 dark:text-sapphire-400 font-semibold group-hover:text-sapphire-600 dark:group-hover:text-sapphire-300 transition-colors duration-300">
Start Growing
<svg class="ml-2 w-4 h-4 transform translate-x-0 group-hover:translate-x-1 transition-transform duration-300" 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="M17 8l4 4m0 0l-4 4m4-4H3"></path></svg>
</a>
</div>
</div>
</div>
<!-- Testimonial Section -->
<div class="max-w-7xl mx-auto mt-24">
<h2 class="text-center text-3xl font-extrabold text-emerald-800 dark:text-emerald-300 mb-12 sm:mb-16">
What Our Visionaries Say
</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
<!-- Testimonial 1 -->
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 relative flex flex-col md:flex-row items-center md:items-start space-y-6 md:space-y-0 md:space-x-8 animate-fade-in-right">
<div class="absolute inset-0 bg-gradient-to-br from-sapphire-500 to-indigo-600 dark:from-sapphire-700 dark:to-indigo-800 opacity-10 blur-sm rounded-lg"></div>
<div class="flex-shrink-0 relative z-10">
<img class="h-24 w-24 rounded-full object-cover border-4 border-sapphire-400 dark:border-sapphire-600 shadow-md" src="https://randomuser.me/api/portraits/women/68.jpg" alt="Client Avatar">
</div>
<div class="relative z-10 text-center md:text-left">
<p class="text-lg text-gray-700 dark:text-gray-300 italic mb-4 leading-relaxed">“Partnering with them was a paradigm shift. Their meticulous approach led to unprecedented growth and market dominance.”</p>
<p class="font-bold text-xl text-sapphire-800 dark:text-sapphire-300">Eleanor Vance</p>
<p class="text-ruby-700 dark:text-ruby-400 text-sm">CEO, Global Innovations Corp.</p>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl p-8 relative flex flex-col md:flex-row items-center md:items-start space-y-6 md:space-y-0 md:space-x-8 animate-fade-in-left">
<div class="absolute inset-0 bg-gradient-to-br from-emerald-500 to-teal-600 dark:from-emerald-700 dark:to-teal-800 opacity-10 blur-sm rounded-lg"></div>
<div class="flex-shrink-0 relative z-10">
<img class="h-24 w-24 rounded-full object-cover border-4 border-emerald-400 dark:border-emerald-600 shadow-md" src="https://randomuser.me/api/portraits/men/44.jpg" alt="Client Avatar">
</div>
<div class="relative z-10 text-center md:text-left">
<p class="text-lg text-gray-700 dark:text-gray-300 italic mb-4 leading-relaxed">“Their strategic foresight is unparalleled. We've optimized our operations and expanded our reach beyond expectations.”</p>
<p class="font-bold text-xl text-emerald-800 dark:text-emerald-300">Julian Thorne</p>
<p class="text-ruby-700 dark:text-ruby-400 text-sm">CTO, Apex Dynamics</p>
</div>
</div>
</div>
</div>
<!-- Call to Action Section -->
<div class="max-w-7xl mx-auto mt-24 relative overflow-hidden rounded-lg shadow-2xl animate-fade-in-up delay-600">
<div class="absolute inset-0 bg-gradient-to-br from-ruby-600 to-rose-700 dark:from-ruby-800 dark:to-rose-900 opacity-90"></div>
<div class="relative z-10 p-12 sm:p-16 lg:flex lg:items-center lg:justify-between">
<div class="text-center lg:text-left">
<h2 class="text-3xl sm:text-4xl font-extrabold text-white mb-4">
Ready to Redefine Your Future?
</h2>
<p class="text-xl text-ruby-200 dark:text-ruby-300 max-w-2xl mx-auto lg:mx-0">
Join the elite who trust our expertise to carve their path to unparalleled success. Your journey begins now.
</p>
</div>
<div class="mt-10 flex flex-col sm:flex-row items-center justify-center lg:mt-0 lg:ml-8 flex-shrink-0 space-y-4 sm:space-y-0 sm:space-x-4">
<a href="#" class="w-full sm:w-auto px-8 py-4 border border-transparent text-lg font-medium rounded-full shadow-lg text-emerald-900 bg-emerald-300 hover:bg-emerald-200 dark:text-emerald-900 dark:bg-emerald-300 dark:hover:bg-emerald-200 transition-colors duration-300 transform hover:scale-105 active:scale-95">
Get Started Now
</a>
<a href="#" class="w-full sm:w-auto px-8 py-4 border-2 border-white text-lg font-medium rounded-full text-white hover:bg-white hover:text-ruby-700 dark:hover:text-ruby-700 dark:hover:bg-white transition-colors duration-300 transform hover:scale-105 active:scale-95">
Learn More
</a>
</div>
</div>
</div>
</div>
<style>
/* Custom colors for Art Deco palette */
.text-emerald-800 { color: #065F46; } /* Darker Emerald */
.dark\:text-emerald-300 { color: #6EE7B7; } /* Lighter Emerald for Dark Mode */
.bg-emerald-600 { background-color: #059669; }
.dark\:bg-emerald-500 { background-color: #10B981; }
.from-emerald-500 { --tw-gradient-from: #10B981; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0)); }
.to-teal-600 { --tw-gradient-to: #0D9488; }
.dark\:from-emerald-700 { --tw-gradient-from: #047857; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(4, 120, 87, 0)); }
.dark\:to-teal-800 { --tw-gradient-to: #0F766E; }
.text-sapphire-800 { color: #1E40AF; } /* Darker Sapphire */
.dark\:text-sapphire-300 { color: #93C5FD; } /* Lighter Sapphire for Dark Mode */
.bg-sapphire-600 { background-color: #2563EB; }
.dark\:bg-sapphire-500 { background-color: #3B82F6; }
.from-sapphire-500 { --tw-gradient-from: #3B82F6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0)); }
.to-indigo-600 { --tw-gradient-to: #4F46E5; }
.dark\:from-sapphire-700 { --tw-gradient-from: #1D4ED8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0)); }
.dark\:to-indigo-800 { --tw-gradient-to: #3730A3; }
.text-ruby-700 { color: #B91C1C; } /* Darker Ruby */
.dark\:text-ruby-400 { color: #F87171; } /* Lighter Ruby for Dark Mode */
.bg-ruby-600 { background-color: #DC2626; }
.dark\:bg-ruby-500 { background-color: #EF4444; }
.from-ruby-500 { --tw-gradient-from: #EF4444; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 68, 68, 0)); }
.to-rose-600 { --tw-gradient-to: #E11D48; }
.dark\:from-ruby-700 { --tw-gradient-from: #B91C1C; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(185, 28, 28, 0)); }
.dark\:to-rose-800 { --tw-gradient-to: #9F1239; }
.from-emerald-600 { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.dark\:from-emerald-800 { --tw-gradient-from: #065F46; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 95, 70, 0)); }
/* Animation keyframes */
@keyframes fade-in-up {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-right {
from { opacity: 0; transform: translateX(-20px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in-left {
from { opacity: 0; transform: translateX(20px); }
to { opacity: 1; transform: translateX(0); }
}
/* Apply animations to elements */
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; /* ensure initial state is hidden */ }
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }
.animate-fade-in-right { animation: fade-in-right 0.8s ease-out forwards; opacity: 0; }
.animate-fade-in-left { animation: fade-in-left 0.8s ease-out forwards; opacity: 0; }
/* Dark mode transition */
body { transition: background-color 0.3s ease; }
div, h1, h2, h3, p, a, img { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
</style>
Componentes relacionados
Componente de visualización de contenido
Un componente de visualización de contenido responsivo que incorpora microinteracciones con animaciones atractivas centradas en las acciones del usuario. Incluye soporte para el modo oscuro y marcadores de posición para imágenes y avatares.
Componentes de visualización de contenido
Un componente de visualización de contenido responsivo para blog o consumo de contenido con un estilo de diseño 3D y soporte de tema oscuro.
Componentes de visualización de contenido
Un portafolio de diseño 3D que muestra trabajos o productos con un esquema de color en escala de grises y un diseño receptivo, compatible con el modo oscuro.