| <!DOCTYPE html> |
| <html lang="en" class="dark"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>InkScribe | Dark Author Dashboard</title> |
| <link rel="stylesheet" href="style.css"> |
| <script src="https://cdn.tailwindcss.com"></script> |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
| <script src="https://unpkg.com/feather-icons"></script> |
| <script> |
| tailwind.config = { |
| darkMode: 'class', |
| theme: { |
| extend: { |
| colors: { |
| primary: { |
| 500: '#ef4444', |
| 600: '#dc2626', |
| }, |
| secondary: { |
| 500: '#000000', |
| 600: '#111111', |
| } |
| } |
| } |
| } |
| } |
| </script> |
| </head> |
| <body class="bg-secondary-600 text-gray-100 min-h-screen"> |
| <custom-navbar></custom-navbar> |
| |
| <main class="container mx-auto px-4 py-8"> |
| <div class="grid grid-cols-1 lg:grid-cols-4 gap-6"> |
| |
| <custom-sidebar></custom-sidebar> |
| |
| |
| <div class="lg:col-span-3 space-y-6"> |
| <section class="bg-secondary-500 rounded-xl p-6 shadow-lg"> |
| <div class="flex items-center justify-between mb-6"> |
| <h2 class="text-2xl font-bold text-primary-500"> |
| <i data-feather="activity" class="mr-2"></i> |
| Dashboard Overview |
| </h2> |
| <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg flex items-center transition"> |
| <i data-feather="plus" class="mr-2"></i> |
| New Book |
| </button> |
| </div> |
| |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6"> |
| <div class="bg-secondary-400 p-4 rounded-lg border-l-4 border-primary-500"> |
| <h3 class="text-gray-300 text-sm">Total Books</h3> |
| <p class="text-2xl font-bold">12</p> |
| </div> |
| <div class="bg-secondary-400 p-4 rounded-lg border-l-4 border-primary-500"> |
| <h3 class="text-gray-300 text-sm">Monthly Sales</h3> |
| <p class="text-2xl font-bold">₹42,857</p> |
| </div> |
| <div class="bg-secondary-400 p-4 rounded-lg border-l-4 border-primary-500"> |
| <h3 class="text-gray-300 text-sm">Readers</h3> |
| <p class="text-2xl font-bold">1,234</p> |
| </div> |
| </div> |
| |
| <div class="bg-secondary-400 p-4 rounded-lg h-64"> |
| |
| <div class="text-center py-10 text-gray-400"> |
| <i data-feather="bar-chart-2" class="w-12 h-12 mx-auto"></i> |
| <p>Sales Analytics Chart</p> |
| </div> |
| </div> |
| </section> |
| <section class="bg-secondary-500 rounded-xl p-6 shadow-lg"> |
| <h2 class="text-2xl font-bold text-primary-500 mb-6"> |
| <i data-feather="trending-up" class="mr-2"></i> |
| Performance Overview |
| </h2> |
| |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-8"> |
| <div class="engagement-metric bg-secondary-400 p-4 rounded-lg"> |
| <div class="flex items-center justify-between"> |
| <div> |
| <div class="text-sm text-gray-400">Followers</div> |
| <div class="text-2xl font-bold">42.8K</div> |
| </div> |
| <div class="text-green-500 flex items-center"> |
| <i data-feather="arrow-up" class="w-4 h-4 mr-1"></i> |
| <span class="text-xs">12%</span> |
| </div> |
| </div> |
| </div> |
| <div class="engagement-metric bg-secondary-400 p-4 rounded-lg"> |
| <div class="flex items-center justify-between"> |
| <div> |
| <div class="text-sm text-gray-400">Engagement</div> |
| <div class="text-2xl font-bold">8.2%</div> |
| </div> |
| <div class="text-green-500 flex items-center"> |
| <i data-feather="arrow-up" class="w-4 h-4 mr-1"></i> |
| <span class="text-xs">3%</span> |
| </div> |
| </div> |
| </div> |
| <div class="engagement-metric bg-secondary-400 p-4 rounded-lg"> |
| <div class="flex items-center justify-between"> |
| <div> |
| <div class="text-sm text-gray-400">Impressions</div> |
| <div class="text-2xl font-bold">1.2M</div> |
| </div> |
| <div class="text-green-500 flex items-center"> |
| <i data-feather="arrow-up" class="w-4 h-4 mr-1"></i> |
| <span class="text-xs">24%</span> |
| </div> |
| </div> |
| </div> |
| <div class="engagement-metric bg-secondary-400 p-4 rounded-lg"> |
| <div class="flex items-center justify-between"> |
| <div> |
| <div class="text-sm text-gray-400">Revenue</div> |
| <div class="text-2xl font-bold">$3,428</div> |
| </div> |
| <div class="text-green-500 flex items-center"> |
| <i data-feather="arrow-up" class="w-4 h-4 mr-1"></i> |
| <span class="text-xs">7%</span> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <h3 class="text-xl font-semibold mb-4">Recent Content</h3> |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-4"> |
| <post-card> |
| <div slot="header" class="flex items-center space-x-3"> |
| <div class="w-10 h-10 rounded-full bg-red-500"></div> |
| <div> |
| <div class="font-medium">Your Page</div> |
| <div class="text-xs text-gray-400">Sponsored Post</div> |
| </div> |
| </div> |
| <div slot="content"> |
| <p class="mb-3">Check out our latest product launch! Limited time offer for our top followers.</p> |
| <img src="http://static.photos/technology/640x360/42" alt="Product" class="rounded-lg w-full h-48 object-cover"> |
| </div> |
| </post-card> |
| <post-card> |
| <div slot="header" class="flex items-center space-x-3"> |
| <div class="w-10 h-10 rounded-full bg-blue-500"></div> |
| <div> |
| <div class="font-medium">Your Page</div> |
| <div class="text-xs text-gray-400">Organic Post</div> |
| </div> |
| </div> |
| <div slot="content"> |
| <p>Behind the scenes of our creative process. What do you think about our new direction?</p> |
| </div> |
| </post-card> |
| </div> |
| </section> |
| </div> |
| </div> |
| </main> |
| <script src="components/navbar.js"></script> |
| <script src="components/sidebar.js"></script> |
| <script src="components/post-card.js"></script> |
| <script src="script.js"></script> |
| <script>feather.replace();</script> |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> |
| </body> |
| </html> |