Spaces:
Running
Running
<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 ; | |
background-color: rgba(59, 130, 246, 0.1) ; | |
} | |
</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> |