FourLabs-UN2's picture
Monte com sidebar e essas cores: colors: {
7a79b89 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeScribe AI - Automated Code Documentation</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<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 = {
theme: {
extend: {
colors: {
primary: '#21223a',
secondary: '#ff580f',
}
}
}
}
</script>
</head>
<body class="bg-gray-50">
<div class="flex h-screen">
<!-- Sidebar -->
<nav-sidebar></nav-sidebar>
<!-- Main Content -->
<main class="flex-1 overflow-auto">
<header-section></header-section>
<!-- Dashboard Content -->
<div class="p-6">
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
<div class="bg-white rounded-xl shadow-sm p-6 border-l-4 border-secondary">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-600">Repositories</p>
<p class="text-2xl font-bold text-primary">12</p>
</div>
<i data-feather="git-branch" class="text-secondary w-8 h-8"></i>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm p-6 border-l-4 border-secondary">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-600">Docs Generated</p>
<p class="text-2xl font-bold text-primary">1,247</p>
</div>
<i data-feather="file-text" class="text-secondary w-8 h-8"></i>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm p-6 border-l-4 border-secondary">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-600">Tests Run</p>
<p class="text-2xl font-bold text-primary">856</p>
</div>
<i data-feather="check-circle" class="text-secondary w-8 h-8"></i>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm p-6 border-l-4 border-secondary">
<div class="flex items-center justify-between">
<div>
<p class="text-sm font-medium text-gray-600">Active Agents</p>
<p class="text-2xl font-bold text-primary">4</p>
</div>
<i data-feather="cpu" class="text-secondary w-8 h-8"></i>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-xl shadow-sm p-6 mb-8">
<div class="flex items-center justify-between mb-6">
<h2 class="text-xl font-bold text-primary">Recent Activity</h2>
<a href="#" class="text-secondary hover:text-primary transition-colors">View All</a>
</div>
<div class="space-y-4">
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-4">
<div class="w-3 h-3 bg-green-500 rounded-full"></div>
<div>
<p class="font-medium text-primary">Documentation Agent</p>
<p class="text-sm text-gray-600">Updated README.md for frontend-app</p>
</div>
</div>
<span class="text-sm text-gray-500">2 minutes ago</span>
</div>
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-4">
<div class="w-3 h-3 bg-blue-500 rounded-full"></div>
<div>
<p class="font-medium text-primary">Test Runner Agent</p>
<p class="text-sm text-gray-600">Ran 42 tests for backend-service</p>
</div>
</div>
<span class="text-sm text-gray-500">15 minutes ago</span>
</div>
<div class="flex items-center justify-between p-4 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-4">
<div class="w-3 h-3 bg-purple-500 rounded-full"></div>
<div>
<p class="font-medium text-primary">Code Review Agent</p>
<p class="text-sm text-gray-600">Reviewed PR #42 for mobile-app</p>
</div>
</div>
<span class="text-sm text-gray-500">1 hour ago</span>
</div>
</div>
</div>
<!-- Agent Status -->
<div class="bg-white rounded-xl shadow-sm p-6">
<h2 class="text-xl font-bold text-primary mb-6">Agent Status</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="border border-gray-200 rounded-lg p-4">
<div class="flex items-center justify-between mb-3">
<h3 class="font-semibold text-primary">Documentation Agent</h3>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
</div>
<p class="text-sm text-gray-600 mb-3">Automatically generates comprehensive documentation for pushed code</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="activity" class="w-4 h-4 mr-1"></i>
<span>Monitoring main branch</span>
</div>
</div>
<div class="border border-gray-200 rounded-lg p-4">
<div class="flex items-center justify-between mb-3">
<h3 class="font-semibold text-primary">Code Review Agent</h3>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
</div>
<p class="text-sm text-gray-600 mb-3">Performs automated code reviews and suggests improvements</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="activity" class="w-4 h-4 mr-1"></i>
<span>Ready for review</span>
</div>
</div>
<div class="border border-gray-200 rounded-lg p-4">
<div class="flex items-center justify-between mb-3">
<h3 class="font-semibold text-primary">Test Runner Agent</h3>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
</div>
<p class="text-sm text-gray-600 mb-3">Executes automated tests and reports results</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="activity" class="w-4 h-4 mr-1"></i>
<span>Test suite ready</span>
</div>
</div>
<div class="border border-gray-200 rounded-lg p-4">
<div class="flex items-center justify-between mb-3">
<h3 class="font-semibold text-primary">Notification Agent</h3>
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Active</span>
</div>
<p class="text-sm text-gray-600 mb-3">Sends notifications and handles deployments</p>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="activity" class="w-4 h-4 mr-1"></i>
<span>Connected to email service</span>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- Component Scripts -->
<script src="components/nav-sidebar.js"></script>
<script src="components/header-section.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>