sigma / index.html
saifsigma's picture
Add 3 files
7e6bb20 verified
Raw History Blame Contribute Delete
15.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Discord Clone | Your Place to Talk and Hang Out</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #5865F2 0%, #8EA1E1 100%);
}
.server-icon {
transition: all 0.2s ease;
}
.server-icon:hover {
border-radius: 16px;
background-color: #5865F2;
}
.channel:hover {
background-color: #3a3c42;
}
.message:hover {
background-color: #36373d;
}
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.typing-indicator::after {
content: '.';
animation: typing 1.5s infinite;
}
@keyframes typing {
0% { content: '.'; }
33% { content: '..'; }
66% { content: '...'; }
}
</style>
</head>
<body class="bg-gray-900 text-gray-100 h-screen overflow-hidden">
<div class="flex h-full">
<!-- Servers sidebar -->
<div class="w-16 bg-gray-900 flex flex-col items-center py-3 space-y-2 border-r border-gray-800">
<div class="w-12 h-12 rounded-full bg-indigo-500 flex items-center justify-center text-white font-bold mb-2">
D
</div>
<div class="w-12 h-0.5 bg-gray-700 rounded-full my-1"></div>
<div class="server-icon w-12 h-12 rounded-3xl bg-gray-700 flex items-center justify-center cursor-pointer hover:text-white">
<i class="fas fa-gamepad"></i>
</div>
<div class="server-icon w-12 h-12 rounded-3xl bg-gray-700 flex items-center justify-center cursor-pointer hover:text-white">
<i class="fas fa-music"></i>
</div>
<div class="server-icon w-12 h-12 rounded-3xl bg-gray-700 flex items-center justify-center cursor-pointer hover:text-white">
<i class="fas fa-code"></i>
</div>
<div class="server-icon w-12 h-12 rounded-3xl bg-gray-700 flex items-center justify-center text-green-500 cursor-pointer mt-auto">
<i class="fas fa-plus"></i>
</div>
</div>
<!-- Channels sidebar -->
<div class="w-60 bg-gray-800 flex flex-col">
<div class="p-4 border-b border-gray-700 shadow-sm flex items-center justify-between">
<h2 class="font-bold">Discord Server</h2>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-cog"></i>
</button>
</div>
<div class="flex-1 overflow-y-auto scrollbar-hide">
<div class="px-2 pt-3">
<div class="text-xs font-semibold text-gray-400 px-2 mb-1 flex justify-between items-center">
<span>Text Channels</span>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="channel px-2 py-1 rounded cursor-pointer flex items-center text-gray-300">
<i class="fas fa-hashtag text-gray-400 mr-1"></i>
<span>general</span>
</div>
<div class="channel px-2 py-1 rounded cursor-pointer flex items-center text-gray-300">
<i class="fas fa-hashtag text-gray-400 mr-1"></i>
<span>memes</span>
</div>
<div class="channel px-2 py-1 rounded cursor-pointer flex items-center text-gray-300">
<i class="fas fa-hashtag text-gray-400 mr-1"></i>
<span>help</span>
</div>
<div class="text-xs font-semibold text-gray-400 px-2 mt-4 mb-1 flex justify-between items-center">
<span>Voice Channels</span>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-plus"></i>
</button>
</div>
<div class="channel px-2 py-1 rounded cursor-pointer flex items-center text-gray-300">
<i class="fas fa-headphones text-gray-400 mr-1"></i>
<span>General Voice</span>
</div>
<div class="channel px-2 py-1 rounded cursor-pointer flex items-center text-gray-300">
<i class="fas fa-headphones text-gray-400 mr-1"></i>
<span>Gaming</span>
</div>
</div>
</div>
<div class="p-2 bg-gray-700 flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-500 mr-2"></div>
<div class="flex-1">
<div class="text-sm font-medium">Username</div>
<div class="text-xs text-gray-400">#1234</div>
</div>
<div class="flex space-x-1 text-gray-400">
<button class="hover:text-white"><i class="fas fa-microphone"></i></button>
<button class="hover:text-white"><i class="fas fa-headphones"></i></button>
<button class="hover:text-white"><i class="fas fa-cog"></i></button>
</div>
</div>
</div>
<!-- Main chat area -->
<div class="flex-1 flex flex-col bg-gray-700">
<!-- Channel header -->
<div class="h-12 border-b border-gray-600 flex items-center px-4 shadow-sm">
<div class="flex items-center">
<i class="fas fa-hashtag text-gray-400 mr-2"></i>
<span class="font-medium">general</span>
</div>
<div class="ml-4 text-sm text-gray-300">Channel description goes here</div>
<div class="ml-auto flex items-center space-x-3">
<button class="text-gray-400 hover:text-white">
<i class="fas fa-search"></i>
</button>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-inbox"></i>
</button>
<button class="text-gray-400 hover:text-white">
<i class="fas fa-question-circle"></i>
</button>
</div>
</div>
<!-- Messages -->
<div class="flex-1 overflow-y-auto p-4 space-y-4 scrollbar-hide" id="messages">
<div class="message p-3 rounded-lg hover:bg-opacity-70">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-purple-500 mr-3 flex-shrink-0"></div>
<div>
<div class="flex items-baseline">
<span class="font-medium mr-2">UserOne</span>
<span class="text-xs text-gray-400">Today at 12:34 PM</span>
</div>
<p class="mt-1">Hey everyone! How's it going?</p>
</div>
</div>
</div>
<div class="message p-3 rounded-lg hover:bg-opacity-70">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-blue-500 mr-3 flex-shrink-0"></div>
<div>
<div class="flex items-baseline">
<span class="font-medium mr-2">UserTwo</span>
<span class="text-xs text-gray-400">Today at 12:36 PM</span>
</div>
<p class="mt-1">Pretty good! Just working on some projects. What about you?</p>
</div>
</div>
</div>
<div class="message p-3 rounded-lg hover:bg-opacity-70">
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-green-500 mr-3 flex-shrink-0"></div>
<div>
<div class="flex items-baseline">
<span class="font-medium mr-2">UserThree</span>
<span class="text-xs text-gray-400">Today at 12:38 PM</span>
</div>
<p class="mt-1">I'm new here! This server looks awesome 😊</p>
</div>
</div>
</div>
</div>
<!-- Message input -->
<div class="p-4">
<div class="bg-gray-600 rounded-lg p-1">
<div class="flex items-center px-2">
<button class="text-gray-400 hover:text-white p-2">
<i class="fas fa-plus"></i>
</button>
<input type="text" placeholder="Message #general" class="bg-transparent flex-1 py-2 px-2 outline-none text-gray-200 placeholder-gray-400" id="messageInput">
<div class="flex space-x-1 text-gray-400">
<button class="hover:text-white p-2">
<i class="fas fa-gift"></i>
</button>
<button class="hover:text-white p-2">
<i class="fas fa-smile"></i>
</button>
</div>
</div>
</div>
<div class="text-xs text-gray-400 mt-2 flex items-center">
<span class="typing-indicator mr-2">UserThree is typing</span>
</div>
</div>
</div>
<!-- Members sidebar -->
<div class="w-60 bg-gray-800 p-3 overflow-y-auto scrollbar-hide">
<div class="mb-6">
<div class="text-xs font-semibold text-gray-400 mb-2">ONLINE — 3</div>
<div class="space-y-2">
<div class="flex items-center">
<div class="relative">
<div class="w-8 h-8 rounded-full bg-purple-500"></div>
<div class="absolute bottom-0 right-0 w-3 h-3 rounded-full bg-green-500 border-2 border-gray-800"></div>
</div>
<span class="ml-2 text-sm">UserOne</span>
</div>
<div class="flex items-center">
<div class="relative">
<div class="w-8 h-8 rounded-full bg-blue-500"></div>
<div class="absolute bottom-0 right-0 w-3 h-3 rounded-full bg-green-500 border-2 border-gray-800"></div>
</div>
<span class="ml-2 text-sm">UserTwo</span>
</div>
<div class="flex items-center">
<div class="relative">
<div class="w-8 h-8 rounded-full bg-green-500"></div>
<div class="absolute bottom-0 right-0 w-3 h-3 rounded-full bg-green-500 border-2 border-gray-800"></div>
</div>
<span class="ml-2 text-sm">UserThree</span>
</div>
</div>
</div>
<div>
<div class="text-xs font-semibold text-gray-400 mb-2">OFFLINE — 5</div>
<div class="space-y-2">
<div class="flex items-center opacity-50">
<div class="w-8 h-8 rounded-full bg-red-500"></div>
<span class="ml-2 text-sm">UserFour</span>
</div>
<div class="flex items-center opacity-50">
<div class="w-8 h-8 rounded-full bg-yellow-500"></div>
<span class="ml-2 text-sm">UserFive</span>
</div>
<div class="flex items-center opacity-50">
<div class="w-8 h-8 rounded-full bg-pink-500"></div>
<span class="ml-2 text-sm">UserSix</span>
</div>
<div class="flex items-center opacity-50">
<div class="w-8 h-8 rounded-full bg-indigo-500"></div>
<span class="ml-2 text-sm">UserSeven</span>
</div>
<div class="flex items-center opacity-50">
<div class="w-8 h-8 rounded-full bg-gray-500"></div>
<span class="ml-2 text-sm">UserEight</span>
</div>
</div>
</div>
</div>
</div>
<script>
// Simple message sending functionality
const messageInput = document.getElementById('messageInput');
const messagesContainer = document.getElementById('messages');
messageInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter' && messageInput.value.trim() !== '') {
const messageDiv = document.createElement('div');
messageDiv.className = 'message p-3 rounded-lg';
messageDiv.innerHTML = `
<div class="flex items-start">
<div class="w-10 h-10 rounded-full bg-indigo-500 mr-3 flex-shrink-0"></div>
<div>
<div class="flex items-baseline">
<span class="font-medium mr-2">You</span>
<span class="text-xs text-gray-400">Just now</span>
</div>
<p class="mt-1">${messageInput.value}</p>
</div>
</div>
`;
messagesContainer.appendChild(messageDiv);
messageInput.value = '';
messagesContainer.scrollTop = messagesContainer.scrollHeight;
}
});
// Auto-scroll to bottom of messages
messagesContainer.scrollTop = messagesContainer.scrollHeight;
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=saifsigma/sigma" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>