deepsite-project / index.html
vivek3322's picture
NOT warking
6ad73f9 verified
Raw
History Blame Contribute Delete
3.11 kB
<!DOCTYPE html>
<html lang="hi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>InstaChatFeed</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://cdn.tailwindcss.com"></script>
<style>
.bottom-nav {
position: fixed;
bottom: 0;
width: 100%;
}
.upload-btn {
transform: translateY(-50%);
}
</style>
</head>
<body class="bg-gray-100">
<div class="max-w-md mx-auto bg-white min-h-screen relative pb-16">
<!-- Header -->
<header class="p-4 border-b">
<h1 class="text-xl font-bold text-center">InstaChatFeed</h1>
</header>
<!-- Feed Content -->
<main class="pb-4">
<!-- Sample Post -->
<div class="border-b pb-4 mb-4">
<div class="flex items-center p-3">
<img src="http://static.photos/people/200x200/1" class="w-10 h-10 rounded-full mr-3">
<div>
<p class="font-semibold">username</p>
<p class="text-xs text-gray-500">Location</p>
</div>
</div>
<div class="bg-gray-200 aspect-square w-full">
<img src="http://static.photos/nature/640x360/1" class="w-full h-full object-cover">
</div>
<div class="p-3">
<div class="flex justify-between mb-2">
<div class="flex space-x-4">
<button><i class="far fa-heart text-2xl"></i></button>
<button><i class="far fa-comment text-2xl"></i></button>
<button><i class="far fa-paper-plane text-2xl"></i></button>
</div>
<button><i class="far fa-bookmark text-2xl"></i></button>
</div>
<p class="font-semibold">1,234 likes</p>
<p><span class="font-semibold">username</span> This is a sample post caption</p>
<p class="text-gray-500 text-sm">2 hours ago</p>
</div>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="bottom-nav bg-white border-t flex justify-around items-center p-3">
<a href="#" class="text-2xl"><i class="fas fa-home"></i></a>
<a href="#" class="text-2xl"><i class="fas fa-search"></i></a>
<div class="upload-btn">
<button class="bg-gradient-to-r from-purple-500 to-pink-500 text-white w-14 h-14 rounded-full flex items-center justify-center text-2xl shadow-lg">
<i class="fas fa-plus hovered-element"></i>
</button>
</div>
<a href="chat.html" class="text-2xl"><i class="fas fa-comment-dots"></i></a>
<a href="profile.html" class="text-2xl"><i class="fas fa-user"></i></a>
</nav>
</div>
</body>
</html>