Profile Gallery.

profile
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Profile Gallery</title>
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">

<div class="container mx-auto p-6">
  <div class="bg-white rounded-lg overflow-hidden shadow-lg">
    <div class="relative">
      <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-72 object-cover">
      <div class="absolute inset-0 flex justify-between items-center px-6 py-4">
        <div class="flex items-center space-x-6">
          <div class="text-center">
            <i class="fa fa-file text-xl mb-2"></i>
            <h4 class="text-lg font-semibold">938</h4>
            <p class="text-gray-600">Posts</p>
          </div>
          <div class="text-center">
            <i class="fa fa-user text-xl mb-2"></i>
            <h4 class="text-lg font-semibold">4,586</h4>
            <p class="text-gray-600">Followers</p>
          </div>
          <div class="text-center">
            <i class="fa fa-check text-xl mb-2"></i>
            <h4 class="text-lg font-semibold">6,659</h4>
            <p class="text-gray-600">Following</p>
          </div>
        </div>
        <ul class="flex space-x-3">
          <li>
            <a href="javascript:void(0)" class="text-white bg-blue-500 p-2 rounded-full">
              <i class="fab fa-facebook"></i>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)" class="text-white bg-gray-500 p-2 rounded-full">
              <i class="fab fa-twitter"></i>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)" class="text-white bg-pink-500 p-2 rounded-full">
              <i class="fab fa-dribbble"></i>
            </a>
          </li>
          <li>
            <a href="javascript:void(0)" class="text-white bg-red-500 p-2 rounded-full">
              <i class="fab fa-youtube"></i>
            </a>
          </li>
        </ul>
      </div>
    </div>
    <div class="text-center mt-8">
      <div class="relative inline-block">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/codezillaye-high-resolution-logo.png" alt="" class="w-24 h-24 rounded-full border-4 border-white">
      </div>
      <h5 class="text-2xl font-semibold mt-2">CodezillaYe</h5>
      <p class="text-gray-600">Designer</p>
    </div>
    <div class="mt-6">
      <ul class="flex justify-center space-x-4">
        <li>
          <button class="text-gray-600 hover:text-blue-500">
            <i class="fa fa-user"></i>
            <span class="ml-2">Profile</span>
          </button>
        </li>
        <li>
          <button class="text-gray-600 hover:text-red-500">
            <i class="fa fa-heart"></i>
            <span class="ml-2">Followers</span>
          </button>
        </li>
        <li>
          <button class="text-gray-600 hover:text-green-500">
            <i class="fa fa-users"></i>
            <span class="ml-2">Friends</span>
          </button>
        </li>
        <li>
          <button class="text-gray-600 hover:text-yellow-500">
            <i class="fa fa-photo"></i>
            <span class="ml-2">Gallery</span>
          </button>
        </li>
      </ul>
    </div>
  </div>
  <div class="mt-6">
    <div class="flex justify-between items-center mb-4">
      <h3 class="text-xl font-semibold">Gallery <span class="bg-gray-200 text-gray-600 px-2 py-1 rounded">12</span></h3>
      <div class="relative">
        <input type="text" class="form-input py-2 px-4 pl-10 border border-gray-300 rounded-md" placeholder="Search Friends">
        <i class="fas fa-search absolute top-0 left-0 mt-3 ml-3 text-gray-600"></i>
      </div>
    </div>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 1</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mt-2 w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 1</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mt-2 w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 1</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mt-2 w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 1</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mt-2 w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 1</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mt-2 w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-2 text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <!-- Repeat similar blocks for other images -->
      <!-- Image Card 2 -->
      <div class="bg-white rounded-lg shadow-lg overflow-hidden">
        <img src="https://codezillaye.com/wp-content/uploads/2024/06/Header.png" alt="" class="w-full h-56 object-cover">
        <div class="p-4 flex justify-between items-center">
          <div>
            <h6 class="text-lg font-semibold">Image 2</h6>
            <span class="text-gray-600">Wed, june 20, 2024</span>
          </div>
          <div class="relative">
            <button class="text-gray-600 hover:text-gray-800">
              <i class="fas fa-ellipsis-v"></i>
            </button>
            <div class="absolute right-0 mb-12  w-48 bg-white border border-gray-300 rounded-md shadow-lg">
              <a href="javascript:void(0)" class="block px-4 py-4   text-gray-600 hover:bg-gray-100">Option 1</a>
              <a href="javascript:void(0)" class="block px-4 py-4  text-gray-600 hover:bg-gray-100">Option 2</a>
            </div>
          </div>
        </div>
      </div>
      <!-- Add more image cards as needed -->
    </div>
  </div>
</div>

<script>
  // TailwindCSS requires a small JavaScript snippet for dynamic components like dropdowns.
  document.addEventListener('click', function (e) {
    var target = e.target;
    var dropdowns = document.querySelectorAll('.relative .absolute');
    dropdowns.forEach(function (dropdown) {
      if (dropdown.contains(target)) {
        dropdown.classList.toggle('hidden');
      } else {
        dropdown.classList.add('hidden');
      }
    });
  });
</script>

</body>
</html>