File size: 18,960 Bytes
f98ed28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Nexus Bookmarks - Modern Bookmark Manager</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>
        .bookmark-folder:hover .folder-actions {
            opacity: 1;
        }
        .bookmark-item:hover .bookmark-actions {
            opacity: 1;
        }
        .drag-over {
            border: 2px dashed #3b82f6 !important;
            background-color: rgba(59, 130, 246, 0.1) !important;
        }
    </style>
</head>
<body class="bg-gray-50 text-gray-800 font-sans">
    <div class="flex h-screen overflow-hidden">
        <!-- Sidebar -->
        <div class="w-64 bg-white border-r border-gray-200 flex flex-col">
            <div class="p-4 border-b border-gray-200">
                <h1 class="text-xl font-bold text-blue-600 flex items-center">
                    <i class="fas fa-bookmark mr-2"></i> Nexus Bookmarks
                </h1>
            </div>
            
            <div class="p-4 border-b border-gray-200">
                <button id="new-folder-btn" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-md flex items-center justify-center">
                    <i class="fas fa-folder-plus mr-2"></i> New Folder
                </button>
            </div>
            
            <div class="flex-1 overflow-y-auto">
                <div class="p-4">
                    <div class="mb-4">
                        <div class="flex items-center justify-between mb-2">
                            <h2 class="font-medium text-gray-700">Bookmark Folders</h2>
                            <button class="text-gray-400 hover:text-gray-600">
                                <i class="fas fa-ellipsis-h"></i>
                            </button>
                        </div>
                        <ul id="folders-list" class="space-y-1">
                            <li class="bookmark-folder group flex items-center justify-between px-3 py-2 rounded-md hover:bg-gray-100 cursor-pointer">
                                <div class="flex items-center">
                                    <i class="fas fa-folder text-yellow-400 mr-3"></i>
                                    <span>Favorites</span>
                                </div>
                                <div class="folder-actions opacity-0 flex space-x-1">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-xs"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-xs"></i>
                                    </button>
                                </div>
                            </li>
                            <li class="bookmark-folder group flex items-center justify-between px-3 py-2 rounded-md hover:bg-gray-100 cursor-pointer">
                                <div class="flex items-center">
                                    <i class="fas fa-folder text-yellow-400 mr-3"></i>
                                    <span>Work</span>
                                </div>
                                <div class="folder-actions opacity-0 flex space-x-1">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-xs"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-xs"></i>
                                    </button>
                                </div>
                            </li>
                            <li class="bookmark-folder group flex items-center justify-between px-3 py-2 rounded-md hover:bg-gray-100 cursor-pointer">
                                <div class="flex items-center">
                                    <i class="fas fa-folder text-yellow-400 mr-3"></i>
                                    <span>Research</span>
                                </div>
                                <div class="folder-actions opacity-0 flex space-x-1">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-xs"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-xs"></i>
                                    </button>
                                </div>
                            </li>
                        </ul>
                    </div>
                    
                    <div class="mb-4">
                        <div class="flex items-center justify-between mb-2">
                            <h2 class="font-medium text-gray-700">Tags</h2>
                            <button class="text-gray-400 hover:text-gray-600">
                                <i class="fas fa-plus"></i>
                            </button>
                        </div>
                        <div class="flex flex-wrap gap-2">
                            <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Important</span>
                            <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Tutorial</span>
                            <span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full">Reference</span>
                            <span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Read Later</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="p-4 border-t border-gray-200">
                <div class="flex items-center space-x-4">
                    <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
                        <i class="fas fa-user"></i>
                    </div>
                    <div>
                        <p class="text-sm font-medium">User Name</p>
                        <p class="text-xs text-gray-500">user@example.com</p>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div class="flex-1 flex flex-col overflow-hidden">
            <!-- Top Bar -->
            <div class="bg-white border-b border-gray-200 p-4">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-4">
                        <div class="relative w-64">
                            <input type="text" placeholder="Search bookmarks..." class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
                            <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
                        </div>
                        <div class="flex items-center space-x-2">
                            <button class="p-2 text-gray-500 hover:text-blue-600 hover:bg-gray-100 rounded-md">
                                <i class="fas fa-sort-alpha-down"></i>
                            </button>
                            <button class="p-2 text-gray-500 hover:text-blue-600 hover:bg-gray-100 rounded-md">
                                <i class="fas fa-filter"></i>
                            </button>
                        </div>
                    </div>
                    <div class="flex items-center space-x-2">
                        <button class="p-2 text-gray-500 hover:text-blue-600 hover:bg-gray-100 rounded-md">
                            <i class="fas fa-sync-alt"></i>
                        </button>
                        <button class="p-2 text-gray-500 hover:text-blue-600 hover:bg-gray-100 rounded-md">
                            <i class="fas fa-cog"></i>
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Current Folder Info -->
            <div class="bg-white p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <div class="flex items-center space-x-3">
                        <i class="fas fa-folder text-yellow-400 text-xl"></i>
                        <h2 class="text-xl font-semibold">Favorites</h2>
                        <span class="text-sm text-gray-500">(24 items)</span>
                    </div>
                    <div class="flex items-center space-x-2">
                        <button class="px-3 py-1 text-sm bg-gray-100 hover:bg-gray-200 rounded-md">
                            <i class="fas fa-share-alt mr-1"></i> Share
                        </button>
                        <button class="px-3 py-1 text-sm bg-gray-100 hover:bg-gray-200 rounded-md">
                            <i class="fas fa-export mr-1"></i> Export
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Bookmarks Grid -->
            <div class="flex-1 overflow-y-auto p-6 bg-gray-50">
                <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4">
                    <!-- Bookmark Item Example -->
                    <div class="bookmark-item bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-md transition-shadow duration-200">
                        <div class="p-4 border-b border-gray-200">
                            <div class="flex justify-between items-start">
                                <div class="w-10 h-10 bg-blue-100 rounded-md flex items-center justify-center text-blue-600">
                                    <i class="fab fa-google"></i>
                                </div>
                                <div class="bookmark-actions opacity-0 flex space-x-2">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-sm"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-sm"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900 mb-1">Google Search</h3>
                            <p class="text-sm text-gray-500 mb-2">Search the world's information</p>
                            <div class="flex items-center text-xs text-gray-400">
                                <span>google.com</span>
                                <span class="mx-2"></span>
                                <span>Added 2 days ago</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- More bookmark items -->
                    <div class="bookmark-item bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-md transition-shadow duration-200">
                        <div class="p-4 border-b border-gray-200">
                            <div class="flex justify-between items-start">
                                <div class="w-10 h-10 bg-red-100 rounded-md flex items-center justify-center text-red-600">
                                    <i class="fab fa-youtube"></i>
                                </div>
                                <div class="bookmark-actions opacity-0 flex space-x-2">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-sm"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-sm"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900 mb-1">YouTube</h3>
                            <p class="text-sm text-gray-500 mb-2">Watch and share videos</p>
                            <div class="flex items-center text-xs text-gray-400">
                                <span>youtube.com</span>
                                <span class="mx-2"></span>
                                <span>Added 1 week ago</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bookmark-item bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-md transition-shadow duration-200">
                        <div class="p-4 border-b border-gray-200">
                            <div class="flex justify-between items-start">
                                <div class="w-10 h-10 bg-purple-100 rounded-md flex items-center justify-center text-purple-600">
                                    <i class="fab fa-github"></i>
                                </div>
                                <div class="bookmark-actions opacity-0 flex space-x-2">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-sm"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-sm"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900 mb-1">GitHub</h3>
                            <p class="text-sm text-gray-500 mb-2">Code repository and version control</p>
                            <div class="flex items-center text-xs text-gray-400">
                                <span>github.com</span>
                                <span class="mx-2"></span>
                                <span>Added 3 days ago</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bookmark-item bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-md transition-shadow duration-200">
                        <div class="p-4 border-b border-gray-200">
                            <div class="flex justify-between items-start">
                                <div class="w-10 h-10 bg-blue-100 rounded-md flex items-center justify-center text-blue-600">
                                    <i class="fab fa-twitter"></i>
                                </div>
                                <div class="bookmark-actions opacity-0 flex space-x-2">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-sm"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-sm"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900 mb-1">Twitter</h3>
                            <p class="text-sm text-gray-500 mb-2">See what's happening</p>
                            <div class="flex items-center text-xs text-gray-400">
                                <span>twitter.com</span>
                                <span class="mx-2"></span>
                                <span>Added 2 weeks ago</span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="bookmark-item bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-md transition-shadow duration-200">
                        <div class="p-4 border-b border-gray-200">
                            <div class="flex justify-between items-start">
                                <div class="w-10 h-10 bg-orange-100 rounded-md flex items-center justify-center text-orange-600">
                                    <i class="fab fa-stack-overflow"></i>
                                </div>
                                <div class="bookmark-actions opacity-0 flex space-x-2">
                                    <button class="text-gray-400 hover:text-blue-500">
                                        <i class="fas fa-pencil-alt text-sm"></i>
                                    </button>
                                    <button class="text-gray-400 hover:text-red-500">
                                        <i class="fas fa-trash-alt text-sm"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-4">
                            <h3 class="font-medium text-gray-900 mb-1">Stack Overflow</h3>
                            <p class="text-sm text-gray-500 mb-2">Developer Q&A</p>
                            <div class="flex items-center text-xs text-gray-400">
                                <span>stackoverflow.com</span>
                                <span class="mx-2"></span>
                                <span>Added 1 month ago</span>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Add Bookmark Button -->
                    <div class="bg-white rounded-lg border-2 border-dashed border-gray-300 hover:border-blue-500 flex flex-col items-center justify-center p-6 cursor-pointer transition-colors duration-200">
                        <div class="w-10 h
</html>