undefined / chat.html
PratushAnand's picture
Title: PujaTogether – Celebrate Durga Puja With New Friends
15b04d6 verified
Raw History Blame Contribute Delete
7.22 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat - PujaTogether</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
.chat-container {
height: calc(100vh - 140px);
}
.messages-container {
height: calc(100% - 80px);
overflow-y: auto;
}
.glow-effect {
box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
</style>
</head>
<body class="bg-[#FFF5E1] font-['Poppins']">
<!-- Navigation -->
<nav class="bg-[#A4161A] text-white p-4">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="eye" class="text-[#FFD700]"></i>
<span class="text-xl font-bold font-['Dancing_Script']">PujaTogether</span>
</div>
<div class="flex space-x-4">
<a href="index.html" class="hover:text-[#FFD700] transition-colors">Home</a>
<a href="plans.html" class="hover:text-[#FFD700] transition-colors">Plans</a>
<a href="stories.html" class="hover:text-[#FFD700] transition-colors">Stories</a>
<a href="login.html" class="hover:text-[#FFD700] transition-colors">Login</a>
</div>
</div>
</nav>
<div class="container mx-auto p-4">
<h1 class="text-3xl font-bold text-[#600000] mb-6 text-center">PujaTogether Chat</h1>
<div class="grid md:grid-cols-4 gap-6 chat-container">
<!-- Chat List -->
<div class="bg-white rounded-lg shadow-lg p-4 glow-effect">
<h2 class="text-xl font-bold text-[#600000] mb-4">Conversations</h2>
<div class="space-y-2">
<div class="p-3 bg-[#FFF5E1] rounded-lg cursor-pointer hover:bg-[#FFD700] transition-colors">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/2" alt="User" class="w-10 h-10 rounded-full">
<div>
<p class="font-semibold text-[#600000]">Global Puja Chat</p>
<p class="text-sm text-gray-600">Last message: Welcome everyone!</p>
</div>
</div>
</div>
<div class="p-3 bg-[#FFF5E1] rounded-lg cursor-pointer hover:bg-[#FFD700] transition-colors">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/3" alt="User" class="w-10 h-10 rounded-full">
<div>
<p class="font-semibold text-[#600000]">Amit K.</p>
<p class="text-sm text-gray-600">Hey! Want to visit pandals?</p>
</div>
</div>
</div>
<div class="p-3 bg-[#FFF5E1] rounded-lg cursor-pointer hover:bg-[#FFD700] transition-colors">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/4" alt="User" class="w-10 h-10 rounded-full">
<div>
<p class="font-semibold text-[#600000]">Priya S.</p>
<p class="text-sm text-gray-600">See you tomorrow!</p>
</div>
</div>
</div>
</div>
</div>
<!-- Chat Area -->
<div class="md:col-span-3 bg-white rounded-lg shadow-lg flex flex-col glow-effect">
<!-- Chat Header -->
<div class="p-4 border-b border-gray-200">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/2" alt="User" class="w-10 h-10 rounded-full">
<div>
<p class="font-semibold text-[#600000]">Global Puja Chat</p>
<p class="text-sm text-gray-600">Public chat room for all PujaTogether members</p>
</div>
</div>
</div>
<!-- Messages -->
<div class="messages-container p-4 space-y-4">
<div class="flex justify-start">
<div class="bg-[#FFF5E1] rounded-lg p-3 max-w-xs">
<p class="text-sm">Hello everyone! Excited for Durga Puja this year?</p>
<p class="text-xs text-gray-500 mt-1">10:30 AM</p>
</div>
</div>
<div class="flex justify-end">
<div class="bg-[#A4161A] text-white rounded-lg p-3 max-w-xs">
<p class="text-sm">Yes! Looking forward to visiting pandals with new friends!</p>
<p class="text-xs text-gray-200 mt-1">10:32 AM</p>
</div>
</div>
<div class="flex justify-start">
<div class="bg-[#FFF5E1] rounded-lg p-3 max-w-xs">
<p class="text-sm">Anyone planning to visit Kolkata pandals?</p>
<p class="text-xs text-gray-500 mt-1">10:35 AM</p>
</div>
</div>
</div>
<!-- Message Input -->
<div class="p-4 border-t border-gray-200">
<div class="flex space-x-2">
<input type="text" placeholder="Type your message..."
class="flex-1 px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#A4161A]">
<button class="bg-[#A4161A] text-white px-4 py-2 rounded-lg hover:bg-[#600000] transition-colors">
<i data-feather="send" class="w-4 h-4"></i>
</button>
</div>
<div class="flex space-x-2 mt-2">
<button class="text-gray-500 hover:text-[#A4161A]">
<i data-feather="image" class="w-4 h-4"></i>
</button>
<button class="text-gray-500 hover:text-[#A4161A]">
<i data-feather="smile" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html>