deepsite-project / chat.html
vivek3322's picture
NOT warking
6ad73f9 verified
Raw
History Blame Contribute Delete
3.87 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%;
}
.chat-container {
padding-bottom: 100px;
}
</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 flex justify-between items-center">
<button><i class="fas fa-arrow-left"></i></button>
<h1 class="text-lg font-semibold">username</h1>
<button><i class="fas fa-info-circle"></i></button>
</header>
<!-- Chat Messages -->
<div class="chat-container p-4">
<!-- Received Message -->
<div class="flex mb-4">
<img src="http://static.photos/people/200x200/2" class="w-8 h-8 rounded-full mr-2">
<div>
<div class="bg-gray-200 rounded-lg py-2 px-3 max-w-xs">
<p>नमस्ते! कैसे हो?</p>
</div>
<p class="text-xs text-gray-500 mt-1">10:30 AM</p>
</div>
</div>
<!-- Sent Message -->
<div class="flex justify-end mb-4">
<div>
<div class="bg-blue-500 text-white rounded-lg py-2 px-3 max-w-xs">
<p>मैं अच्छा हूँ। तुम कैसी हो?</p>
</div>
<p class="text-xs text-gray-500 mt-1 text-right">10:32 AM <i class="fas fa-check-double text-blue-500"></i></p>
</div>
</div>
<!-- Media Message -->
<div class="flex mb-4">
<img src="http://static.photos/people/200x200/2" class="w-8 h-8 rounded-full mr-2">
<div>
<img src="http://static.photos/nature/320x240/3" class="rounded-lg w-40">
<p class="text-xs text-gray-500 mt-1">10:33 AM</p>
</div>
</div>
</div>
<!-- Message Input -->
<div class="fixed bottom-16 left-0 right-0 bg-white border-t p-3">
<div class="flex items-center">
<button class="text-gray-500 mr-2"><i class="far fa-smile text-2xl"></i></button>
<button class="text-gray-500 mr-2"><i class="fas fa-paperclip text-2xl"></i></button>
<input type="text" placeholder="संदेश भेजें..." class="flex-1 border rounded-full py-2 px-4">
<button class="ml-2 text-blue-500"><i class="fas fa-microphone text-2xl"></i></button>
</div>
</div>
<!-- Bottom Navigation -->
<nav class="bottom-nav bg-white border-t flex justify-around items-center p-3">
<a href="index.html" class="text-2xl"><i class="fas fa-home"></i></a>
<a href="#" class="text-2xl"><i class="fas fa-search"></i></a>
<a href="upload.html" class="text-2xl text-blue-500">
<button class="bg-gradient-to-r from-purple-500 to-pink-500 text-white w-12 h-12 rounded-full flex items-center justify-center text-xl shadow-lg">
<i class="fas fa-plus hovered-element"></i>
</button>
</a>
<a href="chat.html" class="text-2xl text-blue-500"><i class="fas fa-comment-dots"></i></a>
<a href="#" class="text-2xl"><i class="fas fa-user"></i></a>
</nav>
</div>
</body>
</html>