chore: update genesis timestamp, fix import paths, clean compiled JS files, and adjust mock path - Update devnet genesis timestamp to 1766400877 - Add Receipt model for zk-proof generation with receiptId, miner, coordinator fields - Fix import paths from settings to config across service modules (access_control, audit_logging, encryption, hsm_key_manager, key_management, zk_proofs) - Remove compiled JavaScript files from explorer-web components and lib directories - Update mock data base path
568 lines
18 KiB
HTML
568 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Documentation - AITBC</title>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--primary-color: #2563eb;
|
|
--secondary-color: #1e40af;
|
|
--accent-color: #3b82f6;
|
|
--success-color: #10b981;
|
|
--warning-color: #f59e0b;
|
|
--danger-color: #ef4444;
|
|
--text-dark: #1f2937;
|
|
--text-light: #6b7280;
|
|
--bg-light: #f9fafb;
|
|
--bg-white: #ffffff;
|
|
--border-color: #e5e7eb;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-dark);
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
background: var(--bg-white);
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-dark);
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* Main Content */
|
|
main {
|
|
margin-top: 80px;
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.doc-header {
|
|
text-align: center;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.doc-header h1 {
|
|
font-size: 3.5rem;
|
|
color: var(--text-dark);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.doc-header p {
|
|
font-size: 1.3rem;
|
|
color: var(--text-light);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Search Bar */
|
|
.search-container {
|
|
max-width: 600px;
|
|
margin: 0 auto 4rem;
|
|
position: relative;
|
|
}
|
|
|
|
.search-bar {
|
|
width: 100%;
|
|
padding: 1rem 3rem 1rem 1.5rem;
|
|
font-size: 1.1rem;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 50px;
|
|
outline: none;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.search-bar:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
right: 1.5rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-light);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* Reader Level Cards */
|
|
.reader-levels {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.reader-card {
|
|
background: var(--bg-white);
|
|
border-radius: 15px;
|
|
padding: 2.5rem;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.reader-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 5px;
|
|
}
|
|
|
|
.reader-card.miner::before {
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.reader-card.client::before {
|
|
background: var(--success-color);
|
|
}
|
|
|
|
.reader-card.developer::before {
|
|
background: var(--warning-color);
|
|
}
|
|
|
|
.reader-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 8px 30px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.reader-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 2rem;
|
|
color: white;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.reader-card.miner .reader-icon {
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.reader-card.client .reader-icon {
|
|
background: var(--success-color);
|
|
}
|
|
|
|
.reader-card.developer .reader-icon {
|
|
background: var(--warning-color);
|
|
}
|
|
|
|
.reader-card h3 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.reader-card p {
|
|
color: var(--text-light);
|
|
margin-bottom: 2rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.reader-features {
|
|
list-style: none;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.reader-features li {
|
|
padding: 0.5rem 0;
|
|
color: var(--text-light);
|
|
position: relative;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.reader-features li::before {
|
|
content: "✓";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--success-color);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.reader-card.miner .reader-features li::before {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.reader-card.client .reader-features li::before {
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.reader-card.developer .reader-features li::before {
|
|
color: var(--warning-color);
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
background: var(--primary-color);
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 50px;
|
|
font-weight: 600;
|
|
transition: all 0.3s;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary-color);
|
|
border: 2px solid var(--primary-color);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
}
|
|
|
|
.reader-card.miner .btn {
|
|
background: var(--primary-color);
|
|
}
|
|
|
|
.reader-card.client .btn {
|
|
background: var(--success-color);
|
|
}
|
|
|
|
.reader-card.developer .btn {
|
|
background: var(--warning-color);
|
|
}
|
|
|
|
/* Quick Links */
|
|
.quick-links {
|
|
background: var(--bg-white);
|
|
border-radius: 15px;
|
|
padding: 3rem;
|
|
margin-bottom: 4rem;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.quick-links h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 2rem;
|
|
color: var(--text-dark);
|
|
text-align: center;
|
|
}
|
|
|
|
.links-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.link-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
background: var(--bg-light);
|
|
border-radius: 10px;
|
|
text-decoration: none;
|
|
color: var(--text-dark);
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.link-item:hover {
|
|
background: var(--primary-color);
|
|
color: white;
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.link-item i {
|
|
font-size: 1.5rem;
|
|
margin-right: 1rem;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.link-item:hover i {
|
|
color: white;
|
|
}
|
|
|
|
/* Help Section */
|
|
.help-section {
|
|
text-align: center;
|
|
padding: 3rem;
|
|
background: var(--bg-white);
|
|
border-radius: 15px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.help-section h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.help-section p {
|
|
color: var(--text-light);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.help-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: var(--text-dark);
|
|
color: white;
|
|
padding: 40px 0;
|
|
text-align: center;
|
|
margin-top: 60px;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.doc-header h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.reader-levels {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.help-buttons {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Header -->
|
|
<header>
|
|
<nav class="container">
|
|
<a href="../index.html" class="logo">AITBC</a>
|
|
<ul class="nav-links">
|
|
<li><a href="../index.html">Home</a></li>
|
|
<li><a href="index.html" class="active">Documentation</a></li>
|
|
<li><a href="mailto:aitbc@bubuit.net">Contact</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<!-- Main Content -->
|
|
<main>
|
|
<div class="container">
|
|
<div class="doc-header">
|
|
<h1>Documentation</h1>
|
|
<p>Choose your reader level to access tailored documentation for your needs</p>
|
|
</div>
|
|
|
|
<!-- Search Bar -->
|
|
<div class="search-container">
|
|
<input type="text" class="search-bar" placeholder="Search documentation..." id="searchInput">
|
|
<i class="fas fa-search search-icon"></i>
|
|
</div>
|
|
|
|
<!-- Reader Level Cards -->
|
|
<div class="reader-levels">
|
|
<!-- Miners Card -->
|
|
<div class="reader-card miner">
|
|
<div class="reader-icon">
|
|
<i class="fas fa-pickaxe"></i>
|
|
</div>
|
|
<h3>Miners</h3>
|
|
<p>Learn how to mine AITBC tokens and contribute to network security. Perfect for those looking to earn rewards through staking or providing compute power.</p>
|
|
<ul class="reader-features">
|
|
<li>Mining setup and configuration</li>
|
|
<li>Hardware requirements</li>
|
|
<li>Profit calculations</li>
|
|
<li>Security best practices</li>
|
|
<li>Troubleshooting guide</li>
|
|
</ul>
|
|
<a href="docs-miners.html" class="btn">Miner Documentation</a>
|
|
</div>
|
|
|
|
<!-- Clients Card -->
|
|
<div class="reader-card client">
|
|
<div class="reader-icon">
|
|
<i class="fas fa-users"></i>
|
|
</div>
|
|
<h3>Clients</h3>
|
|
<p>Use AITBC for your AI/ML workloads with privacy and verifiable computation. Ideal for businesses and developers using AI services.</p>
|
|
<ul class="reader-features">
|
|
<li>Quick start guide</li>
|
|
<li>API and SDK documentation</li>
|
|
<li>Use case examples</li>
|
|
<li>Pricing information</li>
|
|
<li>Privacy & security features</li>
|
|
</ul>
|
|
<a href="docs-clients.html" class="btn">Client Documentation</a>
|
|
</div>
|
|
|
|
<!-- Developers Card -->
|
|
<div class="reader-card developer">
|
|
<div class="reader-icon">
|
|
<i class="fas fa-code"></i>
|
|
</div>
|
|
<h3>Developers</h3>
|
|
<p>Build on AITBC and contribute to the protocol. Designed for developers wanting to extend the platform or integrate with it.</p>
|
|
<ul class="reader-features">
|
|
<li>Development setup</li>
|
|
<li>Contribution guidelines</li>
|
|
<li>API reference</li>
|
|
<li>Bounty programs</li>
|
|
<li>Community resources</li>
|
|
</ul>
|
|
<a href="docs-developers.html" class="btn">Developer Documentation</a>
|
|
</div>
|
|
|
|
<!-- Full Documentation Card -->
|
|
<div class="reader-card">
|
|
<div class="reader-icon">
|
|
<i class="fas fa-book"></i>
|
|
</div>
|
|
<h3>Full Documentation</h3>
|
|
<p>Complete technical documentation covering all aspects of the AITBC platform including architecture, APIs, deployment, and advanced features.</p>
|
|
<ul class="reader-features">
|
|
<li>Architecture overview</li>
|
|
<li>Complete API reference</li>
|
|
<li>Deployment guides</li>
|
|
<li>Security documentation</li>
|
|
<li>Advanced configurations</li>
|
|
</ul>
|
|
<a href="../full-documentation.html" class="btn">View Full Documentation</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Quick Links -->
|
|
<section class="quick-links">
|
|
<h2>Quick Links</h2>
|
|
<div class="links-grid">
|
|
<a href="../full-documentation.html" class="link-item">
|
|
<i class="fas fa-book"></i>
|
|
<span>Full Documentation</span>
|
|
</a>
|
|
<a href="https://gitea.bubuit.net/oib/aitbc" class="link-item">
|
|
<i class="fab fa-git-alt"></i>
|
|
<span>Source Code</span>
|
|
</a>
|
|
<a href="https://discord.gg/aitbc" class="link-item">
|
|
<i class="fab fa-discord"></i>
|
|
<span>Community</span>
|
|
</a>
|
|
<a href="mailto:support@aitbc.io" class="link-item">
|
|
<i class="fas fa-envelope"></i>
|
|
<span>Support</span>
|
|
</a>
|
|
<a href="#" class="link-item">
|
|
<i class="fas fa-graduation-cap"></i>
|
|
<span>Tutorials</span>
|
|
</a>
|
|
<a href="#" class="link-item">
|
|
<i class="fas fa-video"></i>
|
|
<span>Video Guides</span>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Help Section -->
|
|
<section class="help-section">
|
|
<h2>Need Help?</h2>
|
|
<p>Can't find what you're looking for? Our community is here to help!</p>
|
|
<div class="help-buttons">
|
|
<a href="https://discord.gg/aitbc" class="btn">
|
|
<i class="fab fa-discord"></i> Join Discord
|
|
</a>
|
|
<a href="mailto:support@aitbc.io" class="btn btn-outline">
|
|
<i class="fas fa-envelope"></i> Email Support
|
|
</a>
|
|
<a href="#" class="btn btn-outline">
|
|
<i class="fas fa-comments"></i> Live Chat
|
|
</a>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer>
|
|
<div class="container">
|
|
<p>© 2025 AITBC. All rights reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
// Search functionality
|
|
document.getElementById('searchInput').addEventListener('keypress', function(e) {
|
|
if (e.key === 'Enter') {
|
|
const searchTerm = e.target.value.toLowerCase();
|
|
if (searchTerm) {
|
|
// Simple search logic - in real implementation, this would search actual docs
|
|
alert(`Searching for: ${searchTerm}\n\nIn a full implementation, this would search through all documentation pages and show relevant results.`);
|
|
}
|
|
}
|
|
});
|
|
|
|
// Add some interactivity
|
|
document.querySelectorAll('.reader-card').forEach(card => {
|
|
card.addEventListener('mouseenter', function() {
|
|
this.style.cursor = 'pointer';
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|