File size: 11,301 Bytes
f9bab3d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DarkSeen - Posts</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>
        @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #111;
            color: #fff;
        }
        .sidebar {
            background-color: #222;
            border-right: 1px solid #333;
        }
        .content-area {
            background-color: #111;
        }
        .nav-item.active {
            color: #f00;
            border-bottom: 2px solid #f00;
        }
        .post-card {
            background-color: #222;
            border: 1px solid #333;
            transition: all 0.3s;
        }
        .post-card:hover {
            border-color: #f00;
        }
        .like-btn.active {
            color: #f00;
        }
        .create-post {
            background-color: #222;
            border: 1px solid #333;
        }
        .create-post-btn {
            background-color: #f00;
            transition: all 0.3s;
        }
        .create-post-btn:hover {
            background-color: #c00;
        }
        .post-action {
            color: #999;
            transition: all 0.3s;
        }
        .post-action:hover {
            color: #f00;
        }
    </style>
</head>
<body class="flex h-screen overflow-hidden">
    <!-- Sidebar (same as chat.html) -->
    <div class="sidebar w-20 md:w-64 flex flex-col">
        <div class="p-4 border-b border-gray-800 flex items-center justify-center md:justify-between">
            <div class="hidden md:block text-red-500 font-bold text-xl">DARK SEEN</div>
            <div class="flex items-center space-x-2">
                <button class="p-2 rounded-full hover:bg-gray-700">
                    <i class="fas fa-bars text-gray-400"></i>
                </button>
            </div>
        </div>

        <div class="overflow-y-auto flex-1">
            <div class="p-2">
                <div class="flex items-center p-3 rounded-lg bg-gray-800 mb-2">
                    <div class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center">
                        <i class="fas fa-search text-gray-400"></i>
                    </div>
                    <input type="text" placeholder="Search posts..." class="ml-2 bg-transparent border-none outline-none text-white w-full hidden md:block">
                </div>

                <!-- Post categories -->
                <div class="mb-4 hidden md:block">
                    <div class="text-xs text-gray-500 uppercase tracking-wider px-3 mb-2">Categories</div>
                    <div class="space-y-1">
                        <a href="#" class="block px-3 py-2 rounded-lg hover:bg-gray-800 text-sm">All Posts</a>
                        <a href="#" class="block px-3 py-2 rounded-lg hover:bg-gray-800 text-sm">Following</a>
                        <a href="#" class="block px-3 py-2 rounded-lg hover:bg-gray-800 text-sm">Popular</a>
                        <a href="#" class="block px-3 py-2 rounded-lg hover:bg-gray-800 text-sm">Technology</a>
                        <a href="#" class="block px-3 py-2 rounded-lg hover:bg-gray-800 text-sm">Gaming</a>
                    </div>
                </div>
            </div>
        </div>

        <!-- Bottom navigation (same as chat.html) -->
        <div class="border-t border-gray-800 p-2">
            <div class="flex justify-around md:justify-start md:space-x-4">
                <a href="chat.html" class="nav-item p-2 flex flex-col items-center md:flex-row">
                    <i class="fas fa-comment text-gray-400"></i>
                    <span class="text-xs mt-1 md:ml-2 md:text-sm hidden md:block">Chats</span>
                </a>
                <a href="channels.html" class="nav-item p-2 flex flex-col items-center md:flex-row">
                    <i class="fas fa-bullhorn text-gray-400"></i>
                    <span class="text-xs mt-1 md:ml-2 md:text-sm hidden md:block">Channels</span>
                </a>
                <a href="groups.html" class="nav-item p-2 flex flex-col items-center md:flex-row">
                    <i class="fas fa-users text-gray-400"></i>
                    <span class="text-xs mt-1 md:ml-2 md:text-sm hidden md:block">Groups</span>
                </a>
                <a href="#" class="nav-item active p-2 flex flex-col items-center md:flex-row">
                    <i class="fas fa-newspaper text-red-500"></i>
                    <span class="text-xs mt-1 md:ml-2 md:text-sm hidden md:block">Posts</span>
                </a>
                <a href="profile.html" class="nav-item p-2 flex flex-col items-center md:flex-row">
                    <i class="fas fa-user text-gray-400"></i>
                    <span class="text-xs mt-1 md:ml-2 md:text-sm hidden md:block">Profile</span>
                </a>
            </div>
        </div>
    </div>

    <!-- Content area -->
    <div class="content-area flex-1 flex flex-col overflow-hidden">
        <!-- Header -->
        <div class="border-b border-gray-800 p-4">
            <h2 class="text-xl font-bold">Posts</h2>
        </div>

        <!-- Create post -->
        <div class="border-b border-gray-800 p-4 create-post">
            <div class="flex items-start">
                <img src="http://static.photos/red/200x200/8" class="w-10 h-10 rounded-full">
                <div class="ml-3 flex-1">
                    <input type="text" placeholder="What's on your mind?" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 text-white focus:outline-none focus:border-red-500">
                    <div class="flex justify-between mt-3">
                        <div class="flex space-x-2">
                            <button class="p-2 rounded-lg hover:bg-gray-800 text-gray-400">
                                <i class="fas fa-image mr-1"></i>
                                <span class="text-sm">Photo</span>
                            </button>
                            <button class="p-2 rounded-lg hover:bg-gray-800 text-gray-400">
                                <i class="fas fa-video mr-1"></i>
                                <span class="text-sm">Video</span>
                            </button>
                            <button class="p-2 rounded-lg hover:bg-gray-800 text-gray-400">
                                <i class="fas fa-file-alt mr-1"></i>
                                <span class="text-sm">Document</span>
                            </button>
                        </div>
                        <button class="create-post-btn px-4 py-2 rounded-lg text-white">
                            Post
                        </button>
                    </div>
                </div>
            </div>
        </div>

        <!-- Posts feed -->
        <div class="flex-1 overflow-y-auto p-4 space-y-4">
            <!-- Post card -->
            <div class="post-card rounded-lg p-4">
                <div class="flex items-start">
                    <img src="http://static.photos/red/200x200/9" class="w-10 h-10 rounded-full">
                    <div class="ml-3 flex-1">
                        <div class="flex items-center">
                            <span class="font-bold">John Doe</span>
                            <span class="verified-badge ml-1">
                                <i class="fas fa-check-circle text-red-500"></i>
                            </span>
                            <span class="text-gray-500 text-sm ml-2">2h ago</span>
                        </div>
                        <p class="mt-2">Just finished setting up my new DarkSeen profile! The red and black theme looks amazing. What do you think about the new update?</p>
                        
                        <img src="http://static.photos/red/640x360/9" class="mt-3 rounded-lg w-full">
                        
                        <div class="flex justify-between mt-4 pt-3 border-t border-gray-800">
                            <button class="post-action flex items-center">
                                <i class="far fa-thumbs-up mr-1"></i>
                                <span>Like</span>
                            </button>
                            <button class="post-action flex items-center">
                                <i class="far fa-comment mr-1"></i>
                                <span>Comment</span>
                            </button>
                            <button class="post-action flex items-center">
                                <i class="fas fa-share mr-1"></i>
                                <span>Share</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- More post cards -->
            <div class="post-card rounded-lg p-4">
                <div class="flex items-start">
                    <img src="http://static.photos/red/200x200/10" class="w-10 h-10 rounded-full">
                    <div class="ml-3 flex-1">
                        <div class="flex items-center">
                            <span class="font-bold">Tech Updates</span>
                            <span class="verified-badge ml-1">
                                <i class="fas fa-check-circle text-red-500"></i>
                            </span>
                            <span class="text-gray-500 text-sm ml-2">5h ago</span>
                        </div>
                        <p class="mt-2">DarkSeen v2.0 is coming next week with amazing new features:</p>
                        <ul class="mt-2 list-disc list-inside text-gray-400">
                            <li>Enhanced encryption</li>
                            <li>New dark red theme variants</li>
                            <li>Improved file sharing</li>
                            <li>Group video calls</li>
                        </ul>
                        
                        <div class="flex justify-between mt-4 pt-3 border-t border-gray-800">
                            <button class="post-action flex items-center">
                                <i class="far fa-thumbs-up mr-1"></i>
                                <span>Like</span>
                            </button>
                            <button class="post-action flex items-center">
                                <i class="far fa-comment mr-1"></i>
                                <span>Comment</span>
                            </button>
                            <button class="post-action flex items-center">
                                <i class="fas fa-share mr-1"></i>
                                <span>Share</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Posts functionality will be implemented here
    </script>
</body>
</html>