Présentation du portefeuille
Il s’agit d’un composant de mise en page réactif simple pour un portefeuille axé sur les micro-interactions avec des couleurs complémentaires, la prise en charge du mode sombre et un minimum d’éléments.
HTML Code
<div class="flex flex-col min-h-screen bg-gradient-to-br from-purple-500 to-pink-500 dark:from-gray-800 dark:to-black">
<!-- Header with microinteraction -->
<header class="w-full px-4 py-3 bg-white bg-opacity-10 backdrop-filter backdrop-blur-lg flex justify-between items-center border-b border-white border-opacity-20 transition duration-300 ease-in-out transform hover:scale-105">
<h1 class="text-xl font-bold text-white">My Portfolio</h1>
<nav>
<ul class="flex space-x-4">
<li><a href="#" class="text-white hover:text-pink-200 transition duration-300 ease-in-out hover:underline">Home</a></li>
<li><a href="#" class="text-white hover:text-pink-200 transition duration-300 ease-in-out hover:underline">Projects</a></li>
<li><a href="#" class="text-white hover:text-pink-200 transition duration-300 ease-in-out hover:underline">Contact</a></li>
</ul>
</nav>
</header>
<!-- Main content area -->
<main class="flex-grow container mx-auto px-4 py-8 text-white">
<section class="text-center mb-12">
<h2 class="text-4xl font-semibold mb-4">Welcome to my portfolio</h2>
<p class="text-lg">Showcasing my work with a touch of interaction.</p>
</section>
<!-- Example Project Card with microinteraction -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="bg-white bg-opacity-5 backdrop-filter backdrop-blur-lg rounded-lg p-6 shadow-lg transition duration-300 ease-in-out transform hover:-translate-y-2">
<h3 class="text-2xl font-bold mb-3">Project One</h3>
<p class="text-white text-opacity-80 mb-4">A brief description of project one.</p>
<img src="https://picsum.photos/seed/project1/400/300" alt="Project One" class="rounded-md mb-4">
<a href="#" class="inline-block bg-white text-purple-700 font-semibold py-2 px-4 rounded hover:bg-purple-200 transition duration-300 ease-in-out">Learn More</a>
</div>
<!-- Repeat for more project cards -->
<div class="bg-white bg-opacity-5 backdrop-filter backdrop-blur-lg rounded-lg p-6 shadow-lg transition duration-300 ease-in-out transform hover:-translate-y-2">
<h3 class="text-2xl font-bold mb-3">Project Two</h3>
<p class="text-white text-opacity-80 mb-4">A brief description of project two.</p>
<img src="https://picsum.photos/seed/project2/400/300" alt="Project Two" class="rounded-md mb-4">
<a href="#" class="inline-block bg-white text-purple-700 font-semibold py-2 px-4 rounded hover:bg-purple-200 transition duration-300 ease-in-out">Learn More</a>
</div>
<div class="bg-white bg-opacity-5 backdrop-filter backdrop-blur-lg rounded-lg p-6 shadow-lg transition duration-300 ease-in-out transform hover:-translate-y-2">
<h3 class="text-2xl font-bold mb-3">Project Three</h3>
<p class="text-white text-opacity-80 mb-4">A brief description of project three.</p>
<img src="https://picsum.photos/seed/project3/400/300" alt="Project Three" class="rounded-md mb-4">
<a href="#" class="inline-block bg-white text-purple-700 font-semibold py-2 px-4 rounded hover:bg-purple-200 transition duration-300 ease-in-out">Learn More</a>
</div>
</div>
</main>
<!-- Footer -->
<footer class="w-full px-4 py-6 text-center text-white text-opacity-80">
<p>© 2023 My Portfolio</p>
</footer>
</div>
Composants associés
Composant de mise en page 3D
Un composant de mise en page de médias sociaux réactif 3D Design avec une palette de couleurs en niveaux de gris. Convient aux interfaces de réseaux sociaux.
Retro_Jewel_Tone_Entertainment_Layout
Un composant de mise en page d’inspiration rétro/vintage de complexité modérée pour les plates-formes de divertissement, avec des tons de bijoux riches et une réactivité totale avec la prise en charge du mode sombre.
Composant de mise en page du commerce électronique
Un composant de mise en page e-commerce simple et réactif avec une esthétique Material Design en niveaux de gris, avec une grille de produits, un en-tête et un pied de page, le tout avec prise en charge du mode sombre. Utilise picsum.photos pour les images de produits.