Spaces:
Running
Running
Download index.html from Shamnadulpila/nothing: direct link, hf CLI and curl.
- Browser
- Download file 40.7 kB
-
https://huggingface.co/spaces/Shamnadulpila/nothing/resolve/main/index.html
- Command line
-
hf download hf://spaces/Shamnadulpila/nothing/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Shamnadulpila/nothing/resolve/main/index.html
40.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-width=472px"> | |
| <title>Repoto</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> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| max-width: 472px; | |
| margin: 0 auto; | |
| background-color: #f5f5f5; | |
| color: #333; | |
| } | |
| .card-shadow { | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); | |
| } | |
| .tab-active { | |
| color: #626DB5; | |
| position: relative; | |
| } | |
| .tab-active::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -8px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 6px; | |
| height: 6px; | |
| background-color: #626DB5; | |
| border-radius: 50%; | |
| } | |
| .flag-pill { | |
| background-color: white; | |
| border-radius: 20px; | |
| padding: 6px 12px; | |
| white-space: nowrap; | |
| } | |
| .tag-pill { | |
| background-color: #f0f0f0; | |
| border-radius: 12px; | |
| padding: 4px 10px; | |
| font-size: 12px; | |
| } | |
| .day-active { | |
| background-color: #626DB5; | |
| color: white; | |
| } | |
| .media-placeholder { | |
| background-color: #eaeaea; | |
| border-radius: 12px; | |
| } | |
| .comment-bubble { | |
| background-color: #f5f5f5; | |
| border-radius: 12px 12px 12px 0; | |
| } | |
| .map-container { | |
| height: 300px; | |
| background-color: #eaeaea; | |
| border-radius: 16px; | |
| } | |
| .upload-option { | |
| border: 1px dashed #ccc; | |
| border-radius: 12px; | |
| transition: all 0.2s; | |
| } | |
| .upload-option:hover { | |
| border-color: #626DB5; | |
| background-color: rgba(98, 109, 181, 0.05); | |
| } | |
| .notification-unread { | |
| background-color: rgba(98, 109, 181, 0.08); | |
| } | |
| .dark-mode { | |
| background-color: #121212; | |
| color: #f5f5f5; | |
| } | |
| .dark-mode .card-dark { | |
| background-color: #1e1e1e; | |
| color: #f5f5f5; | |
| } | |
| .dark-mode .text-dark { | |
| color: #f5f5f5; | |
| } | |
| .dark-mode .bg-dark { | |
| background-color: #1e1e1e; | |
| } | |
| .dark-mode .border-dark { | |
| border-color: #333; | |
| } | |
| .dark-mode .tag-pill { | |
| background-color: #333; | |
| color: #f5f5f5; | |
| } | |
| .dark-mode .flag-pill { | |
| background-color: #333; | |
| color: #f5f5f5; | |
| } | |
| .dark-mode .media-placeholder { | |
| background-color: #333; | |
| } | |
| .dark-mode .comment-bubble { | |
| background-color: #333; | |
| } | |
| </style> | |
| </head> | |
| <body class="relative pb-20"> | |
| <!-- Dark Mode Toggle --> | |
| <div class="fixed bottom-20 right-4 z-10"> | |
| <button id="darkModeToggle" class="bg-white dark:bg-dark dark:border-dark p-3 rounded-full shadow-lg border"> | |
| <i class="fas fa-moon dark:hidden"></i> | |
| <i class="fas fa-sun hidden dark:block text-yellow-300"></i> | |
| </button> | |
| </div> | |
| <!-- Header --> | |
| <header class="bg-white dark:bg-dark dark:border-b dark:border-dark p-4 shadow-sm sticky top-0 z-10"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h1 class="font-bold text-xl" id="greeting">Hi User 👋</h1> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">Let's see what's going on today!</p> | |
| </div> | |
| <div class="flex items-center space-x-3"> | |
| <button class="p-2 rounded-full bg-gray-100 dark:bg-gray-800"> | |
| <i class="fas fa-search text-gray-600 dark:text-gray-300"></i> | |
| </button> | |
| <div class="w-8 h-8 rounded-full bg-purple-500 flex items-center justify-center text-white font-bold"> | |
| U | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content (changes based on tab) --> | |
| <main class="p-4" id="mainContent"> | |
| <!-- Home Tab Content --> | |
| <div id="homeTab"> | |
| <!-- Calendar Strip --> | |
| <div class="mb-6 overflow-x-auto pb-2"> | |
| <div class="flex space-x-2 w-max"> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Mon</span> | |
| <span class="font-medium">12</span> | |
| </div> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Tue</span> | |
| <span class="font-medium">13</span> | |
| </div> | |
| <div class="day-item day-active flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-purple-600 text-white p-2 cursor-pointer"> | |
| <span class="text-xs">Wed</span> | |
| <span class="font-medium">14</span> | |
| </div> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Thu</span> | |
| <span class="font-medium">15</span> | |
| </div> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Fri</span> | |
| <span class="font-medium">16</span> | |
| </div> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Sat</span> | |
| <span class="font-medium">17</span> | |
| </div> | |
| <div class="day-item flex flex-col items-center justify-center w-12 h-16 rounded-lg bg-white dark:bg-dark dark:border dark:border-dark p-2 cursor-pointer"> | |
| <span class="text-xs text-gray-500 dark:text-gray-400">Sun</span> | |
| <span class="font-medium">18</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Country Filter Pills --> | |
| <div class="mb-6 overflow-x-auto pb-2"> | |
| <div class="flex space-x-2 w-max"> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇺🇸</span> | |
| <span>USA</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇬🇧</span> | |
| <span>UK</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer bg-purple-100 dark:bg-purple-900"> | |
| <span>🇩🇪</span> | |
| <span>Germany</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇫🇷</span> | |
| <span>France</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇯🇵</span> | |
| <span>Japan</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇦🇺</span> | |
| <span>Australia</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇨🇦</span> | |
| <span>Canada</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Advanced Filter Button --> | |
| <div class="mb-6"> | |
| <button class="flex items-center space-x-2 text-purple-600 dark:text-purple-400"> | |
| <i class="fas fa-sliders-h"></i> | |
| <span>Advanced Filters</span> | |
| </button> | |
| </div> | |
| <!-- Feed Cards --> | |
| <div class="space-y-4"> | |
| <!-- Card 1 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow"> | |
| <div class="flex justify-between items-start mb-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white font-bold"> | |
| J | |
| </div> | |
| <div> | |
| <h3 class="font-medium">John Doe</h3> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">Berlin, Germany • 2h ago</p> | |
| </div> | |
| </div> | |
| <button class="text-gray-400"> | |
| <i class="fas fa-ellipsis-h"></i> | |
| </button> | |
| </div> | |
| <div class="media-placeholder dark:bg-dark dark:border dark:border-dark w-full h-48 rounded-xl mb-3 flex items-center justify-center"> | |
| <i class="fas fa-image text-3xl text-gray-400"></i> | |
| </div> | |
| <p class="mb-3">Just completed the new feature implementation for the dashboard. Looking forward to your feedback!</p> | |
| <div class="flex justify-between items-center"> | |
| <div class="tag-pill dark:bg-dark dark:border dark:border-dark">Progress</div> | |
| <button class="text-gray-500 dark:text-gray-400 flex items-center space-x-1"> | |
| <i class="far fa-comment"></i> | |
| <span>12</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Card 2 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow"> | |
| <div class="flex justify-between items-start mb-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-green-500 flex items-center justify-center text-white font-bold"> | |
| S | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Sarah Smith</h3> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">London, UK • 5h ago</p> | |
| </div> | |
| </div> | |
| <button class="text-gray-400"> | |
| <i class="fas fa-ellipsis-h"></i> | |
| </button> | |
| </div> | |
| <div class="media-placeholder dark:bg-dark dark:border dark:border-dark w-full h-48 rounded-xl mb-3 flex items-center justify-center"> | |
| <i class="fas fa-file-pdf text-3xl text-gray-400"></i> | |
| </div> | |
| <p class="mb-3">Attached is the project specification document. Please review and let me know if you have any questions.</p> | |
| <div class="flex justify-between items-center"> | |
| <div class="tag-pill dark:bg-dark dark:border dark:border-dark">Document</div> | |
| <button class="text-gray-500 dark:text-gray-400 flex items-center space-x-1"> | |
| <i class="far fa-comment"></i> | |
| <span>5</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Card 3 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow"> | |
| <div class="flex justify-between items-start mb-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center text-white font-bold"> | |
| M | |
| </div> | |
| <div> | |
| <h3 class="font-medium">Mike Johnson</h3> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">New York, USA • 1d ago</p> | |
| </div> | |
| </div> | |
| <button class="text-gray-400"> | |
| <i class="fas fa-ellipsis-h"></i> | |
| </button> | |
| </div> | |
| <div class="media-placeholder dark:bg-dark dark:border dark:border-dark w-full h-48 rounded-xl mb-3 flex items-center justify-center"> | |
| <i class="fas fa-play-circle text-3xl text-gray-400"></i> | |
| </div> | |
| <p class="mb-3">Here's a quick demo of the new onboarding flow we implemented. Let me know what you think!</p> | |
| <div class="flex justify-between items-center"> | |
| <div class="tag-pill dark:bg-dark dark:border dark:border-dark">Video</div> | |
| <button class="text-gray-500 dark:text-gray-400 flex items-center space-x-1"> | |
| <i class="far fa-comment"></i> | |
| <span>8</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Map Tab Content (hidden by default) --> | |
| <div id="mapTab" class="hidden"> | |
| <!-- Country Flag Bar --> | |
| <div class="mb-4 overflow-x-auto pb-2"> | |
| <div class="flex space-x-2 w-max"> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇺🇸</span> | |
| <span>USA</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇬🇧</span> | |
| <span>UK</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer bg-purple-100 dark:bg-purple-900"> | |
| <span>🇩🇪</span> | |
| <span>Germany</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇫🇷</span> | |
| <span>France</span> | |
| </div> | |
| <div class="flag-pill dark:bg-dark dark:border dark:border-dark flex items-center space-x-2 cursor-pointer"> | |
| <span>🇯🇵</span> | |
| <span>Japan</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Map Container --> | |
| <div class="map-container dark:bg-dark dark:border dark:border-dark mb-4 relative"> | |
| <div class="absolute inset-0 flex items-center justify-center"> | |
| <i class="fas fa-map-marked-alt text-4xl text-gray-400"></i> | |
| </div> | |
| </div> | |
| <!-- Map Legend --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-4 mb-4 card-shadow"> | |
| <h3 class="font-medium mb-2">Legend</h3> | |
| <div class="flex flex-wrap gap-3"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-3 h-3 rounded-full bg-blue-500"></div> | |
| <span class="text-sm">Images</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-3 h-3 rounded-full bg-red-500"></div> | |
| <span class="text-sm">Videos</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-3 h-3 rounded-full bg-green-500"></div> | |
| <span class="text-sm">Documents</span> | |
| </div> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-3 h-3 rounded-full bg-yellow-500"></div> | |
| <span class="text-sm">Audio</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Nearby Uploads --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-4 card-shadow"> | |
| <h3 class="font-medium mb-3">Nearby Uploads</h3> | |
| <div class="space-y-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-12 h-12 rounded-lg bg-gray-200 dark:bg-gray-700 flex items-center justify-center"> | |
| <i class="fas fa-image text-gray-500 dark:text-gray-400"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Berlin Wall Photo</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">1.2km away • 3h ago</p> | |
| </div> | |
| <button class="text-purple-600 dark:text-purple-400"> | |
| <i class="fas fa-chevron-right"></i> | |
| </button> | |
| </div> | |
| <div class="flex items-center space-x-3"> | |
| <div class="w-12 h-12 rounded-lg bg-gray-200 dark:bg-gray-700 flex items-center justify-center"> | |
| <i class="fas fa-file-alt text-gray-500 dark:text-gray-400"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Project Specs</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">0.8km away • 1d ago</p> | |
| </div> | |
| <button class="text-purple-600 dark:text-purple-400"> | |
| <i class="fas fa-chevron-right"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Upload Tab Content (hidden by default) --> | |
| <div id="uploadTab" class="hidden"> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow mb-4"> | |
| <h3 class="font-medium mb-4">What would you like to upload?</h3> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-purple-100 dark:bg-purple-900 flex items-center justify-center mb-2"> | |
| <i class="fas fa-image text-purple-600 dark:text-purple-400"></i> | |
| </div> | |
| <span>Image</span> | |
| </div> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-blue-100 dark:bg-blue-900 flex items-center justify-center mb-2"> | |
| <i class="fas fa-video text-blue-600 dark:text-blue-400"></i> | |
| </div> | |
| <span>Video</span> | |
| </div> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-green-100 dark:bg-green-900 flex items-center justify-center mb-2"> | |
| <i class="fas fa-file-alt text-green-600 dark:text-green-400"></i> | |
| </div> | |
| <span>Document</span> | |
| </div> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center mb-2"> | |
| <i class="fas fa-microphone text-yellow-600 dark:text-yellow-400"></i> | |
| </div> | |
| <span>Audio</span> | |
| </div> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-red-100 dark:bg-red-900 flex items-center justify-center mb-2"> | |
| <i class="fas fa-map-marker-alt text-red-600 dark:text-red-400"></i> | |
| </div> | |
| <span>Location</span> | |
| </div> | |
| <div class="upload-option dark:border-dark p-4 rounded-xl flex flex-col items-center justify-center cursor-pointer"> | |
| <div class="w-12 h-12 rounded-full bg-gray-100 dark:bg-gray-800 flex items-center justify-center mb-2"> | |
| <i class="fas fa-ellipsis-h text-gray-600 dark:text-gray-400"></i> | |
| </div> | |
| <span>More</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Selected Files Preview --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow mb-4"> | |
| <h3 class="font-medium mb-3">Selected Files</h3> | |
| <div class="border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-xl p-4 flex flex-col items-center justify-center min-h-32"> | |
| <i class="fas fa-cloud-upload-alt text-3xl text-gray-400 mb-2"></i> | |
| <p class="text-gray-500 dark:text-gray-400 text-center">No files selected yet. Tap the options above to add files.</p> | |
| </div> | |
| </div> | |
| <!-- Upload Details Form --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow"> | |
| <h3 class="font-medium mb-3">Details</h3> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 dark:text-gray-300 text-sm mb-1">Notes</label> | |
| <textarea class="w-full border dark:border-dark dark:bg-gray-800 rounded-lg p-3 h-24" placeholder="Add some notes about your upload..."></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 dark:text-gray-300 text-sm mb-1">Tag</label> | |
| <select class="w-full border dark:border-dark dark:bg-gray-800 rounded-lg p-3"> | |
| <option>Select a tag</option> | |
| <option>Issue</option> | |
| <option>Progress</option> | |
| <option>Fixes</option> | |
| <option>Update</option> | |
| <option>Documentation</option> | |
| </select> | |
| </div> | |
| <div class="flex items-center mb-4"> | |
| <input type="checkbox" id="addLocation" class="mr-2"> | |
| <label for="addLocation" class="text-gray-700 dark:text-gray-300 text-sm">Add current location</label> | |
| </div> | |
| <button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 rounded-lg font-medium"> | |
| Upload Now | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Notifications Tab Content (hidden by default) --> | |
| <div id="notificationsTab" class="hidden"> | |
| <!-- Notification Toggle --> | |
| <div class="flex border-b dark:border-dark mb-4"> | |
| <button class="flex-1 py-2 font-medium text-center tab-active">All</button> | |
| <button class="flex-1 py-2 font-medium text-center text-gray-500 dark:text-gray-400">Unread</button> | |
| </div> | |
| <!-- Notification List --> | |
| <div class="space-y-3"> | |
| <!-- Notification 1 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-3 card-shadow notification-unread"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-purple-500 flex items-center justify-center text-white"> | |
| <i class="fas fa-bell"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">New comment on your post</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">John Doe commented on your Berlin update</p> | |
| <p class="text-gray-400 dark:text-gray-500 text-xs mt-1">2 minutes ago</p> | |
| </div> | |
| <div class="w-2 h-2 rounded-full bg-purple-500 mt-1"></div> | |
| </div> | |
| </div> | |
| <!-- Notification 2 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-3 card-shadow"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-blue-500 flex items-center justify-center text-white"> | |
| <i class="fas fa-user-plus"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">New follower</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">Sarah Smith started following you</p> | |
| <p class="text-gray-400 dark:text-gray-500 text-xs mt-1">1 hour ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Notification 3 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-3 card-shadow notification-unread"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-green-500 flex items-center justify-center text-white"> | |
| <i class="fas fa-thumbs-up"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">Reaction to your post</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">Mike Johnson liked your project specs document</p> | |
| <p class="text-gray-400 dark:text-gray-500 text-xs mt-1">3 hours ago</p> | |
| </div> | |
| <div class="w-2 h-2 rounded-full bg-purple-500 mt-1"></div> | |
| </div> | |
| </div> | |
| <!-- Notification 4 --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl p-3 card-shadow"> | |
| <div class="flex items-start space-x-3"> | |
| <div class="w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center text-white"> | |
| <i class="fas fa-map-marker-alt"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h4 class="font-medium">New upload nearby</h4> | |
| <p class="text-gray-500 dark:text-gray-400 text-sm">New photo uploaded 0.5km from your location</p> | |
| <p class="text-gray-400 dark:text-gray-500 text-xs mt-1">1 day ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Profile Tab Content (hidden by default) --> | |
| <div id="profileTab" class="hidden"> | |
| <!-- Profile Header --> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-2xl p-4 card-shadow mb-4"> | |
| <div class="flex flex-col items-center"> | |
| <div class="w-20 h-20 rounded-full bg-purple-500 flex items-center justify-center text-white text-2xl font-bold mb-3"> | |
| U | |
| </div> | |
| <h2 class="font-bold text-xl">User Name</h2> | |
| <p class="text-gray-500 dark:text-gray-400 mb-3">Product Designer</p> | |
| <div class="flex space-x-4 mb-4"> | |
| <div class="text-center"> | |
| <div class="font-bold">142</div> | |
| <div class="text-gray-500 dark:text-gray-400 text-sm">Uploads</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="font-bold">89</div> | |
| <div class="text-gray-500 dark:text-gray-400 text-sm">Following</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="font-bold">256</div> | |
| <div class="text-gray-500 dark:text-gray-400 text-sm">Followers</div> | |
| </div> | |
| </div> | |
| <button class="w-full bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-200 py-2 rounded-lg font-medium"> | |
| Edit Profile | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Profile Tabs --> | |
| <div class="flex overflow-x-auto pb-2 mb-4"> | |
| <div class="flex space-x-1 w-max"> | |
| <button class="profile-tab px-4 py-2 rounded-lg font-medium bg-purple-100 dark:bg-purple-900 text-purple-700 dark:text-purple-300">All</button> | |
| <button class="profile-tab px-4 py-2 rounded-lg font-medium bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700">Images</button> | |
| <button class="profile-tab px-4 py-2 rounded-lg font-medium bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700">Videos</button> | |
| <button class="profile-tab px-4 py-2 rounded-lg font-medium bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700">Docs</button> | |
| <button class="profile-tab px-4 py-2 rounded-lg font-medium bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700">Audio</button> | |
| </div> | |
| </div> | |
| <!-- User Uploads Grid --> | |
| <div class="grid grid-cols-2 gap-3"> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-image text-3xl text-gray-400"></i> | |
| </div> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-video text-3xl text-gray-400"></i> | |
| </div> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-file-pdf text-3xl text-gray-400"></i> | |
| </div> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-microphone text-3xl text-gray-400"></i> | |
| </div> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-image text-3xl text-gray-400"></i> | |
| </div> | |
| <div class="bg-white dark:bg-dark dark:border dark:border-dark rounded-xl aspect-square flex items-center justify-center card-shadow"> | |
| <i class="fas fa-map-marker-alt text-3xl text-gray-400"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Bottom Navigation --> | |
| <nav class="fixed bottom-0 left-0 right-0 bg-white dark:bg-dark dark:border-t dark:border-dark shadow-lg"> | |
| <div class="flex justify-around"> | |
| <button class="tab-btn py-3 px-4 flex flex-col items-center text-purple-600 dark:text-purple-400 tab-active" data-tab="home"> | |
| <i class="fas fa-home text-xl mb-1"></i> | |
| <span class="text-xs">Home</span> | |
| </button> | |
| <button class="tab-btn py-3 px-4 flex flex-col items-center text-gray-500 dark:text-gray-400" data-tab="map"> | |
| <i class="fas fa-map text-xl mb-1"></i> | |
| <span class="text-xs">Map</span> | |
| </button> | |
| <button class="tab-btn py-3 px-4 flex flex-col items-center text-gray-500 dark:text-gray-400" data-tab="upload"> | |
| <i class="fas fa-plus-circle text-xl mb-1"></i> | |
| <span class="text-xs">Upload</span> | |
| </button> | |
| <button class="tab-btn py-3 px-4 flex flex-col items-center text-gray-500 dark:text-gray-400" data-tab="notifications"> | |
| <i class="fas fa-bell text-xl mb-1"></i> | |
| <span class="text-xs">Notifications</span> | |
| </button> | |
| <button class="tab-btn py-3 px-4 flex flex-col items-center text-gray-500 dark:text-gray-400" data-tab="profile"> | |
| <i class="fas fa-user text-xl mb-1"></i> | |
| <span class="text-xs">Profile</span> | |
| </button> | |
| </div> | |
| </nav> | |
| <script> | |
| // Tab Switching | |
| document.querySelectorAll('.tab-btn').forEach(button => { | |
| button.addEventListener('click', () => { | |
| // Remove active class from all buttons | |
| document.querySelectorAll('.tab-btn').forEach(btn => { | |
| btn.classList.remove('text-purple-600', 'dark:text-purple-400', 'tab-active'); | |
| btn.classList.add('text-gray-500', 'dark:text-gray-400'); | |
| }); | |
| // Add active class to clicked button | |
| button.classList.add('text-purple-600', 'dark:text-purple-400', 'tab-active'); | |
| button.classList.remove('text-gray-500', 'dark:text-gray-400'); | |
| // Hide all tabs | |
| document.querySelectorAll('#mainContent > div').forEach(tab => { | |
| tab.classList.add('hidden'); | |
| }); | |
| // Show selected tab | |
| const tabId = button.getAttribute('data-tab') + 'Tab'; | |
| document.getElementById(tabId).classList.remove('hidden'); | |
| }); | |
| }); | |
| // Profile Tab Switching | |
| document.querySelectorAll('.profile-tab').forEach(button => { | |
| button.addEventListener('click', () => { | |
| document.querySelectorAll('.profile-tab').forEach(btn => { | |
| btn.classList.remove('bg-purple-100', 'dark:bg-purple-900', 'text-purple-700', 'dark:text-purple-300'); | |
| btn.classList.add('bg-gray-100', 'dark:bg-gray-800', 'hover:bg-gray-200', 'dark:hover:bg-gray-700'); | |
| }); | |
| button.classList.add('bg-purple-100', 'dark:bg-purple-900', 'text-purple-700', 'dark:text-purple-300'); | |
| button.classList.remove('bg-gray-100', 'dark:bg-gray-800', 'hover:bg-gray-200', 'dark:hover:bg-gray-700'); | |
| }); | |
| }); | |
| // Calendar Day Selection | |
| document.querySelectorAll('.day-item').forEach(day => { | |
| day.addEventListener('click', () => { | |
| document.querySelectorAll('.day-item').forEach(d => { | |
| d.classList.remove('bg-purple-600', 'text-white', 'day-active'); | |
| d.classList.add('bg-white', 'dark:bg-dark', 'dark:border', 'dark:border-dark'); | |
| // Restore weekday color | |
| const weekday = d.querySelector('span:first-child'); | |
| weekday.classList.remove('text-white'); | |
| weekday.classList.add('text-gray-500', 'dark:text-gray-400'); | |
| }); | |
| day.classList.add('bg-purple-600', 'text-white', 'day-active'); | |
| day.classList.remove('bg-white', 'dark:bg-dark', 'dark:border', 'dark:border-dark'); | |
| // Update weekday color | |
| const weekday = day.querySelector('span:first-child'); | |
| weekday.classList.remove('text-gray-500', 'dark:text-gray-400'); | |
| }); | |
| }); | |
| // Country Filter Selection | |
| document.querySelectorAll('.flag-pill').forEach(pill => { | |
| pill.addEventListener('click', () => { | |
| document.querySelectorAll('.flag-pill').forEach(p => { | |
| p.classList.remove('bg-purple-100', 'dark:bg-purple-900'); | |
| }); | |
| pill.classList.add('bg-purple-100', 'dark:bg-purple-900'); | |
| }); | |
| }); | |
| // Dark Mode Toggle | |
| document.getElementById('darkModeToggle').addEventListener('click', () => { | |
| document.body.classList.toggle('dark-mode'); | |
| }); | |
| // Set greeting based on time of day | |
| const hour = new Date().getHours(); | |
| let greeting = 'Hi'; | |
| if (hour < 12) greeting = 'Good morning'; | |
| else if (hour < 18) greeting = 'Good afternoon'; | |
| else greeting = 'Good evening'; | |
| document.getElementById('greeting').textContent = `${greeting}, User 👋`; | |
| </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=Shamnadulpila/nothing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |